Hi Robert, hi all, I confirm that "old" 3DS reader merges transforms into vertices (= vertices are transformed and MatrixTransforms become Groups). I'll create an option for the new reader to have both behaviours (keep transforms or merge them). According to you, what should be the default behaviour? I suggest it should be the "old" one, knowing the fact lib3DS merges transforms (= I have to undo what is done in lib3DS to keep transforms, leading to possible rounding errors); but this is subject to discussion, I think.
Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ ----- "Sukender" <[email protected]> a écrit : > Well actually it seems the 3DS reader works with transforms, but apply > them to vertices (which is quite strange, since I always thought it > wans't the case). Or maybe is this behaviour came when sync'ing with > latest lib3DS? Anyway, I'll leave the choice to the user. Question is: > what would be the default value? ;) I need testing against the > previous plugin; but I don't have much time... > > Sukender > PVLE - Lightweight cross-platform game engine - > http://pvle.sourceforge.net/ > > ----- "Robert Osfield" <[email protected]> a écrit : > > > On Mon, Nov 23, 2009 at 12:26 PM, Sukender <[email protected]> wrote: > > > Vincent had the idea to ask about fixing 3DS reader's tranforms or > > not. > > > Who agrees, and who doesn't ? > > > Thanks for answering. > > > > Given the history of 3DS I don't think the will be one right answer, > > as I would not be surprised as data from different sources to have > > their own conventions. If the OSG has been working acceptibly well > > so > > far with transforms and then comes along some data that doens't work > > well then clearly we'd need to support both and have an option for > > switching between the two. > > > > Another thing that would be worth doing is collecting a series of > > test > > models together to illustrate the problem, and provide a unit test > > for > > us going forward. > > > > Robert. > > _______________________________________________ > > osg-submissions mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
