PDA

View Full Version : help with glass and liquid


Moocat
11-21-2005, 02:23 AM
okay i've got a scene where i have a realflow imported mesh. its all cached on my computer, so you won't be able to see the mesh on your computer. i want to get a texture on this realflow mesh that will make it look like an actual liquid, for instance like water or whiskey.
my other problem is that i cannot get my glass to work correctly. for some reason, when the glass has both an outer wall and inner wall (thickness), it has some strange problems, it shows the transparency and refraction for each polygon, as if they weren't smoothed. when i delete the inner polygon wall, it looks realistic, except you can tell that the glass is infinitely thin. someone please take a look at it and let me know what i can do to fix this. it also isn't casting a shadow at all, which is pissing me off the most
please let me know what i can do to fix this! i'm trying to make it look like a liquid is being poured into the glass. i assume the problem is with my materials, but i just can't figure it out at ALL. pleasepleaseplease help. scene attached.

thank you,
~matt

Tiziano
11-21-2005, 03:55 AM
You might try here for water and glass shaders (textures):
http://maxon.net/~deepshade/

I included a glass and a water (2) shader in the file for you to try as well.

I turned on the shadow (soft) option for your light.

I put the glass under a HyperNURBS object. It smoothed it out.

Moocat
11-21-2005, 03:57 AM
awesome, thanks alot! i've been looking for an answer for several hours :x
one problem: u used a plugin called 'transparent' which i don't have... and it gave a strange error. where do i get the plugin?

Tiziano
11-21-2005, 04:04 AM
Oooops, sorry about that. It's Vreel's Translucent Pro:
http://www.vreel-3d.de/

There are other water shaders out there if you don't want to buy the plug. It's pretty good though :D

Water (and glass mostly) is all about what surrounds it. IE, reflects off it and refracts through it.

Moocat
11-21-2005, 04:10 AM
ack after buying books this semester i can't afford a new plugin unfortunately. is there a solution that can be achieved without using a plugin? i've looked at alot of free shaders, but i haven't found any glass ones that actually satisfy and get a realistic look. i am using hdri, so they should have a decent environment to reflect.

Tiziano
11-21-2005, 04:22 AM
Water Shaders:
http://maxon.net/~deepshade/shader/shaders/water/ix_wat1.html

Glass Shaders:
http://maxon.net/~deepshade/shader/shaders/mineral/347/347.html
http://maxon.net/~deepshade/shader/shaders/mineral/106/106.html
http://maxon.net/~deepshade/shader/shaders/mineral/103/103.html

Moocat
11-21-2005, 04:24 AM
the glass mat is now casting a shadow. i used this tutorial originally to make the material ;)
http://members.shaw.ca/jimht03/glass.html
from what has rendered so far, the shadow is coming out as a pure black shadow. any idea how to make it cast a shadow like a glass would (kind of like an outline where the shadow is mainly at the edges and fades down to no shadow in the center

Tiziano
11-21-2005, 04:39 AM
Click on the Light object in the Object Manager (OM).
Then, in the Attribute Manager (AM) click on 'Shadow.'
Once there, click on the 'Transparency' checkbox.

Updated file attached :D

You might know all this already but here's a pretty good tute dealing with both RF3 and C4d:
http://www.fusioncis.com/exchange/exchange01.html

Moocat
11-21-2005, 04:41 AM
ah thank ya
silly me shoulda thought of that!
my hat is off to you, for saving me hours of feeling retarded for not being able to figure this out! ;)

Tiziano
11-21-2005, 04:43 AM
Good luck. :thumbsup:

steve-o
11-21-2005, 11:15 AM
tiziano that water in sphere test u did did, was that RF or all cinema? if it was all cinema is there a tut to make that? if it is RF forget i can't afford it...lol...if its the one im thinking of that is.

Moocat
11-21-2005, 12:55 PM
it was RealFlow and cinema. there's a free demo on the nextlimit site, full featured until after 15 days, then it works for 10 min at a time.

Tiziano
11-21-2005, 01:55 PM
it was RealFlow and cinema. there's a free demo on the nextlimit site, full featured until after 15 days, then it works for 10 min at a time.

Yup, RF3 and C4d.

Moocat
11-21-2005, 04:11 PM
realflow's pretty amazing ain't it.. i have so much fun using it, but once i make my mesh after a few hours, ugh the rendering takes for*ever* lol ... but its worth it for the end result i spose ;)

CGTalk Moderation
11-21-2005, 04:11 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.