Development Resource Project
A Simple ISAPI Filter for Authentication on IIS
ENUMs, User Preferences, and the MySQL SET Datatype
JQuery Venetian Blinds Transition Effect
Getting Set up with Ogre 3D on Ubuntu
Enforce Coding Standards with PHP_CodeSniffer and Eclipse IDE on Ubuntu Linux

The IFS Modeller

Sunday, 22 January 06, 12:00 am
This little program allows you to create IFS models suitable for use in G3D programs. An IFS model can be built from an array of vertices with an associated array of indicies. The indices refer to offsets in the vertex array, and are grouped in sets of three - representing the triangular faces of the model.

So far, my program allows you to:
  • Add a new vertex at the origin
  • Select a vertex with the TAB key
  • Move the selected vertex with the numpad arrow keys
  • Zoom in and out using the numpad plus and minus keys
  • Revolve the camera around the model (xz plane) by moving the joystick left and right
  • Align the previously selected vertex with the current one
The next two steps are 1) allow a vertex to be selected by clicking with the mouse and 2) allow a set of three vertices to be linked together to form a triangular face.

At that point, I'll be ready to test everything by saving the vertex and index arrays as an IFS model, and then loading it in another G3D program.

compton

7:00 am, Monday, 6 March 06

The latest version can:

  • Select a vertex with the mouse

  • Designate a set of 3 vertices as a face

  • Save the model as an IFS

  • Load an IFS model and edit it


Currently lacking is texture map support. The modeller could help by creating the texCoords for the model. For each face, it would generate the 2D points on the texture map. This would produce a texCoord for each vertex, which may not be necessary. Instead, the user could make the selected vertex a texCoord, entering somehow the corresponding 2D coordinates of the texture map.

Please enter your comment in the box below. Comments will be moderated before going live. Thanks for your feedback!

Cancel Post

/xkcd/ Geometriphylogenetics