Groverburger's 3D Engine (g3d) v1.5.2 Release
Re: Groverburger's Super Simple 3D Engine - v1.2
I added a simple obj file loader, credits to: https://github.com/karai17/lua-obj
-
- groverburger
- Prole
- Posts: 49
- Joined: Tue Oct 30, 2018 9:27 pm
Re: Groverburger's Super Simple 3D Engine - v1.2
Computed in the last line of the vertex shader:
Code: Select all
return view * model_matrix * vertex_position;
This is great! I'll credit you and use it in the official repo if you don't mind.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
Re: Groverburger's Super Simple 3D Engine - v1.2
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.
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: Groverburger's Super Simple 3D Engine - v1.2
How does one make 3D objects without typing those vertices for objects?
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Groverburger's Super Simple 3D Engine - v1.2
You don't I mean, you could write a function for simpler shapes, and/or use a model loader for loading in more complex models (which are also made up of tons of vertices anyway).yetneverdone wrote: ↑Tue Sep 17, 2019 1:35 am How does one make 3D objects without typing those vertices for objects?
Edit: lua-obj i'm guessing is an OBJ format loader, and i do recall there being an IQM format loader as well... yep, here: https://github.com/excessive/iqm-exm
Last edited by zorg on Tue Sep 17, 2019 11:02 am, edited 1 time in total.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
- yetneverdone
- Party member
- Posts: 448
- Joined: Sat Sep 24, 2016 11:20 am
- Contact:
Re: Groverburger's Super Simple 3D Engine - v1.2
I see.zorg wrote: ↑Tue Sep 17, 2019 5:06 amYou don't I mean, you could write a function for simpler shapes, and/or use a model loader for loading in more complex models (which are also made up of tons of vertices anyway).yetneverdone wrote: ↑Tue Sep 17, 2019 1:35 am How does one make 3D objects without typing those vertices for objects?
Above comment uses lua-obj, I'll wait for ss3d tp to include that
My GameDev Website
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
Going Home:A Pixelated Horror Game
My Repositories!
Follow me lovingly!
Nga pala, pinoy ako.
- groverburger
- Prole
- Posts: 49
- Joined: Tue Oct 30, 2018 9:27 pm
Re: Groverburger's Super Simple 3D Engine - v1.3
New version on Github, version 1.3. Obj import added.
Re: Groverburger's Super Simple 3D Engine - v1.3
Hi.
I forked your repo and made some changes without changing any logic. Mainly its about avoiding globals and removing double calculations. I made a pull request for you. You may also want to look into my branch "folder-test". I moved engine and reader into a engine subfolder. This would make it easier to add more addons to your engine and keeps things sorted in one place.
I forked your repo and made some changes without changing any logic. Mainly its about avoiding globals and removing double calculations. I made a pull request for you. You may also want to look into my branch "folder-test". I moved engine and reader into a engine subfolder. This would make it easier to add more addons to your engine and keeps things sorted in one place.
Re: Groverburger's Super Simple 3D Engine - v1.3
But how do you rotate the camera? camera.angle doesn't seem to help. Would I have to combine it with camera.pos to get a turn-table animation!
My Github- your contribution is highly appreciated
Who is online
Users browsing this forum: No registered users and 2 guests