Skip to content
This repository was archived by the owner on May 23, 2019. It is now read-only.

Longor1996/OBJLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OBJLoader

A small and simple library for reading Wavefront *.OBJ files. To actually get the result from the loader, you will have to implement a IOBJOutput class, that takes the output of the loader and puts it into a usable form for the application.

The simple way to load a model:

OBJLoader.loadModel(scanner, objectOutput);

The (slighty) more complicated way to load a model:

OBJLoader ol = new OBJLoader();
ol.setInput( scanner );
ol.setOutput( objectOutput );
ol.setTessellate( true );
ol.setNormalizeNormals( false );
ol.setSubtractOneFromIndices( true );
ol.setClampTextureCoordinates( false );
ol.process();

It is possible to run the OBJLoader in a multi-threaded environment by making use of the 'OBJLoader.run()' method.

About

Discontinued: Use Assimp (included in LWJGL3) instead; A small and simple library for reading Wavefront *.OBJ files.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages