090818 090617 090589 089971 089835 089810More Highlights

Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-19-06 Reply     Quote     UserGallery     ThreadGallery     Post#1
CvH
New Member
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 24
Default Tutorial:ZBrush displacement maps in 3dsmax, metal ray

http://www.microcan.nl/ZBrushTutorial/DispTestHead.jpg

I already posted these settings last year on http://www.3dhype.com but the explanations are in Dutch. So on request I will post the settings for rendering ZBrush displacement maps in 3dsmax v8 with mental ray. As example I am going to use the test head from ZBrushCentral.

Download the test head

Import the test head and convert it to an EditablePoly, set the number of subdivisions for rendering at 2. You can also use a TurboSmooth or MeshSmooth modifier to get the same result.

http://www.microcan.nl/ZBrushTutorial/Subdivision.jpg

Then apply a material to the mesh and add a displacement map. The UV coordinates are flipped in ZBrush set the V Tiling to -1.

http://www.microcan.nl/ZBrushTutorial/V-Tiling.jpg

The displacement map is positive and negative in ZBrush, 3dsmax has default only positive displacement. To solve this go to the Output panel of the displacement map and set the output curve to -1...1. (You can also use -0.5 ... 0.5).

http://www.microcan.nl/ZBrushTutorial/Output.jpg

Set mental ray as renderer and check that the displacement is on. Default the edge length is set to 2. This however causes loss of detail. Set it to 0.5 this will subdivide the mesh to tiny triangles with an edge length of a halve pixel. Of course this will have impact on the rendering time but it results in the best displacement mapping results.

http://www.microcan.nl/ZBrushTutorial/MentalRay.jpg

Now you can render the mesh.

Good luck.

Last edited by CvH : 01-24-06 at 11:32 PM.
CvH is offline  
Old 01-19-06 Reply     Quote     UserGallery     ThreadGallery     Post#2
CvH
New Member
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 24
This is the render for the test sword the same method was used.

http://www.microcan.nl/ZBrushTutori...ordDispTest.jpg
CvH is offline  
Old 01-19-06 Reply     Quote     UserGallery     ThreadGallery     Post#3
CvH
New Member
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 24
This is the render for the troll.

http://www.microcan.nl/ZBrushTutorial/Troll.jpg
CvH is offline  
Old 01-19-06 Reply     Quote     UserGallery     ThreadGallery     Post#4
rookie-z
Member
 
Join Date: Apr 2004
Posts: 84
Hi CvH,


Just wanted to pop in and say "thanks" ... your info is helpful
and much appreciated


rookie-z

Last edited by rookie-z : 01-19-06 at 03:04 PM. Reason: typo
rookie-z is offline  
Old 01-22-06 Reply     Quote     UserGallery     ThreadGallery     Post#5
upham
Senior Member
 
Join Date: Apr 2001
Location: New Zealand
Posts: 841
THANK YOU VERY MUCH CvH!!!
This is a long awaited tutorial that I have tried several times to figure out myself. Simple, quick and worked everytime! I appreciate the time you have taken sharing this info!

Thanks man!
Upham
__________________
Upham's ZLand! ZBrush For Newbies!
http://zbrush.cjb.net/
upham is offline  
Old 01-22-06 Reply     Quote     UserGallery     ThreadGallery     Post#6
smokebox46and2
Senior Member
 
Join Date: Jun 2005
Posts: 369
This is great! Didn't even have to wait for the Max pipeline...yay!

Thnx a bunch =)
smokebox46and2 is offline  
Old 01-24-06 Reply     Quote     UserGallery     ThreadGallery     Post#7
smokebox46and2
Senior Member
 
Join Date: Jun 2005
Posts: 369
If anybody is wondering, you can also use this technique with the Turbo Smooth and Mesh Smooth modifiers. You don't have to use the NURMS subdivision that is built into your Editable Poly base mesh. This method would be useful for those who need displacement without sacrficing their stack and losing the functionality of such modifiers as Morpher and Skin.

Hope this helps somebody =)

