Tests with painting on glass

General questions about Indigo, the scene format, rendering etc...
tony
Posts: 78
Joined: Fri May 02, 2008 11:41 am

Post by tony » Sun Jul 20, 2008 9:38 pm

Thanks Bb:

Simplicity and beauty.

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Tue Jul 22, 2008 3:37 pm

Thanks man!

sugokuGENKI
Posts: 16
Joined: Sun Jul 20, 2008 5:05 am

Post by sugokuGENKI » Wed Jul 23, 2008 4:07 am

Is it possible to blend an RGB light with another material using this method?
So you could "etch" a light emitting material onto glass?

Sorry if this is a n00b question. i'm a skindigo person so i like my bread buttered for me!

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Wed Jul 23, 2008 4:18 am

It should be possible with Indigo 1.1.6.
But it's just me talking out of my XXX since there are no exporters yet and therefore no way for tech idiots like me to test it.
Perhaps one of the XML scribblers, or even the man himself, can enlighten us.

(By the way, why on earth would you want to do this?)

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Jul 23, 2008 4:21 am

Sure, you could do that in 1.1.6

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Wed Jul 23, 2008 4:23 am

Man, I'd like to be able to use this baby in the not-too-distant future!

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Post by StompinTom » Wed Jul 23, 2008 4:32 am

BbB wrote: (By the way, why on earth would you want to do this?)
why not! you can do anything these days with synthetic materials n such. from translucent concrete to light emitting paint, architectural materials have progressed a wee bit beyond the ol wood n stone!

a man can dream cant he? ;)

sugokuGENKI
Posts: 16
Joined: Sun Jul 20, 2008 5:05 am

Post by sugokuGENKI » Wed Jul 23, 2008 5:06 am

i'm trying to emulate video projections onto translucent surfaces (without having to make a complete projector in indigo!)

i'll look into blend with 1.1.6. thanks onosendai! (btw, did you make your eye in indigo? or is that just what happens in the real world when you become master of the realm of the photons?)

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Jul 23, 2008 5:12 am

The eye is a photo off DeviantArt somewhere :)

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Thu Jul 24, 2008 1:07 pm

Im just curious.. The pigm came with an image. WHere do I put it in skindigo? Under the clipmap?

sugokuGENKI
Posts: 16
Joined: Sun Jul 20, 2008 5:05 am

Post by sugokuGENKI » Fri Jul 25, 2008 3:44 am

so how do I go about setting a material to emit light?
i'd like to blend a light emitting material with a null material using an imagemask.

sugokuGENKI
Posts: 16
Joined: Sun Jul 20, 2008 5:05 am

Post by sugokuGENKI » Fri Jul 25, 2008 4:51 am

found what i was looking for:

Code: Select all

<material>
		<name>white</name>
		
		<diffuse>
			<colour>0.7 0.7 0.7</colour>
			<base_emission>
				<constant>
					<rgb>
						<rgb>
							2000000000 2000000000 2000000000
						</rgb>
						<gamma>1</gamma>
					</rgb>
				</constant>
			</base_emission>						
		</diffuse>
	</material>

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Sun Jul 27, 2008 4:45 pm

Can you replace the rose pattern with any other b&w image and it will still work?

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Post by Borgleader » Sun Jul 27, 2008 4:50 pm

Why not try?

User avatar
OnoSendai
Developer
Posts: 6241
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Mon Jul 28, 2008 7:10 am

Here's another etched glass material using BbB's texture:

Code: Select all

	<medium>
		<name>glass</name>

		<precedence>10</precedence>
		<basic>
			<ior>1.5</ior>
			<cauchy_b_coeff>0.0</cauchy_b_coeff>
			<absorption_coefficient_spectrum>
				<uniform>
					<value>0</value>
				</uniform>
			</absorption_coefficient_spectrum>
		</basic>
	</medium>


	<material>
		<name>smooth_glass</name>

		<specular>
			<transparent>true</transparent>
			<internal_medium_name>glass</internal_medium_name>
		</specular>
	</material>

	
	<material>
		<name>frosted_glass</name>

		<glossy_transparent>
			<internal_medium_name>glass</internal_medium_name>

			<exponent>
				<constant>
					30
				</constant>
			</exponent>
		</glossy_transparent>
	</material>


	<material>
		<name>main_mat</name>

		<blend>
			<a_name>frosted_glass</a_name>
			<b_name>smooth_glass</b_name>
			<step_blend>true</step_blend>
			
			<texture>
				<path>blackrose_pattern.jpg</path>
				<exponent>2.2</exponent>
				<uv_set>default</uv_set>
			</texture>

			<blend>
				<texture>
					<texture_index>0</texture_index>
				</texture>
			</blend>
		</blend>
	</material>
.

The glass should really have some absorption.
Attachments
etched.jpg
etched.jpg (168.93 KiB) Viewed 2384 times

Post Reply
55 posts

Who is online

Users browsing this forum: Majestic-12 [Bot] and 19 guests