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.
|September 2015 Issue of Linux Journal: HOW-TOs||Sep 01, 2015|
|September 2015 Video Preview||Sep 01, 2015|
|Using tshark to Watch and Inspect Network Traffic||Aug 31, 2015|
|Where's That Pesky Hidden Word?||Aug 28, 2015|
|A Project to Guarantee Better Security for Open-Source Projects||Aug 27, 2015|
|Concerning Containers' Connections: on Docker Networking||Aug 26, 2015|
- Optimization in GCC
- Using tshark to Watch and Inspect Network Traffic
- Problems with Ubuntu's Software Center and How Canonical Plans to Fix Them
- Concerning Containers' Connections: on Docker Networking
- A Project to Guarantee Better Security for Open-Source Projects
- Where's That Pesky Hidden Word?
- Firefox Security Exploit Targets Linux Users and Web Developers
- September 2015 Issue of Linux Journal: HOW-TOs
- My Network Go-Bag
- Doing Astronomy with Python