Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 30-05-2012 , 02:02 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998

Vray 2.0 demo

Guys, here is a demo I just watched for vray 2.0 and it looks really interesting. I was particularly interested in the displacement section around 32 minutes into the video.

I have tried to do displacement + transparency in mental ray and after days of pulling my hair out and nearly losing my voice from cussing at the computer I just gave up! Why? Because it should not be as convoluted as EVERY god damn thing is in mental ray!

The way it is done in Vray is the way it should be done! I plan to look into vray.

The Latest in V-Ray, Konstantin Gaytandzhiev, workshop at FMX 2012 - YouTube


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
# 2 30-05-2012 , 03:52 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
looks like it'll be an interesting video thanks.

# 3 30-05-2012 , 05:39 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Sigh* When I look at that I get a bit depressed about MR, but I guess ChaosGroup has to keep up since they don't get bundled. Proxies with animation (and user interface!) and even shader swatches that don't use a black background (it's small fries in the scheme of things but seriously, who thought that was a good idea?) Now I'm wondering, is gamma correction and passes like a non-issue in Vray?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 4 30-05-2012 , 06:58 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
Some thing more to learn thanks Rickuser added image........................dave

does look good




Avatar Challenge Winner 2010
# 5 31-05-2012 , 01:56 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988

Sigh* When I look at that I get a bit depressed about MR, but I guess ChaosGroup has to keep up since they don't get bundled. Proxies with animation (and user interface!) and even shader swatches that don't use a black background (it's small fries in the scheme of things but seriously, who thought that was a good idea?) Now I'm wondering, is gamma correction and passes like a non-issue in Vray?

mentalray's integration with Maya is poor to say the least; It's much nicer to work with in 3ds max. What most people don't notice, is that the mayatomr plugin is developed by Autodesk to translate Maya objects into the formats expected by mentalray.

With Vray, gamma correction is taken care of with a tick of a box, and passes are done just as easily.


Imagination is more important than knowledge.
# 6 31-05-2012 , 12:37 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472




Avatar Challenge Winner 2010
# 7 31-05-2012 , 12:56 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
sure you can do that in mental ray. Maybe the problem is as Rick says you can do the same thing a million ways.
I'm pretty sure i do displacement in mental ray different from you guys.

# 8 31-05-2012 , 05:57 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
Yep,

You can do negative displacement Dave........

================================================== ========================

> 50% grey (lighter) == positive displacement

50% == no displacement

< 50% grey (darker) == negative displacement

You can also play with alpha offset to adjust this value.

================================================== =========================

The problem I have with mental ray displacement is that like most things in Mental Ray it is just to fricken convoluted!

What is the point of having a displacement node for instance that controls NOTHING! There are like half a dozen adjustable settings in the displacement node and I have never seen any of them used for anything!

You control offset distance with color balance, and displacement tesselation with a displacement approximation node.

But still have to set the bounding box using the shape node's Maya displacement section.

Also mental ray has all these freaking knobs and dials but do little to document how to adjust them properly or even describe what their function is for that matter. You go to one dial and you have to increment it in units of a billion to see any effect and then you go to the next dial and if you increment it by .0000001 you've gone out of range!

Verses V-Ray ... You give it a map, tell it max displacement for white, and give it an optional water level. No bounding box, no arcane mystical render tesselation computations. It just works and better still it breaks the task into bite size chunks that even a 32bit machine can handle!

I can sum up all the problems that I have with Mental Ray in one statement....

They take every possible rendering task you can perform in mental ray and then give you so much control over every little arcane internal variable, that in the end you have no control at all!


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 31-05-2012 at 06:04 PM.
# 9 31-05-2012 , 06:16 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
Stand corrected Dom, Rick
Did a test with the approximation displacement that did just as you said, the bound box thingy were did that come from and what does it do never used it, and Rick does Vray have those edge artifact when displacing...............dave




Avatar Challenge Winner 2010
# 10 31-05-2012 , 07:02 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
The bounding box has has been there for both maya and mental ray. What is does is limits the region of space in which the displacement can occur. If you have ever tried to do a displacement and it does not displace as far as you expected it is usually due to the bounding box being to small. It's like a 3D clipping plane for displacement. It supposedly helps maya be more efficient using memory while computing the displacement, but why maya cannot make this computation on its own defies any logic.

The box is computed by looking at the shape node of an object that has a displacement attached to it, based on the color balance value.

So there is a definite order to setting up a mental ray displacement.

1. create the displacement map
2. create a material
3. apply the displacement map to the shader group node (I do it this way rather then connecting to the displacement input of the material because it works for both maya and mental ray materials.
4. set the max displacement for white / black using the alpha gain of the displacement textures color balance node. IMPORTANT - remember to check "alpha is luminance"
5. NOW goto the shape node of the object that has the displacements displacement node and click compute bounding box. You should do this every time you adjust the alpha gain as this determines the size of the required bounding box.
6. Set the render tessellation - for mental ray use a displacement approximation node or for organics a subd approximation node, for maya renderer you use the shapenodes displacement map tab and adjust the feature displacement (initial sample rate) and (extra sample rate) variables. Don't ask me how to logically pick the values though because like all things in mental ray it seems people just pull numbers randomly from their ass!

I have to keep a howto folder for maya with crib notes like this because every time I try to do displacement I cannot remember the right order to do things and where each thing that needs to be adjusted lives. This is why I keep complaining about mental ray being to convoluted!


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 26-07-2012 at 11:32 PM.
# 11 31-05-2012 , 07:08 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
As for the edge artifacts that is a function of the displacement image resolution (aliasing) and the displacement approximations settings, and how dense the poly count of the object being displaced is. Once again multiple variables that maya leaves totally up the user to try and figure out!

I am a physicist, engineer, and mathematician and there are not many humans that can handle a multi-variable non-linear problem with more then four variables in their heads but this is what you have to do all the time using mental ray. As I have said you have so much control that, in the end, you have no control!


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
# 12 31-05-2012 , 07:21 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
Thanks Rick
I know that the aliasing of the texture was the problem does Vray handle it better............dave




Avatar Challenge Winner 2010
# 13 31-05-2012 , 07:26 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
I am not sure, although it seems to do a better just in general, but I am not sure if it's v-ray doing something special or mental-ray / maya not having some super secret switch or dial adjusted. It's certainly easier and more intuitive to set up though.

Intuitively, the issue for aliasing and displacement, is that any anti-aliasing would be interpreted as displacement. So the only solution would be to increase the image map resolution to increase the pixel density. But that is limited by the physical pixel size of the display.


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 31-05-2012 at 08:34 PM.
# 14 01-06-2012 , 09:33 PM
murambi's Avatar
Head of 3d Admedia
Join Date: May 2007
Location: nairobi , ken-ya
Posts: 1,340
I really want to start to look into vray but damn I sometimes feel like an old dog

# 15 01-06-2012 , 10:31 PM
Creck's Avatar
Great community
Join Date: Aug 2011
Location: Slovakia
Posts: 232


May the good times and treasures of the present become the golden memories of tomorrow.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads