Search found 3591 matches

by Jasoco
Sat Oct 23, 2021 5:51 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 485033

Re: Groverburger's 3D Engine (g3d) v1.4 Release

For sure, g3ds vertex shader gives you access to everything you need. I managed to implement some basic lighting based on this tutorial I saw Groverburger's Flamerunner does lighting too. I have a lot to learn and I'm really excited. I was getting tired of fumbling around with a slow raycaster. As ...
by Jasoco
Sat Oct 23, 2021 4:56 pm
Forum: Games and Creations
Topic: Lead Haul - Old-school space pirate FPS
Replies: 36
Views: 58524

Re: Lead Haul - Old-school space pirate FPS

I've already played LeadHaul to death. It's the only reason I'm still going with my project and have decided to completely scrap everything I've done to do it right. LeadHaul combined with all of Groverburgers 3D projects have given me the push I need to finally hopefully realize the dream I had sin...
by Jasoco
Sat Oct 23, 2021 3:58 pm
Forum: Games and Creations
Topic: Lead Haul - Old-school space pirate FPS
Replies: 36
Views: 58524

Re: Lead Haul - Old-school space pirate FPS

I tried PicoCAD but it saves the polygons as quads instead of triangles. So I tried to Google and found a utility that's supposed to let you convert your PCAD files to be triangulated. But it wont launch on my system and macOS complains that it's suspicious. So when it finally opens it's just a blan...
by Jasoco
Sat Oct 23, 2021 3:11 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 485033

Re: Groverburger's 3D Engine (g3d) v1.4 Release

Sure, Keep in mind, I'm still not a shader guy :) First, Define that shader somewhere, I'm sure you don't need help with that part. The model:draw() function in g3d is supposed to be able to take a shader as an argument, But i didn't have much success with that. So i slightly altered the shader def...
by Jasoco
Fri Oct 22, 2021 11:52 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 485033

Re: Groverburger's 3D Engine (g3d) v1.4 Release

There is. Conveniently i was just in the process of figuring this out for my game :) fog.gif Before i continue i want to get across that i'm not a huge shader guy, So there might be many things wrong with this. Maybe someone can check my work here. You need to write a custom shader to achieve this....
by Jasoco
Fri Oct 22, 2021 11:49 pm
Forum: Games and Creations
Topic: Lead Haul - Old-school space pirate FPS
Replies: 36
Views: 58524

Re: Lead Haul - Old-school space pirate FPS

That was just how it looked when I replaced the older version in your project with the new one released by Groverburger. Now we know the cause and that's not an issue anymore. I was able to use the newer version of the library and modified the wall and floor/ceiling creation code from your version t...
by Jasoco
Fri Oct 22, 2021 6:12 pm
Forum: Games and Creations
Topic: Lead Haul - Old-school space pirate FPS
Replies: 36
Views: 58524

Re: Lead Haul - Old-school space pirate FPS

I guess it's this commit? https://github.com/groverburger/g3d/commit/4a2d7072b673a46136454ac37f81ca13d7526477 ... In short, if you fix your models to work with Z=up, any math you have to do will be easier and the formulas you can find e.g. on Wikipedia will work out of the box. Yeah I was wondering...
by Jasoco
Thu Oct 21, 2021 3:19 pm
Forum: Games and Creations
Topic: Lead Haul - Old-school space pirate FPS
Replies: 36
Views: 58524

Re: Lead Haul - Old-school space pirate FPS

So I decided to download g3d itself as well sa this game and placed the current version of the library in my project and set up a workspace to play around. I copied some of your code for generating the level walls and stuff and copied over the door model and tried to get it working. But for some rea...
by Jasoco
Tue Oct 19, 2021 7:43 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 485033

Re: Groverburger's 3D Engine (g3d) v1.4 Release

I'm so excited to start playing around with this! I'm currently working on a 3D raycaster but have really been hitting a wall performance wise. I was doing it the old-fashioned way of casting actual rays and drawing walls a line at a time but performance on just the raycasting part was using a lot o...
by Jasoco
Sun Oct 17, 2021 4:13 am
Forum: Games and Creations
Topic: Lead Haul - Old-school space pirate FPS
Replies: 36
Views: 58524

Re: Lead Haul - Old-school space pirate FPS

Honestly, 45 fps on a 8 year old Mac book pro doesn't sound that bad. My old gaming laptop from around that time doesn't even boot up anymore and ran most games quite sluggishly in the years leading up to it kicking the bucket. To be honest I would be so curious to get as much data about how it per...