|
| File: |
|
| Description: |
A command-line program that calculates a quaternion Julia set and then writes the corresponding isosurface to a binary Stereo Lithography file.
Supports custom-defined iterative equations, such as:
Z = Z^4 + C
Z = sin(Z) + C * sin(Z)
Z = inverse(sinh(Z)) + C * inverse(sinh(Z))
etc.
See quaternion_math.h for a full list of supported quaternion functions.
Compiles using g++ and MSVC++.
Don't forget to link in the OpenGL/GLUT/GLU/GLEW libraries (ie. g++ *.cpp -lGL -lglut -lGLU -GLEW).
Changes to v2.0:
- Removed non-fundamental quaternion functions from the library (ie. versine(), which you can still replicate by using the fundamental functions).
- Added GPU acceleration via OpenGL/GLUT/GLEW -- make sure that you have the latest graphics drivers installed! If GPU acceleration fails for some reason (ie. bad drivers), the CPU version automatically kicks in. The GPU acceleration makes quite a bit of a difference (a speed increase that's an order of magnitude or more) for large grid resolutions.
- Added post-processing step to fix cracks in the mesh that are generated by Marching Cubes. |
| SHA1 Checksum: |
01c28a8bb533b5c6a65f15f07cd8e91cc0c6bcce
What's this?
|
|
|