Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: P3DM2OBJ  (Read 2128 times)

0 Members and 1 Guest are viewing this topic.

SyB

  • Guest
P3DM2OBJ
« on: 11 Dec 2007, 12:00:29 »
Here's a little tool to convert an ArmA type P3DM mlod model to Wavefront OBJ format.
Principally for imprting into a 3rd party modelling tool. The intent of this tool was for my own purposes, basically I needed a relatively 'good' reference character model in another modelling tool to help facilitate 'new' character models.
Hopefully, this tool and it's companions' usefullness will become redundant when/if a BIS 'tools' suite final release is made...


It's by no means perfect, but may be of some use, if you know what you're doing.

See the readme.txt packaged with the tool for more details. I think it's satisfactory in it's current state, so i'm not planning to support it or update it... unless absolutely necessary. So, use 'as is where is'...

Cheers, Sy


PS. The OBJ2P3DM.exe will be available in due course.

Quote
Changelog:
========

9/12/2007 - v0.1 Initial Version

10/12/2007 - v0.2 Discovered Outputted UV's were awkward.
                  Reason is... In O2 & ArmA UV's are...
                 
                     U = X-Axis from 0 ro 1, left to right
                     V = Y-Axis from 0 to 1, TOP to BOTTOM !

                     In Modo, and other 3D software UV's are...

                     U = X-Axis from 0 ro 1, left to right
                     V = Y-Axis from 0 to 1, BOTTOM to TOP !

11/12/2007 - v0.3 Discovered that OBJ file format does not support multiple distinct UV coords for a
                  given vertex. Fixed by creating 'new' vertices.
                  This is by no means ideal. Currently, if a given vertices has 6 faces connected to it,
                  then it will create 6 vertices on that same spot.
                  So, if the vert. had 600 faces connected to it !!!
                  The alternative to this is too only create a new vert. if the current vert's UV's
                  are different. This can be done, but the re-indexing of the array's is a task for
                  another update.

12/12/2007 - v0.4 Previous version was not handling '#Animation#' TAGG in the input stream.
                  Resolved.
« Last Edit: 12 Dec 2007, 01:40:49 by Sy »