PDA

View Full Version : C4D or VRay material for glas?


Robert Glotzbach
07-11-2007, 11:40 AM
Hello all,



I’m trying to make a nice glass material for a table.
One off the difficulties that I’m encountering are the edges of the glass.
Usually when you look at the sides where the glass is cutted (and polished) you will see trough the mass of the glass and it will appear darker.
There is no way I can get the sides of the glass right, I tried experimenting with fog in the material without any luck.

So my question is: Is there any way I can get this right (I try to avoid making a separate material for the sides) with a C4D material, or will I achieve better results with Vray and should I wait for it to be available for C4D?

The little picture is from a tutorial for Vray, its on evermotion, strangely enough they use “fog” there also. I guess the darker sides are like that because of the “fog”?


Thanks, Robert

pzdm
07-11-2007, 11:43 AM
Hello all,



I’m trying to make a nice glass material for a table.
One off the difficulties that I’m encountering are the edges of the glass.
Usually when you look at the sides where the glass is cutted (and polished) you will see trough the mass of the glass and it will appear darker.
There is no way I can get the sides of the glass right, I tried experimenting with fog in the material without any luck.

So my question is: Is there any way I can get this right (I try to avoid making a separate material for the sides) with a C4D material, or will I achieve better results with Vray and should I wait for it to be available for C4D?

The little picture is from a tutorial for Vray, its on evermotion, strangely enough they use “fog” there also. I guess the darker sides are like that because of the “fog”?


Thanks, Robert

Hi there, I allways reduce a Phong shading angle in this case.... This settings help me with "thikness" of glass plane...

simple and old example...

http://www.3dsoftware.cz/upload/download3d/352/stolek.jpg

lllab
07-11-2007, 01:01 PM
fog in vray is called a bit strange in the maxversion, actually they mean volume.
this feature is not available in AR without plugins.

vray has volume effects for glas, fluids etc. so on thicker parts it gets less transparent, like real glas. in vrayforc4d we call it volume, which should be more clear.

for c4d/ar i think arndt has such a plugin to mimick that effect.

cheers
stefan

franz78
07-11-2007, 01:14 PM
Hi robert,
in Ar the solution for this problem is using Banji Volume Shader.
This shader have the volume control and different opacity for front back and side of object, praticaly an advanced fresnel support on reflection and transparency.
in plus you can take any advantage with model a strigth fillet with one segment for all he
Ciao
Franz

Mike Abbott
07-11-2007, 01:43 PM
While I agree with the 'correct' way to do this (volume shader etc), there's another crude, but effective, way:

Simply select the edge polygons of your glass sheet and apply a darker version of the glass material to those using a selection set.

Mike Abbott

SteveB
07-11-2007, 03:42 PM
Tried using the fresnel tick box in the transparency shader of the material?

Usually does the trick for me.

Steve

Robert Glotzbach
07-11-2007, 07:50 PM
Gentlemen thank you for the good help.

Pavel, your trick seems to help only when the light is coming not from the sides that are supposed to be darker, in my case there is a lot of light coming from the front and the sides. Decreasing the “phong angle” has actually an opposite effect.


Stefan, this is actually what I was hoping for, although now that I think about it, I wonder if the darker sides of a glass panel are only the results of mass. Probably internal reflections are involved too? O man,…….. this asks for a scientific approach. A possible shader from Arndt I could not find on his site.


Franz, I actually started to experiment with “Banj”. When I realized that I was missing the possibility to use Fresnel in the “Transparancy” and “Reflections” channels I decided to use a standard material.


Mike, I was considering using another material for the sides, but if possible I would go with a more sophisticated solution.


Steve, your suggestion did indeed the trick, although some strange reflections are appearing on the sides (see picture), I wil experiment further to improve upon it.

Lets see when Steve and his team will be doing there magical trick, maybe the “volume” option that Steve mentioned would be more helpful.


Thanks again all for your help.

Kind regards, Robert

CGTalk Moderation
07-11-2007, 07:50 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.