www.xbdev.net
xbdev - software development
Monday July 15, 2024
Home | Contact | Support | 3D File Formats The bits and bytes... | OBJ 3D File Formats The bits and bytes...
>>
     
 

OBJ 3D File Formats

The bits and bytes...

 


OBJ File Format (.obj)


The `obj` file format is a text based format.

Example of what the file format looks like in a text editor:



Example obj file loader (in Javascript)


The following `obj` file loader is in a single file. Also converts non-triangle (quad) mesh elements to triangles.


Output for the example OBJ Loader - loads in a 3d model of a Stadium
Output for the example OBJ Loader - loads in a 3d model of a Stadium




Resources and Examples


• WebGPU Example [LINK]

• Notebook `obj` to `json` Example [https://notebook.xbdev.net/index.php?page=objtojson&]








 
Advert (Support Website)

 
 Visitor:
Copyright (c) 2002-2024 xbdev.net - All rights reserved.
Designated articles, tutorials and software are the property of their respective owners.