cmodfix support for per-polygon surface textures
Real-time 3D visualization of space
Status: Beta
Brought to you by:
cjlaurel
Since Celestia's model code supports textures on individual polygons when separate group lists are used, it would be very helpful if cmodfix optimization options did too.
Currently I'm using the -b option to translate ASCII CMOD files which have textures on individual polygons. That works, but it'd be nice to be able to use the optimization and normal generation options, too.
Logged In: YES
user_id=159994
Originator: NO
Is the request for optimization and normal generation to work across groups with different textures?
Logged In: YES
user_id=662401
Originator: YES
Sorry I wasn't clearer.
Currently when cmodfix is asked to optimize a CMOD file which contains a Mesh which contains multiple node lists, with several different materials specified, it merges them all into one list with one material, losing the other materials.
It'd be very helpful if it only merged and optimized those lists which specified the same materials, so that the different materials were still visible on the surfaces of the output model.
I don't know how this would affect how normals and tangents are calculated.
Logged In: YES
user_id=159994
Originator: NO
The point of the optimize option is to coalesce lists with identical materials. If the model looks different after running cmodfix, then there's a bug.
Logged In: YES
user_id=662401
Originator: YES
If you say so :-)
I had a recollection from long ago of a comment that only a single material per Mesh was supported.