73

Converter from Wavefront OBJ to JavaScript Object Notation

 5 years ago
source link: https://www.tuicool.com/articles/hit/mYv6nyU
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
be2iyiu.jpg!webqQzyY3Q.jpg!web

Today I would like to introduce a converter of 3D objects to JavaScript. The converter creates a JavaScript Object Notation file from a Wavefront OBJ file .

What is Wavefront OBJ?

OBJ (or .obj) is an open file format for storing three-dimensional geometric shapes. The format developed by Wavefront Technologies is supported by many 3D graphics programs and is therefore suitable for the cross-platform and cross-platform distribution of 3D models.

The OBJ format stores geometric properties of an object or grouped objects, ie, corners, texture coordinates, normals, surfaces, and smoothers. Optical material properties (eg mirroring, transparency, highlight, etc.) are defined in a separate material file, which may also contain information on texturing. The material file usually has the file extension .mtl (from English material template library) and can be referenced in the actual OBJ file.

Read more…


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK