Are there any tips or guidelines for porting OpenSG 1.x code to 2? In
particular, I want to port the manipulators, which includes a few different
field containers. I started looking into it yesterday but got stuck pretty
quickly because, honestly, I don't know where to begin or what sorts of
things to expect.

The first thing I did (after copying the code into the OpenSG 2 source tree
under Source/System/Manipulators) was to try running fcd2code on one of the
.fcd files. This did nothing, so I can only assume that I am not running
fcd2code correctly. I ran it from Source/System/Manipulators as shown below:

   ../../../Tools/fcd2code/fcd2code -dOSGManipulator.fcd

I also ran the convScript tool on the whole Manipulators directory, and no
changes were made to the code. If my interpretation of the available
operations is correct, then this outcome is not surprising.

If nothing else, what would be very helpful is to get a tip about what code
in OpenSG 1.x and 2 that I could compare as a way to see what changes need
to be made. Of course, if there is something about porting the OpenSG 1.x
manipulators to OpenSG 2 would make this a wasted effort, knowing that would
be good, too. :)

 -Patrick


-- 
Patrick L. Hartling
VP Engineering, Infiscape Corp.
http://www.infiscape.com/

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to