How to set transparency ?

Announcements, requests and support regarding the 3DS MAX exporter
Post Reply
10 posts • Page 1 of 1
temo
Posts: 2
Joined: Sat Feb 24, 2007 4:50 am

How to set transparency ?

Post by temo » Sat Feb 24, 2007 4:52 am

How to set the and adjust transparency to make someting half transparent ?

User avatar
filippo
Posts: 658
Joined: Sat Aug 05, 2006 8:46 pm
Location: italia(senigallia-an)
Contact:

Post by filippo » Mon Feb 26, 2007 7:48 pm

you can turn off and turn on the trasparency whit the box option in indigo glass material, and you can set the trsparency to set the distersion and index of ref.
filippo
2x Xeon quad core ghz 2.66(8 core)+4g ram+quadro fx
2 x Xeon Quad 5540 (16 core)+16GB ram+ Nvidia GTX 295 1800mb

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Mon Feb 26, 2007 11:49 pm

if you use a 0.7 test version you could make a blend material. (for example: 50% glass + 50% diffuse)

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Tue Feb 27, 2007 1:38 am

manitwo wrote:if you use a 0.7 test version you could make a blend material. (for example: 50% glass + 50% diffuse)
Doest it really work? I mean, have you tested it and can you confirm it works? The thing is, that every time i use medium material in blend, then i get sooooo messed up rendering. I thought, that blend doesn't work with medium and sss materials.

Suvakas

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Tue Feb 27, 2007 2:00 am

suvakas wrote:
manitwo wrote:if you use a 0.7 test version you could make a blend material. (for example: 50% glass + 50% diffuse)
Doest it really work? I mean, have you tested it and can you confirm it works? The thing is, that every time i use medium material in blend, then i get sooooo messed up rendering. I thought, that blend doesn't work with medium and sss materials.

Suvakas
hmm ... youre right. thought it would work. sorry

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Tue Feb 27, 2007 2:05 am

manitwo wrote: hmm ... youre right. thought it would work. sorry
Gotcha! No problem!
Medium/SSS in Blend could be really great. Sad that it doesn't work :cry:

Suvakas

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

Post by OnoSendai » Tue Feb 27, 2007 2:08 am

Yeah.. blending transparent stuff (stuff that uses a medium) probably doesn't work. will fix soon :)

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

Post by neepneep » Tue Feb 27, 2007 2:11 am

^^ I thought it did work:

eg.

Code: Select all

		<medium>
		<name>Plastic</name>
		<precedence>50</precedence>
		<basic>
			<ior>1.4</ior>
			<cauchy_b_coeff>0</cauchy_b_coeff>
			<absorption_coefficient_spectrum>
				<rgb>
					<rgb>10 10 10</rgb>
				</rgb>
			</absorption_coefficient_spectrum>
			<subsurface_scattering>
				<scattering_coefficient_spectrum>
					<uniform>
						<value>30</value>
					</uniform>
				</scattering_coefficient_spectrum>
				<phase_function>
					<uniform/>
				</phase_function>
			</subsurface_scattering>
		</basic>
	</medium>
	<material>
		<name>Plastic</name>
		<specular>
			<transparent>true</transparent>
		internal_medium_name>Plastic</internal_medium_name>
		</specular>
	</material>

	<material>
		<name>White</name>
		<diffuse>
			<colour>0.975 0.975 0.975</colour>
		</diffuse>
	</material>

	<material>
		<name>PlasticBlend</name>
		<blend>
			<a_name>White</a_name>
			<b_name>Plastic</b_name>
			<blend_factor>0.85</blend_factor>
		</blend>
	</material>
edit: but then again...I notice the scene really goes weird when using reinhard tonemapping.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Tue Feb 27, 2007 3:31 am

Therefore, you can use violet ;)
btw... what's with yellow?

User avatar
filippo
Posts: 658
Joined: Sat Aug 05, 2006 8:46 pm
Location: italia(senigallia-an)
Contact:

Post by filippo » Tue Feb 27, 2007 3:31 am

manitwo wrote:if you use a 0.7 test version you could make a blend material. (for example: 50% glass + 50% diffuse)
indigo 0.7 for 3ds max it's ready?
filippo
2x Xeon quad core ghz 2.66(8 core)+4g ram+quadro fx
2 x Xeon Quad 5540 (16 core)+16GB ram+ Nvidia GTX 295 1800mb

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 25 guests