Hi Daniel, > [snip] > > > > dolphins.obj->.osb doesn't work > > > > [EMAIL PROTECTED] Tutorials]$ ./loading ~/Data/dolphins.osb > > WARNING: NFIOGeneric::readFCPtr: skipping unknown field container > > 'FileInfo'. > > WARNING: NFIOGeneric::readFCPtr: skipping unknown field container > > 'MaterialPool'. > > WARNING: NFIOBase::readFCPtr: skipping unknown field > 'transparencyMode' > > with type 'SFInt32'! > > WARNING: NFIOBase::readFCPtr: skipping unknown field > 'transparencyMode' > > with type 'SFInt32'! > > WARNING: NFIOBase::readFCPtr: skipping unknown field > 'transparencyMode' > > with type 'SFInt32'! > > WARNING: NFIOBase::chargeFieldPtr: couldn't find FieldContainer > with id 818 > > these are harmless warnings, FileInfo is special vred attachment and the > MaterialPool node and the transparencyMode field is not ported yet to > OpenSG 2.0. I just loaded the dolphins.osb (OpenSG 1.8) into > testWindowGLUT.exe without any problems. What test program did you use > and how old is your OpenSG 2.0 version? > > > > I loaded a dolphins.osb that was converted with 1.8 into 10loading that > is using the latest svn sources.
ah ok I ported the 10loading tutorial and it works fine. I suppose you forgot the following line after SceneFileHandler::the()->read() Thread::getCurrentChangeList()->commitChanges(); The begin/endEditCP stuff is gone but you need to call a commitChanges() once perhaps we should move this into the render update. Andreas > > > > > > > Also, the SSM won't show the statistics and > > > smgr->showAll() doesn't seem to work. > > hmm perhaps this is your problem the osb loading worked fine but the > showAll didn't work. > > > > The showAll() didn't work for models that it loaded and rendered. > > -Dan > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
