User talk:Neo: Difference between revisions

1,711 bytes added ,  4 February 2008
no edit summary
(What about this?)
No edit summary
Line 461: Line 461:


EdT
EdT
New OniSplit version: [http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit_v0.8.13.zip OniSplit v0.8.13].
Envmap problem: for now I added an "-envmap" option through which the name of the env map texture can be specified:
onisplit -create:txmp dest_dir -genmipmaps -envmap:envksface TXMPIteration%2FKS_face.tga
I'll try to figure out a better way to do it. Storing texture options in a tga file seems possible but I'm not sure if editing tools preserve that information.
The envmap name can have the TXMP prefix but it is not required, it is added automatically if missing.
Export/Import for Wavefront OBJ files:
*Named M3GMs and (unfortunately unnamed) M3GM contained in ONWC files can be exported to obj file format:
  onisplit -extract:obj dest_dir M3GMnotfound.oni
  onisplit -extract:obj dest_dir ONWCw1_tap.oni
Or for greedy :) people:
  onisplit -extract:obj dest_dir level0_Final.dat
*Importing obj files:
  onisplit -create:m3gm dest_dir TCTF_Shotgun.obj
For importing obj files the obj file must only contain triangles so when exporting a model from a 3D design tool it needs to be triangulated. If the obj file uses more than one texture then only one will be taken into consideration. If the obj file does not contain a texture or someone wants to use a different one then the texture name to be used can be specified with -tex option:
onisplit -create:m3gm dest_dir -tex:TCTF_Shotgun TCTF_Shotgun.obj
Just like in -envmap option case the texture name can start with TXMP but it is not required.
Note that in both -envmap and -tex cases a .oni file is not created for the specified texture. The .oni file for that texture must be create separatly.
[[User:Neo|Neo]]
708

edits