PDA

View Full Version : VPR + caustics



souzou
01-02-2012, 06:13 AM
Hi guys,

Just wondering if anyone might be able to help with this. I've created this belljar but there's a big disparity between what VPR is showing for the glass surface and my F9 render. Surface is just a dielectric node. The thing is I really prefer how it looks in VPR so any pointers to how I can get that look in my F9 render would be really appreciated!! :help:

Render settings are MC radiosity 3-bounces with everything on except Directional Rays and Use Bumps.

Thanks,
Matt

MarcusM
01-02-2012, 07:57 AM
For sure VPR is not in "Draft Mode"?

:thumbsup:

souzou
01-02-2012, 08:11 AM
Hi Marcus, no VPR is not in draft mode.

oobievision
01-04-2012, 11:07 AM
looks as though your final render doesnt have double sided polygons and internal reflections.

souzou
01-04-2012, 11:39 AM
looks as though your final render doesnt have double sided polygons and internal reflections.

The model has an outer 'shell' (polys facing out) and an inner (polys facing in), no double-sided surfaces. Followed William Vaughan's tut for glass node surfaces: http://www.youtube.com/watch?NR=1&feature=endscreen&v=XgH04RMVIQw

If I turn on double-sided it all goes weird. I can live with the F9 render but just wondered if this was a VPR issue. I've probably posted this in the wrong section anyway - should've put it in support :foreheads

gerry_g
01-04-2012, 01:05 PM
Inner / outer surface (the old air glass layer trick) is old school Williams tut will no doubt be fairly old by now, Dialectic node likes one poly layer with double sided turned on, can't remember weather node plugs directly now or if you still need to use a 'Switch' node with 'Spot Info node's' 'Polygon Side' fed into the the 'Switch' end and 'Dialectic' in the 'True' end and the 'Standard node in the 'False ' end, then have the 'Switch' node plugged in to the Material node

souzou
01-04-2012, 03:06 PM
Inner / outer surface (the old air glass layer trick) is old school Williams tut will no doubt be fairly old by now, Dialectic node likes one poly layer with double sided turned on, can't remember weather node plugs directly now or if you still need to use a 'Switch' node with 'Spot Info node's' 'Polygon Side' fed into the the 'Switch' end and 'Dialectic' in the 'True' end and the 'Standard node in the 'False ' end, then have the 'Switch' node plugged in to the Material node

Hmm but then how do you see/set the thickness of the glass without the model having thickness? Bearing in mind this is a belljar so not solid glass but with air inside it (if that makes sense), much like a glass tumbler. I tried a second model with one poly layer and double-sided turned on and it goes weird (see render - double-sided one-poly layer on the right).

Thanks for all your replies btw :D

zardoz
01-04-2012, 04:19 PM
it looks like the glass doesn't have thickness. how tick is your glass? dielectric uses real world units so maybe for better results you should model that glass with something like 5 or 6 mm.

gerry_g
01-04-2012, 04:42 PM
I was on about the air glass trick where you had a flipped set of polygons inside of the volume you intended to be a glass surface to make refraction work, post nodes and dialectic you no longer need to do this but you still need volume, an inside and outside surface with distance just like real glass. See pic for proof.




http://dl.dropbox.com/u/30264782/Screen%20shot%202012-01-04%20at%2023.12.44.png

souzou
01-04-2012, 04:42 PM
heh I modelled it (more-or-less) real size so it is 6mm thick. Model screengrab attached (grid size there is 10mm).

souzou
01-04-2012, 05:44 PM
I was on about the air glass trick where you had a flipped set of polygons inside of the volume you intended to be a glass surface to make refraction work, post nodes and dialectic you no longer need to do this but you still need volume, an inside and outside surface with distance just like real glass. See pic for proof.


Ah ok, no I hadn't done the air trick, this is just a simple volume.

Thanks for the node setup. I duplicated it and here are three versions. One is with my original node, another with your setup and a third with your setup but with double-sided and exclude from vstack unticked. This ends up being an identical F9 render to my original setup, although it displays differently in VPR. I'm not sure what I've learned here, other than VPR lies! :D

But either way I think I'm going to live with it as-is because the difference is marginal, and the clock is ticking...

Thanks again!