A text based 3D model editor following basic syntax of the .obj format.
obj-editor provides an interface to edit your mesh data and see the changes live instead of having to open the .obj in a tool like blender with every change you make to the raw text.
- Lines starting with
v
and followed by three numbers seperated by whitespace are vertices - Lines starting with
vn
and followed by three numbers seperated by whitespace are vertex normals which decide the how light calculation works. - Lines starting with
f
and followed by three values in the format off v/vt/vn v/vt/vn v/vt/vn
are faces withv
being vertex,vn
being vertex normals andvt
being vertex textures
Vertex textures, beziers and some other freeform geometry .obj features are not used in this app for simplicity purposes. We also define exactly three vertices in one face line as there is no direct support for triangulation.
for samples of shapes: .obj primitives
for more details: https://cs.wellesley.edu/~cs307/readings/obj-ojects.html
- hold left mouse button and move to rotate around scene origin
- hold middle mouse button and move to pan
- hold right mouse button and -
- move mouse to look around in FPV
- press W,A,S,D,Q,E for movement
https://github.com/ogxd/normals-effect-unity
https://github.com/xttx/Unity-Runtime-ScriptEditor/tree/master/Script-Editor