Conix 3-D Explorer
OpenGL programs can be written directly within Mathematica with the help of GLExplorer. All of the OpenGL core functions are accessed with the prefix gl, such as glBegin[GlLineStrip] or glVertex[0,0]. Similarly, the OpenGL Utility library functions are accessed with the glu prefix. This is just as you would use them in any other OpenGL application written in C, for example (although C syntax differs from Mathematica's—the function names are the same). In the case of windowing commands, GLExplorer prefixes commands with glM, such as glMCreateWindow or glMGetWindowOptions[glwin,ErrorTrapping,ImageSize].
The section in the User's Guide on using these direct access commands to OpenGL is limited to defining their use. It leaves the explanation of what they are used for to the canonical texts on OpenGL from Addison Wesley, which are quite good. If you intend to become more familiar with OpenGL for use with Mathematica and GLExplorer, I highly recommend these books.
Overall, the speed of GLExplorer's rendering engine is very good. I use a Cyrix 200 with 64MB of memory and none of the examples in the on-line manuals took more than a few seconds to generate. They also reacted interactively quite well—interactive rotation and translation of the displayed images was smooth and immediate. This is all done with software acceleration; no 3-D hardware acceleration was used. It should be noted, however, that few lights were used in the examples and the distributed OpenGL libraries could not be compared to similar software-accelerated libraries from Mesa or Xi Graphics.
GLExplorer offers the user a method of building an OpenGL-based image from a command line, step by step. You can even use Mathematica to write an OpenGL program and run it directly from within Mathematica, then let GLExplorer handle the image display and interaction for you.
In setting out to write this review, I wanted to discover if a novice user such as myself could get up and running fairly quickly. As it turns out, with the fairly good 3-D Explorer documentation and Mathematica's terrific Help browser, I was able to find my way around both tools quite easily. If you are looking for a way to integrate your Mathematica notebook graphics with OpenGL, Conix 3-D Explorer may just be your ticket.
Free DevOps eBooks, Videos, and more!
Regardless of where you are in your DevOps process, Linux Journal can help!
We offer here the DEFINITIVE DevOps for Dummies, a mobile Application Development Primer, and advice & help from the expert sources like:
- Linux Journal
- Be a Mechanic...with Android and Linux!
- New Products
- Users, Permissions and Multitenant Sites
- Flexible Access Control with Squid Proxy
- Security in Three Ds: Detect, Decide and Deny
- DevOps: Everything You Need to Know
- High-Availability Storage with HA-LVM
- Solving ODEs on Linux
- Tighten Up SSH
- Non-Linux FOSS: MenuMeters