Anybody has trouble with it let me know...
smokebox46and2 is offline  
Old 01-24-06 Reply     Quote     UserGallery     ThreadGallery     Post#8
CvH
New Member
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 24
Quote:
Originally Posted by smokebox46and2
If anybody is wondering, you can also use this technique with the Turbo Smooth and Mesh Smooth modifiers. You don't have to use the NURMS subdivision that is built into your Editable Poly base mesh. This method would be useful for those who need displacement without sacrficing their stack and losing the functionality of such modifiers as Morpher and Skin.

Hope this helps somebody =)

Anybody has trouble with it let me know...

Yes the results are the same. I will edit the text in the tuturial.
CvH is offline  
Old 01-26-06 Reply     Quote     UserGallery     ThreadGallery     Post#9
andreseloy
Senior Member
 
Join Date: Jun 2001
Location: Venezuela
Posts: 6,025
Default Thanks CvH !!

jueves test 472skintexture.jpg
I resolve the question i asked at pm: was that the dispmap i exported in PSP file not TIFF, i exported again as TIFF and work fine.
Here is the example: the model is from zsphere 472 poly exported to show the wireframe to Silo and the render is in 3DMax Mental Ray.
ps: the value in this case was the default 100, all other parameters were the same you show for us.
This is the first time my setup at 3DMax wprk so fine. Thanks very much
Andreseloy
Attached Thumbnails
Click image for larger version

Name:  472.jpg
Views: 760
Size:  72.9 KB  

Last edited by andreseloy : 01-26-06 at 06:47 AM. Reason: to put the first image in thumbnail
andreseloy is offline  
Old 01-28-06 Reply     Quote     UserGallery     ThreadGallery     Post#10
AtomicPablo
New Member
 
Join Date: Jan 2006
Posts: 4
Thanks so much for the tutorial... it really helps!
AtomicPablo is offline  
Old 02-05-06 Reply     Quote     UserGallery     ThreadGallery     Post#11
--BUG--
New Member
 
Join Date: Feb 2006
Posts: 2
Talking Thx!!!

MAN... THIS HELPs A LOT!!!
THANK YOU VERY MUCH!!!
--BUG-- is offline  
Old 02-05-06 Reply     Quote     UserGallery     ThreadGallery     Post#12
lm
Senior Member
 
Join Date: Aug 2003
Location: California
Posts: 219
Thanks CvH.

I did this in 7 . It seems like the main different in the instructions between 7 and 8 is MR shadows and displacement has a smoothing check box in 8. I have 8 on another computer so I'll give it a try later.

I have these little parallel lines in my render. I don't know if they are part of the original model or something on my end. There are little artifacts on opposite sides of the lip but overall it looks good. I'd been using the displace modifier until now.
http://www.larrymccusker.com/test4.jpghttp://www.larrymccusker.com/test2.jpg
lm is offline  
Old 02-06-06 Reply     Quote     UserGallery     ThreadGallery     Post#13
CvH
New Member
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 24
Im,

I was supprised to see you render, because I did the first test renders with 3dsmax v7.5. To check this I did some test renders. The artifact shows up in 3dsmax v7.0 but after V7.5 its is gone (it contains mental-ray v3.4 that solves the problem)

DispTestHeadv7_0.jpg
DispTestHeadv7_5.jpg
DispTestHeadv8_0.jpg
CvH is offline  
Old 02-06-06 Reply     Quote     UserGallery     ThreadGallery     Post#14
lm
Senior Member
 
Join Date: Aug 2003
Location: California
Posts: 219
Here is my version 8 render. It still has some artifacts on opposite sides of the outer lip but the lines are radically reduced. I still see a few tiny lines on the shoulder but they are farther apart and very faint. Overall, 8 clears up alot of problems. I don't know if anyone else has had the artifacts on the lip.

Thanks again, CvH.

http://www.larrymccusker.com/max8.jpg
lm is offline  
Old 02-06-06 Reply     Quote     UserGallery     ThreadGallery     Post#15
CvH
New Member
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 24
Im the artifact also shows up in the render I made today. The lines you see are caused by the subdivision level. I don't know what subdivision level they used to generate the displacement map. If you set the number of subdivisions to high 3dsmax will suffer memory problems.
DispTestHeadv8_0b.jpg DispTestHeadv8_0c.jpg
CvH is offline  
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



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 Off
HTML code is Off
Forum Jump

All times are GMT -7. The time now is 01:02 AM.