Hi,
I am new to OpenSG and have a question as follows,
I am loading a VRML file to display in my OpenSG scene , whenever I
load the vrml file and dispaly, the object is created far away from
the center or orign.
I have to write a general purpose code that can bring that object
approximately to the orign of the 3D coordinate system.
I have read about translations a bit, but to apply a transformation or
translation, I have to know what is the current position of my Node
loaded through VRML file based upon which I can calculate my Matrix
for translation. and I dont know exactly how to get current position
of my object loaded through VRML file.
Any coding example to find position and calculate translation Matrix
would be really helpful ,
Thank you so much,
Regards,
Ahmed

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to