Robert Osfield
c4dff10cb4
From Wang Rui, build fix
2011-05-15 08:27:04 +00:00
Robert Osfield
5cbe74fbc1
From Sukender, ported across to use the new osgDB::ExternalFileWriter
2011-05-12 14:07:15 +00:00
Michael PLATINGS
c7814cf50a
Updated to use FBX SDK 2012.1
2011-05-03 09:11:04 +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
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
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
5d64318597
From Sukender: Fixed FBX writer: now handles double precision arrays (vertices, normals, texcoords)
2010-04-12 15:04:25 +00:00
Michael PLATINGS
6ec0e11b2a
2010-02-24 10:25:50 +00:00