Jump to content
  • Advertisement
Sign in to follow this  

OpenGL Read in ACII files using JOGL

This topic is 3677 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
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!