I have found may tutorials on loading an obj, but nothing on how to load it and use it with java, anyone have links to any useful tutorials?
Asked
Active
Viewed 6,410 times
2 Answers
2
The closest that I could find were:
Keep in mind that JOGL is a very low-level API. Some of the higher-level APIs (JMonkeyEngine, and Java3D) have sophisticated APIs built in for handling this sort of thing. With JOGL, you will be doing much of the work yourself. Obviously, there are advantages and disadvantages to each approach.

jsight
- 27,819
- 25
- 107
- 140
0
Not a tutorial, but how about some sample code? Unfortunately it uses the "Fixed Function Pipeline" rather than using the new "do everything with shaders" approach, but I like to think the code is clear.
http://darksleep.com/oObjLoader/
Also, I should note that it does use VBOs and not direct rendering or display lists, so it is fairly efficient.

Sean R Owens
- 94
- 1
- 3
-
I downvote because your example doesn't use JOGL, the source code is on Github: https://github.com/seanrowens/oObjLoader There are numerous examples using JOGL as you can see in my reply: http://stackoverflow.com/a/35072625/458157 – gouessej Jan 29 '16 at 18:37