UUnwrap

Community Forums/Developer Stations/UUnwrap

Moraldi(Posted 2006) [#1]
I don't get "two sided" materials (let's say a single surface) in the B3D files even If I check the Two-sided check box option in the UUnwrap's material editor
Do I have to check some flags when exporting to B3D format?

Thanks


Pete Carter(Posted 2006) [#2]
you need to add some code to turn on back faces. its under entity fx

EntityFX entity,fx
Parameters
entity - entity handle

fx -
0: nothing (default)
1: full-bright
2: use vertex colors instead of brush color
4: flatshaded
8: disable fog
16: disable backface culling
32: force alpha-blending

so 16 is the one you want. its off by default


Moraldi(Posted 2006) [#3]
I will test it later. I didn't knew what backface culling is. Is there any other usage of this FX.

Thanks!


Pete Carter(Posted 2006) [#4]
backface culling is where the front of a face (where the normal is pointing) is rendered and the reverse side isnt. entityfx is mostly how the model is displayed and if it should be effected by lights or fog.


jfk EO-11110(Posted 2006) [#5]
Does that mean UU3D doesn't store the FX in the mesh file?
Cause the file format supports FX.


Moraldi(Posted 2006) [#6]
Well, I loaded the model from within giles[s] and setup the material to "two sided" and voila! I got the desired result I wanted
By the way: In the last upgrade of UUNWRAP 2.29 I reported to the author a serious bug but until know I didn't got any reply. To be more specific the 2.29 version does not save any information about which faces belongs to which groups. Is there anyone else with the same report?