PDA

View Full Version : Lightwave to ZBrush and back?


Guillermo
09-09-2004, 11:41 AM
Hi,

Im pretty new to ZBrush :)

Is there a good tutorial on how to make Normal maps in ZB for LW imported objects and then export them to LW again?

Ive followed some but I have a lot of troubles exporting the normal map. It doesnt seem to fit the LW UVmap inherent to the imported object...

This is what I do:

In Lightwave:

-Make the Low poly model (a head for ex.)
-Apply the UVmap to the model
-Export the model as .obj

In ZBrush:

-Import the .obj
-Subdivide it and model detail.
-Export the normal as image. *Here is the problem, the image doesnt fit the original UVmap.

What should I do?

Thanks a lot!

jasonfox
09-09-2004, 12:37 PM
I think you have to flip the image in the V before you export it !

lsddigital
09-09-2004, 01:07 PM
Hi Guillermo
look in Zbrush and Lightwave : LSDdigital.net (http://www.lsddigital.net) ... and it is in Spanish.
I hope it help you.
See you soon

Guillermo
09-09-2004, 01:51 PM
Thanks both!

Ill try :)

WeirdoStudio
09-09-2004, 07:16 PM
Hey glad to be here at the Zbrush forum.. Could someone who knows a workflow to get from Zbrush to lightwave for rendering please explain? Seems like the lightwave community isn't taking full advantage of this powerful app..

Guillermo
09-09-2004, 11:49 PM
Seems like the lightwave community isn't taking full advantage of this powerful app..

Completely agree with you. Ive been looking all the web arround and cant find a really good LW<->ZB tutorial. Lots of ZB<->Maya, max, XSI, ... but nothing serious about Lightwave.

Im still having troubles importing the normal map into Lightwave. I found where the UV problem was and solved it but now the normal map seems fliped inside out when I apply it to an object in LW... Ive tried all the flip export options in ZBrush Preferences pannel before exporting but everything is still the same!!! :banghead: Does anyone knows what can be the problem? Or what should I do to correctly export the map?


When I control this Ill write a good tutorial about. Promise :)

Rabid pitbull
09-10-2004, 12:06 AM
try this

http://www.spinquad.com/forums/showthread.php?s=&threadid=1265

Pretty much all you need there.

WeirdoStudio
09-10-2004, 12:07 AM
My problem is that i must be exporting the displacement map wrong..Here are my steps..
1. I import a base model from lightwave as an .OBJ
2. I enter edit mode and store the morph target
3 from there i subdivide the mesh to about 6-7 and do my scuplting.
4. after all sculpting is done i lower the mesh down to 1, and hit the cage button
5. I then select 2048 from the displacement map section and activate adaptive, and smooth.
6. after the displacement map is created i flip the map on the v, and export the ,model.

BACK IN LAYOUT

1. I load up the object and activate the normal displacement plugin.
2. under the texture tab i load up the displacement map from zbrush..
3. i turn up the render subd level to about 7-10
4. hit F9 to render and SPPPPPLAAAT nothing happens..
5. I get really upset and start on something else...

Those are my basic steps, and i must be doing something wrong because i just can't get it to work right.. Maybe we can put our heads together and get this thing working to the point where all the mystery is taken out of it.. then i will write a tutorial or even make a video tutorial so that others can learn this little secret..

WeirdoStudio
09-10-2004, 12:08 AM
Hey thanks for the link rapid-pitbull.. I will look this over and see if i can't fix my problem.. Thanks again..

Guillermo
09-10-2004, 01:27 AM
BACK IN LAYOUT

1. I load up the object and activate the normal displacement plugin.
2. under the texture tab i load up the displacement map from zbrush..


As you can see Im not an expert :) but why do you export a displacement map instead a normal map? If you are using a normal shader plug-in I think you should export the normal map instead the displacement one (in ZB just below the Displacement map tab). The displacement map wont work on a normal sahder. Try it and tell me what happens.

Hope this helps! :)

Rabid Pitbull: Thanks a lot for the link :) Ill check right now!

Guillermo
09-10-2004, 02:23 AM
Oh God!! Nothing happens again! Ive followed the link but... when I load the displacement nothing happens. :banghead: Dont know whats going on here...

WeirdoStudio
09-10-2004, 03:01 AM
Hey Guillermo did you also get the 16bit tif loader?? I think if you are using the normal displacement plugin you have to have it.. There are 2 different plugins one is called normal map, and the other is normal displacement.. I will be try this later on and i will show some results..

WeirdoStudio
09-10-2004, 08:22 AM
This isn't working period. all i'm getting is a exploded mass of geometry.. I give up for 2night..

jasonfox
09-10-2004, 09:08 AM
Guillermo,

I assume you have UV mapped your object before exporting it (or UV mapped it in Zbrush) ?

I found this when I first started using Zbrush. It will let you paint displacements onto the object whether you have UV mapped it or not, but you will not be able to export and apply it to the model in Lightwave properly !

Guillermo
09-10-2004, 02:44 PM
FINALLY I GOT IT!! :bounce: :bounce:

Thanks everybody for your replies and help :)

Ive an exam on Wednesday so cant write an extensive tutorial until then. On Friday Ill post one thread here with a detailed explanation and screenshots on how to do it ;)


For now here are the steps to follow:


In Lightwave:

1. Create the low poly model.

2.A Export the model as .OBJ without UVMapping or...
2.B Create the UVMap in LW and apply it to all the textures and export to .OBJ.
*Ive used the 2.A way to generate the UVs in ZB. Ive found that UV maps form LW usually generate gaps and strange deformations in the final Displacement map.

In ZBrush:

1. Imort the .OBJ model.

2. Apply the UV tile map if you followed the 2.A point above. To do so: Tool> Texture> GUV Tile button (This Group the UV tiles ZB automatically generates for an object without UVs)

3. Suvdivide the mesh and add detail. (Tool> Geometry> Subdivide)

4. When you are ready, low the resolution to the 1 stage. In the Tool> Displacement tab. Choose a resolution for the Disp. map to 2048 or more (not less or the detail will be blured) Press "Create DispMap"

5. Yor map will be generated in the Alpha tab. Select it there and press Filp V button. Export the map as TIFF.

6.* If you created the UVs in ZB, as I did and thats what I recomend, go to Tool> Export and export the model as .OBJ (with Divisions set to 1). This is the final model we will use in LW.


Back in Lightwave:

1. Download and install the Lynx3D Tiff loader and Normal Displacement plug-ins.

2. In Layout, load the .OBJ you exported from ZB.

3. From Image Editor load the exported Displacement map. This will use the 16bit tiff plug-in to load ;)

4. You have your low poly model loaded in Layout, so open the modeler and convert the model to SubPatches.

5. Back in Layout open the Properties for the object and set subdivisions to 10 and 20 in render (*This depends of each object so you will have to play with this settings to get a good resolution for your object when you load the DispMap*)

6. Open the Normal Disp. plug-in from Lynx3D. Set Luminance Center to 50%. In the texture button load the DispMap and set UVs.

7. You will see nothing happens... increase the Dispalcement to 1m more or less and you will see the displacement appear. *You will have to play with this value until you get what you need*. Make renders to see it at full resolution and adjust the subdivisions.

Thats it :)


If there is something I didnt mentioned please tell me ;) Ill write a good and detailed tutorial at the end of the next week :thumbsup:

Hope this helps!!

NeptuneImaging
09-10-2004, 08:30 PM
Yes, just one, is the detail painted or is it modeled? I am asking because I am banking on either using A converter that converts my grayscale targas into normal maps... or get zbrush...

billy_dee
09-10-2004, 10:03 PM
thank you, thank you, thank you


I don't know if I'm just getting old and can't learn anymore or what, but I've had the hardest time getting this to work as well. You cleared it up perfectly.

WeirdoStudio
09-10-2004, 10:12 PM
Yeh.. I gave it another shot and it does work using the process you describe Guillermo.. the only problem i'm having now is that i'm getting these strange pinches in the mesh.. Not all over the place, but enough of em..

Guillermo
09-10-2004, 10:49 PM
Yes, just one, is the detail painted or is it modeled? I am asking because I am banking on either using A converter that converts my grayscale targas into normal maps... or get zbrush...

With Zbrush you can do both :) You can export the displacement map which will "model" your low poly subdivided object with real geometry or you can export normal maps which will work like bump, without adding real extra detail. The real power of using ZB is the fast and easy way to model the detail in the object... something quite impossible to do with any traditional modeler :)

Guillermo
09-10-2004, 10:55 PM
Yeh.. I gave it another shot and it does work using the process you describe Guillermo.. the only problem i'm having now is that i'm getting these strange pinches in the mesh.. Not all over the place, but enough of em..

mmm... Is your original model very complex and detailed? I mean, I had the same problem adding detail to a complex head model...

That problem is in the mapping I think. Try using a bigger size for the map export. Also try increasing the SubDivision resolution in LW... And dont forget to flip vertically the map before export :)

Hope this helps!

WeirdoStudio
09-11-2004, 07:30 AM
The base mesh isn't that detailed.. I think next time i will make a better mesh than import into zbrush, use projection master, export bigger map because right now i'm using 2048 as displacement map size.. Will post the results tommorow..

stormik
09-12-2004, 09:54 AM
Ive tried all the flip export options in ZBrush Preferences pannel before exporting but everything is still the same!!! :banghead: Does anyone knows what can be the problem? Or what should I do to correctly export the map?


Hello Guillermo.
for me NormalMapFlipZ and of course NormalMapFlipVert fix this problem.

Guillermo
09-12-2004, 07:23 PM
Hello Guillermo.
for me NormalMapFlipZ and of course NormalMapFlipVert fix this problem.

Thanks!! Ill give it a shoot right now ;) Im still having troubles to export Normal maps to LW to combine with Displacements!

WeirdoStudio
09-15-2004, 06:53 PM
WORKFLOW TUTORIAL (http://www.stevewarner.com/Tutorials/zBrush/zBrushTut.html)

Frenchy Pilou
09-15-2004, 07:06 PM
Indeed :cool:

aurick
09-15-2004, 07:59 PM
We've just been made aware of an excellent tutorial that was created by a LightWave user for going between ZBrush and LW.

Check out this thread. (http://206.145.80.239/zbc/showthread.php?p=173134#post173134)

Guillermo
09-15-2004, 08:28 PM
Yeah! Ive checked it out and its great :)

CGTalk Moderation
01-19-2006, 06:00 AM
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.