Vector Displacement maps problem

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  10 October 2012
Vector Displacement maps problem

Hi everyone!
So i'll get right down to it. I'm attempting to render out a vector displacement map in maya 2013
This is how my workflow is thus far. I've been trying to figure out vector displacement maps, so for the purposes of this test, I'm only using a plane. Anyways

I start up zbrush
I then make a plane, and subdivide it several times to get to sculpting
I have a pretty high detailed sculpture going on, on the mesh, but nothing fancy.
From there, once I am finished I make the displacement map, with these settings
32 bit./ Tangent/ uv map at 1024/1024.
I follow that creating and exporting the VDMap.

Once maya 2013 is opened up, I go ahead and import the obj file.
This is where the problem starts
I open up the obj file, and go on to map the VDMap onto the displacement of groupshader. However once I do that I continually get this error
Warning: Failed to open texture file /users/shared/pixologic/gozprojects/default/vectortest.exr
What am I doing wrong here?

Thanks for your time
 
  10 October 2012
First thing is to make sure the OpenExr plugin is loaded, that's what's causing that error most likely. I also load the TiffFloat plugin too when working with ZBrush maps.

Another thing to keep in mind (it caught me out for a while) is that you need to connect the file node to the Vector displacement in the Displacement shader, not the regular Displacement. Obvious really but it had me scratching my head for a while first time I tried it.

Lastly don't forget to set up the export settings in ZBrush to suit Mayas vector displacement, for 2012/2013 it needs to be set to Flip and Switch 11, Tangent Flip and Switch 11.

Cheers,
Brian
 
  10 October 2012
I guess I did something wrong, because its not working :/
Here are the settings that I was using

I loaded up several screen shots on imgur. I hope this provides some insight to my problem

http://imgur.com/a/EOq3e

Best
-Paul
 
  10 October 2012
Also another question. I'm not sure it's having any impact on what i'm doing, but it might haha.

Can maya hardware 2.0 support vector displacement maps?

I dont think this would be the problem, considering my problems is just from maya opening the darn file in the first place. But I'm just covering all my baes.
 
  10 October 2012
You've made the mistake I mentioned above - you have plugged the file node into the Displacement input of the Displacement shader instead of the Vector Displacement input.

Regarding the viewport, no you won't see it, you have to render. Unless you are using 2013.5 and the new DX11 viewport mode, but that requires you to set up different shaders altogether so probably best to stick to getting this to work first.

Cheers,
Brian
 
  10 October 2012
First off, I want to thank you for your help so far. I am immensely grateful. I am stll running into issues however.

I think I understand now, and I make the file node under the Vector Displacement under the Displacement Shader. However once I do that, and attempt to put the EXR file down there in the file node. I recieve the error message that I posted on Imgur.

I also posted the last few lines of messages in the script editor in hopes that it might help

http://imgur.com/a/m3474#oLEAM

I feel like we're making great headway on this. Thank you so much!
 
  10 October 2012
Do you mean I am doing it right?
or...?
 
  10 October 2012
One thing I've read about this is that Maya doesn't like greyscale images sometimes and prefers RGB images. Are you sure the Exr is RGB? (and sure the file exists in the path shown?)

Cheers,
Brian
 
  10 October 2012
Brian, vector maps are allways RGB cause they are totally gaudy...

you could test a mudbox vector map fist to be shure your workflow is the right one...
__________________
ArtStation
 
  10 October 2012
Thanks, good to know. One of these days I'll have to buy full version of Photoshop so I can actually open these textures and look at them properly. Still using PS Elements that came free with my Wacom but it won't open a lot of stuff

Cheers,
Brian
 
  10 October 2012
Hey oglu,
I attempted to do what you said. By going through mudbox, and extracting a VDM through it. I then go into Maya, and do the same process I've been doing. Adding a file node, to the VD Shader, and once I put the file in maya. I once again, get the error message, I've been getting. Not being able to open the teture file. I saw some other people were having the same problem, maybe I need to install an update or something.
 
  10 October 2012
are you using mental ray or still hardware render 2.0..
mr should be able to use exr files...
__________________
ArtStation
 
  10 October 2012
If using OpenEXR make sure that the OpenEXRLoader.mll plugin is loaded via Window \ Settings/Preferences \ Plugin Manager.

-N
 
  10 October 2012
Well, the plugin is loaded, and I'm using Mental ray. I think I might just have to reinstall it :/. I'll let you guys know how it goes.
 
  10 October 2012
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:36 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.