PDA

View Full Version : Yafray Glass


Chris
03-16-2003, 11:20 PM
I guess we can post Yafray questions here too, I imagine there will be a few yafray users around here...

I've just been getting to grips with Blender & Yafray, I've been trying to create a convincing glass material (blue-tinted glass in this case) I've not go it looking too bad, but caustics are presenting a problem. For some reason the caustics seem to not 'get through' - I'm beginning to wonder if its because the floor is slightly reflective. I've been offered some advice to shoot more photons, & lower the fixed radius etc etc. but nothing seems to work. Increasing the power of the photon emitter just seems to make the insides of the glass brighter...

Anyway, heres how the renders have come out, I'm aiming to get some caustic action happening in the glass's shadow: (You may have to copy & paste the URL - if that still doesnt work, try putting a space after the url in the address line & hit enter)

http://www.froot.netfirms.com/images/glass-test.jpg

you can have a look at the .blend file here:

http://www.froot.netfirms.com/images/glass-test.rar

Apollux
03-16-2003, 11:39 PM
I am not (yet) a yafray user, but I guess that a picture of your final render from yafray would help a lot.

Also, here on the texturing forum there is a question on the same subject (blue tinted glass) and Leigh gave some insides on how to make it look good.

http://www.cgtalk.com/showthread.php?s=&threadid=12299

dani
03-17-2003, 12:00 AM
Photon lamps can shoot exclusively either diffuse phtons (for color bleeding) or caustic photons. In yable you must choose "caustics" and complete the lightset with another lamp cause these lamps only shoot photons, they are not made to enligten all the scene.

To get a blue glass... herm how did I dooo....
i think you must put color to black and switch the transmitted color to bleuish...
The reflected color shouldn't be very high, and i wouldn't touch the max-refl value.

I'm not too sure so I'll confirm during the week... unless some yafray dude passes around here.

www.yafray.org (they've got forums too, try to ask your question there if you still cannot acheive your glass)

Dani

PS, BTW, chris you're server doesn't allow direct linking...

Chris
03-17-2003, 12:23 AM
Thanks guys, I've got the glass not looking too bad, its just the lack of caustics thats puzzling. I've got the photon emitter set to caustic, everything seems right - its bizarre.

to see the image, try clicking on this:

http://www.froot.netfirms.com/images/glass-test.jpg

when it comes up with an error message, go to the address bar, add a space after the url & hit enter, that should load the image...

Apollux
03-17-2003, 03:02 AM
Your picture got me hooked :p

It is difficult to get on the Yafray wagon? I mean, for someone without experience with external renderers. (I worked with a lot of RayTracying with TrueSpace 1.xx, but that was centuries ago)

Chris
03-17-2003, 06:45 AM
aaaw Crap!! I just wrote a hefty 'how to get Yafray working' message & then accidently tapped this *&%#@@@ back button on this (**&%$ mouse!! :annoyed:

Yafray is not that hard to get to grips with. You need Yafray, the Yable script, & a little patience. Give it a go & if you run into any hassles, post some questions. It took me a bit of tweaking to get going, but its well worth it! :thumbsup:

CGTalk Moderation
01-14-2006, 05:00 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.