Hello,
I use in my code the function "read" like this :
NodePtr nodeOFF = SceneFileHandler::the().read(myOffFile.off) ;
That construct the geometry of my model describe in OFF format, and store it in
nodeOFF.
Now, I have to construct a real time application that load the meshs
transmitted in the same manner that OFF, but not via files, but via network
(ComLayer), so I will receive the same data that was in myOffFile, but as
arrays. I would like to apply the same construction that the Read() function
make, so I need to create a function quite similar, adapting the code to get
the coords, and the triangle by giving then directllly instead of parsing a
file.
My problem is I can not find where is implemented this function in the OpenSG
library, I've benn browsing the Doxygen page for a few hours, and can't find
where is made the construction of the geometry when parsing an Off File.
If someone knows, it could help, thanks
---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses.
-------------------------------------------------------------------------
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
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users