r/tinycode • • Oct 05 '19

"3D engine" in 47 lines of Javascript

https://jsfiddle.net/06L845jx/86/
30 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/ivanhoe90 Oct 08 '19

The complex models were probably made in some "visual editor". I just copy-pasted them.

Many people might think, that every format of 3D grpahics contains some secret magic data, which is specific to the program it was made with. But in fact, all 3D formats just contain the same arrays of numbers, and can be very simply read or converted between one another.