Jump to content
  • Advertisement
Sign in to follow this  
Tipotas688

OpenGL Read in ACII files using JOGL

This topic is 3617 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am new to OpenGL and I am trying to read in an ASCII file using java so that I can import the laubunny.ply from the Nbunny.zip in http://www.cs.ucl.ac.uk/staff/Joao.Oliveira/ply.html . I have created a reader that reads all the values of the file but now I am not sure how and where to put these values. I want to use only the x,y,z at first so some parts can be omitted from the file. I would guess that the file is divided into these parts as the values change as you read through the file: -header -vertices x,y,z -faces How can I use these to create a bunny using openGL in java?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!