Help end child hunger

The JSON format is an easy and simple way to get 3D models uploaded into a WebGL application. Lighthouse3D provides a tool (source code and visual studio project available) that uses Assim to read standard 3D model files (OBJ, Collada, 3ds, among many others) and produces a JSON formatted file containing the vertex information (positions, normals and tex coords) as well as material description.

An example of a WebGL page where such content is used is available in here.

vslSampleThe Very Simple * Libs pages have been updated, merging the information into less pages and adding a few relevant updates. The lib is now compatible with Assimp 3.0, and a bug which appeared with recent nvidia drivers when using multiple shaders with uniform blocks has been fixed.

The sample code has been updated to reflect these changes and a Visual Studio 2012 project is included.

multisampleThe code sample for importing and displaying 3D models with Assimp, using modern OpenGL, has been updated to cover Assimp 3.0.

A Visual Studio 2010 project has also been added to help readers to get started.

Two more libs are available in the VS*L framework. With these new additions it is possible to use Assimp to load 3D models, and render them with core OpenGL. The libs store the meshes in VAOs, and use VSShaderLib and VSMathLib to simplify the rendering with shaders with almost any uniform variable configuration.

This is an OpenGL 3.3 + GLSL 3.3 sample that loads and displays a 3D model with Assimp. It also uses DevIL in case the model has textures. It was based on Assimps OpenGL demo and it extends it to support OpenGL 3.3

The sample uses Texturing, Vertex Array Objects, and Uniform Blocks. Camera can move around the object using the mouse, and the mousewheel can be used to zoom on the model, courtesy of freeglut.

© 2014 Lighthouse3d.com Suffusion theme by Sayontan Sinha