PDA

View Full Version : how to display .ply models



victorswan
05-27-2001, 07:37 PM
does any one know how to read and display .ply models, I have got the read and write .ply file code, but I am a beginner, and don't know how to display it?

Deiussum
05-29-2001, 05:59 AM
I'm not familiar with .ply files, but if you already know how to read it, just read that data into something like an array and then use that data in your OpenGL calls like glVertex, etc.

If you mean you don't know how to initialize and display things in OpenGL, then I would suggest looking at http://nehe.gamedev.net/opengl.asp or finding a copy of the "Red Book." (Do a search on the Red Book on these forums. You'll find links that you can download it from if you don't want to buy it.)