Login  Register

Re: Loading and drawing .obj models

Posted by Demoscene Passivist on Mar 21, 2011; 12:15pm
URL: https://forum.jogamp.org/Loading-and-drawing-obj-models-tp2708428p2709656.html

U may have a look at my port of the .obj loader from JGL-Mark for JOGL2: WavefrontObjectLoader_DisplayList.java

The class has a convenience method loadWavefrontObjectAsDisplayList(GL2 inGL,String inFileName) wich returns a display list id to be used out-of-the-box in ur code. Guess this class is as easy as it gets ...