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
vand followed by three numbers seperated by whitespace are vertices - Lines starting with
vnand followed by three numbers seperated by whitespace are vertex normals which decide the how light calculation works. - Lines starting with
fand followed by three values in the format off v/vt/vn v/vt/vn v/vt/vnare faces withvbeing vertex,vnbeing vertex normals andvtbeing 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