Skip to content

hemanth2004/obj-editor-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

obj-editor-unity

a text based 3D model editor following basic syntax of the .obj format

simple-obj-editor provides an interface to edit your 3d model / unity mesh / .obj file text data and see the changes live.

a brief how-to:

  1. lines starting with v and followed by three numbers seperated by whitespace are vertices

  2. lines starting with vn and followed by three numbers seperated by whitespace are vertex normals which decide the how light calculation works.

  3. lines starting with f and followed by three values in the format of

f v/vt/vn v/vt/vn v/vt/vn

are faces with v being vertex, vn being vertex normals and vt being vertex textures (vertex textures, beziers and other freeform geometry .obj features are not used in this app for simplicity purposes). we define three vertices in one face line as this doesn't directly support triangulation

for more details: https://cs.wellesley.edu/~cs307/readings/obj-ojects.html

movement:

  1. hold left mouse button and move to rotate around scene origin

  2. hold middle mouse button and move to pan

  3. hold right mouse button and press W,A,S,D,Q,E for movement

open source licences

https://github.com/ogxd/normals-effect-unity

https://github.com/xttx/Unity-Runtime-ScriptEditor/tree/master/Script-Editor

https://github.com/yasirkula/UnityRuntimePreviewGenerator

https://pastebin.com/tVdF8bNG

About

a live text/code editor for 3D modelling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published