Hi Sukender,

I've applied your changes, including your WriterNodeVisitor.h for the
original .zip from this thread and get the compile error:

/home/robert/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:536:
error: ‘_imageSet’ was not declared in this scope

So clearly the WriteNodeVisitor.h from the old .zip is not up to date
enough, could you please send me your WriteNodeVisitor.h.

Robert.


On Tue, Jan 26, 2010 at 4:35 PM, Sukender <[email protected]> wrote:
> Hi again Robert,
>
> I had different errors than yours.
>
> I successfully tried:
> - osgconv cow.osg cow.3ds
> - osgconv glider.osg glider.3ds
>
> I don't understand the crashes you encountered.
> However, I must admit textures and colors are not exported very well. This 
> may be addressed later I guess.
>
>
> I successfully FIXED:
> - osgconv cow.3ds cow2.3ds
>
> Sorry I forgot "if (options) ...".
>
> BTW, what did you revert?
>
> Sukender
> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
>
> ----- "Sukender" <[email protected]> a écrit :
>
>> Hi Robert,
>>
>> Extremely strange. Going to investigate.
>> Thanks.
>>
>> Sukender
>> PVLE - Lightweight cross-platform game engine -
>> http://pvle.sourceforge.net/
>>
>> ----- "Robert Osfield" <[email protected]> a écrit :
>>
>> > Hi Sukender,
>> >
>> > On Tue, Jan 26, 2010 at 3:44 PM, Robert Osfield
>> > <[email protected]> wrote:
>> > > Could you have a look at these.  I'll revert my local changes till
>> > > you've cleared up this issue.
>> >
>> > I reverted your changes but still got the hang in exactly the same
>> > place with:
>> >
>> >   osgconv cow.osg cow.3ds
>> >
>> > Curiously osgconv glider.osg glider.3ds works fine.
>> >
>> > Your changes don't seem to warrant an all clear though, as I could
>> > write glider.3ds and then re-read it successfully with osgviewer
>> > prior
>> > to applying to latest changes, but in just re-applying them just now
>> > the write glider.3ds does crash, but the reading of this file
>> results
>> > in a seg fault.
>> >
>> > I've tried a couple of other 3rd party .3ds files and new code
>> you've
>> > sent crashes when trying to load all of them.  Stack trace is:
>> >
>> > (gdb) where
>> > #0  0x00007f99b7d813bb in
>> ReaderWriter3DS::ReaderObject::ReaderObject
>> > () from
>> /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so
>> > #1  0x00007f99b7d84d6d in ReaderWriter3DS::constructFrom3dsFile ()
>> > from /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so
>> > #2  0x00007f99b7d855e1 in ReaderWriter3DS::doReadNode () from
>> > /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so
>> > #3  0x00007f99b7d82b63 in ReaderWriter3DS::readNode () from
>> > /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so
>> > #4  0x00007f99bb6e400c in osgDB::Registry::ReadNodeFunctor::doRead
>> ()
>> > from /home/robert/OpenSceneGraph/lib/libosgDB.so.63
>> > #5  0x00007f99bb6e2f4a in osgDB::Registry::read () from
>> > /home/robert/OpenSceneGraph/lib/libosgDB.so.63
>> > #6  0x00007f99bb6e35fd in osgDB::Registry::readImplementation ()
>> from
>> > /home/robert/OpenSceneGraph/lib/libosgDB.so.63
>> > #7  0x00007f99bb6e3b59 in osgDB::Registry::readNodeImplementation ()
>> > from /home/robert/OpenSceneGraph/lib/libosgDB.so.63
>> > #8  0x00007f99bb6d1331 in osgDB::readNodeFile () from
>> > /home/robert/OpenSceneGraph/lib/libosgDB.so.63
>> > #9  0x00007f99bb6d277d in osgDB::readNodeFiles () from
>> > /home/robert/OpenSceneGraph/lib/libosgDB.so.63
>> >
>> > I'll wait for fixes to the write of cow.3ds and the read of .3ds
>> > before merging any of the changes put forward in this thread.
>> > 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
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to