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

Showcase your libraries, tools and other projects that help your fellow love users.
PGUp
Citizen
Posts: 98
Joined: Fri Apr 21, 2017 9:17 am

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

Post by PGUp » Tue Jun 11, 2019 10:52 am

world position to screen position please?
-

PGUp
Citizen
Posts: 98
Joined: Fri Apr 21, 2017 9:17 am

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

Post by PGUp » Sun Jun 16, 2019 2:26 pm

I added a simple obj file loader, credits to: https://github.com/karai17/lua-obj
loader.zip
(341.23 KiB) Downloaded 46 times
-

User avatar
groverburger
Prole
Posts: 7
Joined: Tue Oct 30, 2018 9:27 pm

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

Post by groverburger » Thu Jun 20, 2019 6:54 am

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. :)

User avatar
Lafolie
Inner party member
Posts: 804
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

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

Post by Lafolie » Fri Jul 05, 2019 9:20 pm

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.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests