#1
|
|||
|
|||
Vizard Shaders vs. Texture Baking
I'm having a horrible time rendering some basic shading onto freely available models I've downloaded. Even if I clean up the geometry (Reset XForm, Collaplse, Turn to Poly, etc etc), I still get holes in the models after using Render to Texture (sending Complete Map to Diffuse slot) in 3DS Max. If I simply apply a texture and then export to Vizard, it's really hard to see the kind of depth and definition on the model that you can see in the 3DS viewports.
Is there a way to use Vizard's shaders or some other method to simply give a model the kind of shading and depth that you can see in the 3DS viewport? i.e. something simple that approximates the global illumination in .3DS without requiring error-prone texture baking? |
#2
|
|||
|
|||
What format are you exporting the model to?
|
#3
|
|||
|
|||
.ive, but I've tried .3ds and several others -- same result.
|
#4
|
|||
|
|||
When exporting to .ive, are you enabling vertex normals and lighting in the export options dialog?
|
#5
|
|||
|
|||
Thanks for the reply -- I've attached the settings I'm using.
|
#6
|
|||
|
|||
I'm also attaching the original model file and my Render to Texture settings from 3DS Max 2012.
|
#7
|
|||
|
|||
it seems you need to unwrap it first. the gaps could be some overlapping uws I assume.
hope this helps |
#8
|
|||
|
|||
I've tried adding the various unwrap modifiers rather than using the unwrap option in the rendering dialog -- doesn't seem to help.
|
#9
|
|||
|
|||
hello,
I attached the screenshots from max uv related. on the left side is the provided uv in the model on the right side i simply put a unwrap uv modifier on it and in the uv editor done a pack uv. I know its far away from perfect but it works for baking. in the zip document is the ive exported with the baked texture. |
#10
|
|||
|
|||
Just a clarification: Did you unwrap only the stuff associated with the front of the model? If you zoom out in the Edit UVWs window, you can see that there are polygons for the sides and head as well -- did you pack those too?
|
#11
|
|||
|
|||
here is the first set of screenshots showing what i tried. i can't seem to get the same results as you did.
|
#12
|
|||
|
|||
here is the second set of screenshots
|
#13
|
|||
|
|||
and... here is the final screenshot =)
(sorry, vizard's forum makes you type at least 10 characters) the result in vizard is a very choppy model with tons of holes, but the parts that are rendered properly look great. perhaps pelt modeling would help? i don't understand why your packing looking different and why you were able to produce a perfectly intact model Last edited by jde; 04-26-2012 at 08:36 PM. |
#14
|
|||
|
|||
Hi JDE. I've taken a look at your model. Chris, since you're using Vray, I have some tips for you as well.
At a glance, the problem look to be related to baking with Alpha and overlaping UVs. If you're also exporting using DXT1 texture compression, this would explain the odd cut-offs in the model since DXT1 uses 1 bit alpha. I've attached a few images showing typical bake and export settings, and how the model looks when I bake it and bring it into Vizard. I'll attach the work files in the next post. In the model I see the following issues: model - The original model has unwelded vertices and overlapping faces. It looks like you already fixed most of these in your version of the model. - The scale transform should be collapsed with reset xform Chris: It looks like you're using vray, which should still be able to get decent results without doing much cleanup (other than an overall weld) Unwrapping - You have too much space between UV islands in the bake version of the UVs. This means you'd need to use a larger texture to get the same texel density on the surface of the model than one that was packed more efficiently. For the baking channel (ch 3), use 60 as the threshold angle and 0.005 for the spacing. I don't recommend letting render to texture do the unwrap for you, because it always wastes space by trying to separate things by material ID. The equivalent in a manual unwrap is to use the Flatten Mapping unwrap type. - Unwrapping based on normals for channel 1 is fine for the diffuse texture and shouldn't cause problems as along as you aren't trying to bake to this channel. rendering Chris: - It looks like you're baking with vray. Stick to vray's materials and lights to get better results. Some of the standard lights and materials don't play nicely in bakes and renders. - In Color Mapping, in VRay's render settings, switch the type to gamma correction and set the gamma to 1.8. Also check "linear workflow". This will both adjust the gamma curve of the lighting to match your monitor, and also prevent materials and textures from becoming washed out. This method requires the use of Vray's materials to work properly. - You can improve the results a little by adding a turbosmooth modifier to your model and setting the render iterations to 2. This is just to affect the way the bake looks - you'll still be exporting the lower-poly model. baking - Your edge padding is set to 2. This can cause seams to appear on lower mip levels, since it'll be sampling from the background color. I recommend setting it to 16. - You are baking to an RGBA, instead of RGB. This will also have problems on lower mip levels. For solid objects, change the map output settings to render without an alpha channel. - It looks like you're doing it already, but make sure the output material is a Standard:Blinn material. When baking to any kind of completemap, the target map slot should be Diffuse. exporting - Looks fine, from what I can see. It would be useful to get a screenshot of the rest of the settings though. - At the bottom, under "Miscellaneous" make sure "convert units to" is set to Meters. This will make sure any model that is at the intended scale in Max units will also be the right size in Vizard. |
#15
|
|||
|
|||
I've attached the Max file, the Vizard export (.ive) and the .tif version of the baked map.
|
#16
|
|||
|
|||
Hello,
sorry for being late with my answer. I totally forgot about this topic. The model and unwrap I provided was just a 2 minute shot without velding the seams just to show where the problem is caused. Unfortunately my mouse finger knows how time consuming it can be to unwrap a model in a proper way. But if you take the time you will get stunning results. Thanks Michael for taking it up and showing how it has to be done right. |
#17
|
|||
|
|||
Have a look at this for advance baking for Vizard
Really amazing and very informative!!!! I learnt a lot!!! YouTube Video Link- https://www.youtube.com/watch?v=0MOX...nnel=3dRealism |
Tags |
baking, shading, shadows, texture |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard 4 Beta Testing | farshizzo | Announcements | 0 | 02-01-2011 11:46 AM |
Vizard 4 Beta Testing | farshizzo | Vizard | 0 | 02-01-2011 11:46 AM |
3ds MAX to Vizard - Render to Texture Problem | jde | Vizard | 0 | 04-13-2010 08:20 AM |
Vizard tech tip: Using the Python Imaging Library (PIL) | Jeff | Vizard | 0 | 03-23-2009 12:13 PM |
3D Texture Mapping in Vizard? | stefs | Vizard | 2 | 03-25-2008 04:34 AM |