I made this demo to quickly demonstrate how to use Blade3D, a 3D rendering API I'm working on. It doesn't make full use of the API, but it does give you a starting point if you want to make your own projects using (this version of) Blade3D. Hopefully I can make a slightly more comprehensive introduction to the API with full documentation in the near future, but for anyone willing to look at the underlying code, it should be pretty easy to accomplish whatever you need with just this template.
Something that isn't included in the template is a .obj to .ptm converter, which is provided here. It expects the .obj to include material references (not the .mtl file itself) and for the mesh to be triangulated.
@maleficmax It's prebaked as a texture. At the moment Blade3D does not have any dynamic shading, although it is being worked on.
Holy Molly! The only thing that bothers me here is the CPU load :D
It means we really can't do anything better than pico8 3d stuff, right?
Or even less because it seems that increased picotron cpu frequency was all eaten up by the larger resolution.
@maleficmax The increased resolution isn't actually that big of an issue. It's the triangle preparation that costs the most, and there are things in Picotron's future that will speed up that process by a decent margin. In this demo, the lines are actually taking up a decent chunk of the CPU, since they haven't been so aggressively optimized. I plan to have a wireframe type model at some point as well which should speed up line drawing significantly.
[Please log in to post a comment]