Today I've been playing with the sculpt tool in blender, and looked for some tricks to use the result in lightwave.
What did I wanted to end up with: the cage object to animate, a nice displacementmap of your sculpt work to ad to your sub-poly's.
Here's what I found:
load your cage-object in modeler.
create UV's for your displacement-map, atlas-style works fine.
Save a subdivided version of your object in the resolution you want to sculpt on.
Open blender, load that object, sculpt on it (do not use multires, just the highdensity mesh from LW) save as new lwo object.
Open layout, load the highdensity mesh with and the one without the sculpting, morph the original into the sculpted one with the classic "morphtarget" system.
Now comes the trick to convert the displacement into a useable imagemap:
Open surface editor:
go to the surface of the morphed object (I'm assuming there's only one default surface) open the node editor.
now you need 3 nodes: spot info, vector substract and vector ad.
Connect "spot info's" object Spot to "substract's" B-input,
Connect "spot info's" world Spot to "substract's" A-input,
Use the "add" node to ad 5 to each channel (XYZ), this is to make sure all the values are positive, you may need other values depending on the scale of the object.
Connect this result to the color channel.
Use surface baker to bake everything to a hdr-type image, you want this to have floating-point precision and voila, here's your displacement map, load the cage-object, set the subpatch level to the same level you used to make the highdensity mesh.
Open the displacement node editor, load the image(don't forget to use the UV map) and substract 5 from the result to bring the poly's back to their origin.
Now you have the sculpted result of blender on your sub-polygons.
You can also use this technique to make all kinds of displacementmaps, only with the use of modeler (a morph2UV plugin would come in handy, but i didn't find anything that does this)
If someone has a more straightforward technique please let me know
Cheers, Wim
Bookmarks