Monthly Archives: December 2010

Pure Rb Code 3D – Topology – Points

OpenGL when it draws has a few choices of the ‘topology’ it uses to render. One of them is GL_Points. See Table 2.1. Another is GL_Lines. Our engine at this stage is using lines to render the triangles. This project … Continue reading

Posted in Code | Leave a comment

Pure Rb Code 3D – Icosahedron

And one other geometric shape, a icosahedron. Wiki Definition OK, enough of that, the plg format and how this wireframe engine works should be pretty clear by now. Download Projects Here ….. Next installment will be to load up more … Continue reading

Posted in Code | Leave a comment

Pure Rb Code 3D – Tetrahedron

A short entry today. I’ve created a new plg text file that defines a tetrahedron. I found some files on the net that defined this shape and adapted them to the plg format; easily done actually. A tetrahedron is a … Continue reading

Posted in Code | Leave a comment

Pure Rb Code 3D – Spinning Cube – Backface Removal

In this project we are going to add the ability to remove backfaces. A back face is a triangle that makes up your 3D object that is facing away from the camera. We’re still in the wire frame stage of … Continue reading

Posted in Code | Leave a comment

Pure Rb Code 3D – Spinning Cube

Project two continues where our spinning triangle left off. Our first change is I’m using a text file, a ‘plg’ format that defines our model for this project. Remember, our engine only knows how to deal with triangles, to we … Continue reading

Posted in Code | Leave a comment

Pure Rb Code 3D – Spinning Triangle

One of the reasons I have used REAL Studio aka REALbasic (Rb) for over a decade now, is because of a general interest in 3D programming. It’s always fascinated me how a virtual 3D world can be created on a … Continue reading

Posted in Code | Leave a comment