Forum > Resources and Tools

[TOOL] Blender 2.5+ WMO import/export script

<< < (10/11) > >>

Skarn:
The new version of this tool is out along with the tutorial on how to use it:
http://www.model-changing.net/files/fil ... -25022016/
New features: Portals, Ambient lighting, Material flags, Global WMO settings (skybox, DBC IDs) and some more.

stan84:
I needed some booty bay parts to my plunder island project, so i split it with this tool. Generally successful, but i have issue with vertex sahding ( colors? ) in indoor parts of new wmo.

Noggit renders them as shouls be - darker corners, shodows imitation.
Game engine reders them  just fully brigt.  

model has 4 objects: 1 outdoor with flag 0x09, and thee with 0x0520 flag. All these internal objects have  MOCV chunk.

And now im bit confused what's wrong with this , maybe global light isused to render indoor objects?. Does internal lights could solve this issue?

Skarn:

--- Quote from: "stan84" ---I needed some booty bay parts to my plunder island project, so i split it with this tool. Generally successful, but i have issue with vertex sahding ( colors? ) in indoor parts of new wmo.

Noggit renders them as shouls be - darker corners, shodows imitation.
Game engine reders them  just fully brigt.  

model has 4 objects: 1 outdoor with flag 0x09, and thee with 0x0520 flag. All these internal objects have  MOCV chunk.

And now im bit confused what's wrong with this , maybe global light isused to render indoor objects?. Does internal lights could solve this issue?
--- End quote ---
Might be missing flag hasMOCV. Might be ambient color related.
What are your group settings in Blender?

stan84:
hmmm

flags seems to be ok ( at 1st sight), each group has:

0x20 00 - 0x2000-- Indoor
+
0x04 -Has vertex colors MOCV
+
0x01 Has MOBN and MOBR

here is screenshot of blender window, also i have attached my example wmo, Skarn could You look at it ?

thanks in advance :)

Supora:
try to change "0x2A    uint16       Number of batches interior" to the value of "0x2C    uint32       Number of batches exterior". And then set "0x2C    uint32       Number of batches exterior" to 0.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version