Re: DXF, OSG and Mathematica (OpenGL)
- To: mathgroup at smc.vnet.net
- Subject: [mg62270] Re: DXF, OSG and Mathematica (OpenGL)
- From: hattons at globalsymmetry.com
- Date: Fri, 18 Nov 2005 05:57:58 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
AFAIK, DirectX is strictly a Microsoft standard, and is thus not available to me. I experimented around a bit with DXF exported from Mathematica, and viewed with OpenSceneGraph. I was able to view simple stuff such as <<Graphics`Shapes`Torus, but I was not able to get any of the color to show. I tried exporting some of the graphics from The Mathematica GuideBook for Programming, and that did not work. OpenSceneGraph claimed to read the file, but did not show anything. As for Java, there is - as I suspect you know - LiveGraphics3D. http://wwwvis.informatik.uni-stuttgart.de/~kraus/LiveGraphics3D/index.html It doesn't use any of the Java3D library, and I am not sure how much it can leverage graphics hardware. I am confident that creating an OpenSceneGraph viewer for Mathematica would be relatively easy. I suspect it would be far easier than rewriting MathGL3D. Be forewarned, the OSG philosophy is "Use the source Luke." IOW, the source code /is/ the documentation. I don't believe that ThreeScript, or DXF are the best approaches to creating an ideal Mathematica OpenGL grapics viewer using OSG. I suspect something more specifically tuned to OSG would provide a better tool. Link to the forum page for this post: http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=6090#p6090 Posted through http://www.mathematica-users.org [[postId=6090]]