Michael PLATINGS
c7814cf50a
Updated to use FBX SDK 2012.1
2011-05-03 09:11:04 +00:00
Michael PLATINGS
caa9ef591e
Disabled the RGB components of the opacity texture
2011-02-18 11:04:01 +00:00
Michael PLATINGS
dcf3187745
Updated information about the FBX SDK version
2011-02-02 16:44:21 +00:00
Robert Osfield
9bb86b5534
Fixed warnings
2011-01-25 16:48:53 +00:00
Michael PLATINGS
cc207c1112
From Sukender: I had to call code from the FBX plugin (to relativise paths). I thus extracted it from FBX and moved it in osgDB (FileNameUtils)
2011-01-21 12:17:18 +00:00
Robert Osfield
534052f7cb
From Sukender, "FBX plugin did not relay the osgDB::ReaderWriter::Options* when writing images (the writeImage() call). Now it does."
2011-01-11 17:29:47 +00:00
Robert Osfield
1f0a8aff32
Changed dos endings to unix line endings
2011-01-11 17:29:11 +00:00
Michael PLATINGS
5b603191b3
From Donn Mielcarek:
...
The fbx plugin won't compile using gcc 4.3.2. I made the following
minor changes:
1. WriterNodeVisitor.cpp needed limits.h added to the headers.
2. gcc does not allow structures to be defined inside of functions, so
I moved the definition of PolygonRef out of the function to a global
scope (right above the function readMesh).
I also removed a bunch of embedded carriage returns
2010-08-17 13:25:46 +00:00
Michael PLATINGS
90ec036c0e
From Sukender: polygon tessellation
2010-07-21 17:34:28 +00:00
Robert Osfield
d9bd6c977e
From Michael Platings, "Hi Bob, thanks for the CMake fixes. I'm not sure what the purpose of the capitalisation changes was so I've reverted that (a) to make diff-ing easier and (b) because all-caps is consistent with all the other OSG CMake files. Aside from that the changes seem fine.
...
I don't understand the changes to ReaderWriterFBX.cpp - (i) strings.h isn't a standard header, (ii) the ISO-conformant form is _strnicmp (with the underscore). Does the existing code not compile for you? If not we'll have to do some #ifdef nastiness."
2010-06-15 09:14:20 +00:00
Michael PLATINGS
0c7a4fdedc
Changed _strnicmp to strncasecmp for non-Windows builds
2010-06-15 09:09:38 +00:00
Michael PLATINGS
5ea4a8c0f3
From Alessandro Terenzi: previously the plugin ignored UV scaling values eventually stored in the FBX file, now they are read and set for each supported texture map (not considering reflection maps).
...
From Michael Platings: fixed UVs for files that don't explicitly reference the name of a UV channel.
2010-06-09 09:12:20 +00:00
Michael PLATINGS
82ea9597e5
Added support for Euler angles and step/linear/cubic-bezier interpolation.
2010-06-08 17:32:36 +00:00
Michael PLATINGS
4e42d9e89a
Added more NURBS types to triangulate.
2010-06-07 15:25:18 +00:00
Michael PLATINGS
359b6b480d
From Alessandro Terenzi: modifications for supporting opacity, reflective and emissive maps beyond the already supported diffuse map in the FBX plugin.
...
A problem with transparency has also been fixed: objects were transparent wrt themselves but were opaque wrt to other objects.
Finally I added the support for "mixing factors" of diffuse, reflective and opacity textures/values.
From Michael Platings: added "LightmapTextures" plugin option that changes the way textures are interpreted so Alessandro's models appear correctly. Also refactored to put many functions in one class to avoid passing around too many arguments to functions.
2010-06-04 19:50:32 +00:00
Robert Osfield
0fefe9a789
Converted osg::notify to OSG_INFO etc.
2010-05-28 16:26:24 +00:00
Michael PLATINGS
e91557fe1d
From Martins Innus: The current fbx writer doesn't seem to support BIND_PER_VERTEX for normals. If you have this type of geometry it, exports the the first normal in the array over the whole primitive set. I don't know that the attached change should be applied as is, since I don't know enough about DrawArrays and Draw Elements to know if the indices for the vertices and normals are guaranteed to be the same. I tried it on a couple models and that seemed to be the case. The alternative is to have the logic down in setControlPointAndNormalsAndUV and set the normals there with the "vertexIndex" if the binding type is per vertex. Not sure what is cleaner.
2010-05-12 08:54:22 +00:00
Michael PLATINGS
047b70c265
From Martins Innus: allow the fbx exporter to reference textures correctly if the stateset is applied to the Geode instead of Geometry
2010-05-11 17:02:18 +00:00
Michael PLATINGS
c51e94725b
Fix from Martins Innus for error: extra qualification 'FbxMaterialToOsgStateSet::' on member 'FbxMaterialToOsgStateSet'
2010-05-11 09:08:55 +00:00
Michael PLATINGS
324ddd0ca3
No longer removes redundant nodes because node structure may be important.
2010-04-28 14:05:47 +00:00
Robert Osfield
6ec106b31a
From Paul Martz, fixes for static build
2010-04-19 09:39:39 +00:00
Michael PLATINGS
d5fafcecbd
Updated the plugin to be compatible with version 2011.2 of the FBX SDK
2010-04-14 16:43:50 +00:00
Michael PLATINGS
8e53cfe6fc
Added support for double precision geometry
2010-04-13 14:50:31 +00:00
Michael PLATINGS
25cd2970c5
osgAnimation now stores times as doubles
2010-04-12 16:35:15 +00:00
Michael PLATINGS
5d64318597
From Sukender: Fixed FBX writer: now handles double precision arrays (vertices, normals, texcoords)
2010-04-12 15:04:25 +00:00
Michael PLATINGS
03d5b81a6f
Workaround for files exported from SoftImage that don't tag skeleton nodes correctly.
2010-03-19 20:12:19 +00:00
Michael PLATINGS
f053c6c567
From Paul Martz: This is a fix to get the FBX plugin to compile on OS X
2010-03-19 18:28:20 +00:00
Michael PLATINGS
328c19dad9
Fixed an infinite loop when loading a malformed file.
2010-03-19 10:19:41 +00:00
Michael PLATINGS
660cb74877
Workaround for models with inverted transparency
2010-03-18 19:02:12 +00:00
Michael PLATINGS
0f58cc2628
Added BlendFunc for transparent materials
2010-03-04 17:01:33 +00:00
Michael PLATINGS
65489693d9
Fix for some FBX files with multiple meshes bound to a bone.
2010-03-04 16:27:19 +00:00
Robert Osfield
7e5dd8ce17
Ran dos2unix of files to fix issues with file endings
2010-03-03 17:24:04 +00:00
Michael PLATINGS
fd6f3edf15
2010-03-03 16:14:04 +00:00
Michael PLATINGS
2609c4aa02
2010-03-02 18:18:06 +00:00
Michael PLATINGS
440bd7c3e3
2010-02-24 10:52:51 +00:00
Michael PLATINGS
6ec0e11b2a
2010-02-24 10:25:50 +00:00
Michael PLATINGS
4f72d66cbe
2010-02-24 10:12:11 +00:00
Michael PLATINGS
14ef0fa930
2010-02-24 10:02:14 +00:00
Robert Osfield
65d72d7873
Added #include <osg/MatrixTransform>
2009-11-20 09:05:06 +00:00
Robert Osfield
2e11c49742
From Michael Platings, "This plugin adds support for the Autodesk FBX file format. It imports animations, including skeletal and morph animations, hence all my previous submissions to osgAnimation. The plugin won't build without the changes made in the "osgAnimation small additions" submission (14th August).
...
The plugin requires the FBX SDK to be installed, available from http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6837478 "
2009-11-19 11:44:44 +00:00