Newbie question about trasparency

General questions about Indigo, the scene format, rendering etc...
Post Reply
8 posts • Page 1 of 1
User avatar
kepler
Posts: 122
Joined: Wed Jan 17, 2007 3:18 am
Location: Italy

Newbie question about trasparency

Post by kepler » Wed Jan 31, 2007 1:11 am

Hello, I can't figure out how can I render a semi-transparent material such as that of a lamp. See the image above:


Image


It's a matter of IOR? :?
Sorry for the dumb question but I'm a very new user of Indigo (I'm using 0.6 version and Blender).

User avatar
Kosmokrator
Posts: 1141
Joined: Sat Jul 29, 2006 11:52 am
Location: Greece-Athens

Post by Kosmokrator » Wed Jan 31, 2007 1:38 am

sorry my friend but with indigo 0.6 you cant simulate semi transparent materials or SSS like effects...try with 0.7 test 3.... :wink:
1)Core i7 965XE stock CLOCK ,PSU:CHIEFTEC 850W
M/B ASUS P6T DELUXE,WATERCOOLING ZALMAN RESERATOR 2
MEMORY:6GB CORRSAIR @1600,Ati HD 4870x2,
MONITOR:LG 1950SQ,CASE:THERMALTAKE SOPRANO

User avatar
kepler
Posts: 122
Joined: Wed Jan 17, 2007 3:18 am
Location: Italy

Post by kepler » Wed Jan 31, 2007 3:57 am

Kosmokrator wrote:sorry my friend but with indigo 0.6 you cant simulate semi transparent materials or SSS like effects...try with 0.7 test 3.... :wink:
Thank you... And sorry for the stupid question! :D

User avatar
Kosmokrator
Posts: 1141
Joined: Sat Jul 29, 2006 11:52 am
Location: Greece-Athens

Post by Kosmokrator » Wed Jan 31, 2007 4:24 am

:wink: come on u are wellcome!!!That is the purpos of indigo comunity...helping each other! bye
1)Core i7 965XE stock CLOCK ,PSU:CHIEFTEC 850W
M/B ASUS P6T DELUXE,WATERCOOLING ZALMAN RESERATOR 2
MEMORY:6GB CORRSAIR @1600,Ati HD 4870x2,
MONITOR:LG 1950SQ,CASE:THERMALTAKE SOPRANO

User avatar
drBouvierLeduc
Posts: 412
Joined: Wed Oct 11, 2006 2:32 am
Location: france

Post by drBouvierLeduc » Wed Jan 31, 2007 5:10 am

Maybe you can try that :

Use a standard glass material like this (sorry poor quality) :
Image

Then put this texture on it, as a bump map. :
Image


And you get something like this :
Image

If you tweak the settings a little (specularity must be 0), I'm sure you can have a material close to the picture you posted.

(another example)
Image

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Post by neepneep » Fri Feb 02, 2007 10:38 am

Why can't I apply bump maps to glass???

For example:

Code: Select all

<medium>
		<name>Material.scatter</name>

		<ior>1.350</ior>
		<cauchy_b_coeff>0.000</cauchy_b_coeff>
		<precedence>10</precedence>

		<absorption_coefficient_spectrum>
				<uniform>
					<value>0.5</value>
				</uniform>
		</absorption_coefficient_spectrum>

	</medium>

	<material>
		<name>Material</name>

		<glossy_transparent>
			<exponent>500.000</exponent>
			<internal_medium_name>Material.scatter</internal_medium_name>
		</glossy_transparent>
		
		<bump_map>
			<uv_set>uv</uv_set>
			<path>Glassbump.jpg</path>
			<b>0.1</b>
			<exponent>1.000000</exponent>
		</bump_map>
	</material>
I get the message:
SceneLoaderExcep: Found unexpected element 'bump_map' in element 'material'.
I tried making it a transparent specular material as well and same prob....

What in the name of f'ing Krishna am I doing wrong ???

User avatar
kepler
Posts: 122
Joined: Wed Jan 17, 2007 3:18 am
Location: Italy

Post by kepler » Fri Feb 02, 2007 9:02 pm

Thank you, drBouvierLeduc! I will try that as soon as I can! :D

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Fri Feb 02, 2007 9:52 pm

neepneep, the <bump_map> tag has to be a child the material type definition, not of the tag <material> itself. If you refer to the doc, it is the child of the <diffuse> tag:

Code: Select all

<material>

	<diffuse>

			<colour>0.8 0.8 0.8</colour>
		
			<albedo_texture>
					<uv_set>albedo</uv_set>
					<path>checker.jpg</path>
					<exponent>2.2</exponent>
			</albedo_texture>
		
			<bump_map>
					<uv_set>bump</uv_set>
					<path>bump_map.jpg</path>
					<b>0.0001</b>
					<exponent>1.0</exponent>
			</bump_map>
		
   </diffuse>

<material>
The fact is that I don't know if <glossy_transparent> supports bump mapping yet, but you may discover that quickly my friend ;)

A rule of thumb is to remove what's unexpected and add what's expected by Indigo, as I said somewhere else you can trust it :)

Post Reply
8 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 46 guests