Page 2 of 2

Re: Groverburger's Super Simple 3D Engine - v1.2

Posted: Tue Jun 11, 2019 10:52 am
by PGUp
world position to screen position please?

Re: Groverburger's Super Simple 3D Engine - v1.2

Posted: Sun Jun 16, 2019 2:26 pm
by PGUp
I added a simple obj file loader, credits to: https://github.com/karai17/lua-obj
loader.zip
(341.23 KiB) Downloaded 73 times

Re: Groverburger's Super Simple 3D Engine - v1.2

Posted: Thu Jun 20, 2019 6:54 am
by groverburger
PGUp wrote:
Tue Jun 11, 2019 10:52 am
world position to screen position please?
Computed in the last line of the vertex shader:

Code: Select all

return view * model_matrix * vertex_position;
You could use that and do the matrix math to find the screen position.
PGUp wrote:
Sun Jun 16, 2019 2:26 pm
I added a simple obj file loader, credits to: https://github.com/karai17/lua-obj
loader.zip
This is great! I'll credit you and use it in the official repo if you don't mind. :)

Re: Groverburger's Super Simple 3D Engine - v1.2

Posted: Fri Jul 05, 2019 9:20 pm
by Lafolie
Super cool. I'm doing research for a metroidvania project at the moment and this would be really useful. Are there any plans to have an orthographic viewport? I would like to support simple low-poly objects such as the doors, books, and the background clock tower featured in Symphony of the Night, and to get that pixel-perfect PSX feel orthographic seems to be the way to go.