java - How to parse or load .obj file in JOGL? -


i'm trying load car object made 3ds max jogl program don't know how that. have searched online haven't gotten result.

i tried this got no result.

is there tutorial on how that? or how write own loader? or written class can use?

here limited loader obj format written in java (but unfortunately using lower-level lwjgl instead of jogl) oskar veerhoek part of the coding universe website. pass file object references obj file class using either loadmodel(file f) method or loadtexturedmodel(file f) method. returned model object contains 3d model described obj file. should pass model object provided utility methods createtextureddisplaylist(model m), createdisplaylist(model m), or createvbo(model model). return renderable vertex buffer object or display list can use part of render. note write own model renderable method if provided don't meet needs, highly recommend understanding/reading provided methods first.

an alternative more full-featured the joglobj library written in java using jogl. loader more complete, doesn't correctly handle transparency , textures in ways. using loader require this dependency (which used parse obj file).

another alternative the oobjloader library, "is java library parsing , loading wavefront .obj files."

if none of these meet needs please refer other similar questions, such this question user skaffman. additionally, gaming development specific stack exchange place similar related questions . this question section discusses correctly loading obj files.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -