Sample Programs Plans
This article was just a delay tactic while I wrote a framework for sample programs. Feel free to skip it.
Sample Stage #1
Mesh line intersection complete program sample code. This program draws a line under a mouse click, tests for intersections with a mesh, then draws a marker on intersection points. Uses OpenGL for rendering.
This is a triangle selection sample program code download. Triangles can be selected either by ray picking, or dragging out a selection rectangle to use triangle in frustum selection.
Now the loaded mesh can be textured and lit with gouraud shading.
Paint on Mesh
This sample program is now almost, but not quite, a useful program. You can paint on a mesh in the 3d viewport, and it will update the proper part of the texture using ray-triangle intersection.
Skeletal Animation | Pixel&Vertex Shaders | Lighting & Shadows | Collision Detection | Topic Overview | Building Blocks | Math | About this Blog | Off Topic