Pages: « 1 2 3
  Print  
Author Topic: Free Open 3D Mario Platformer  (Read 52341 times)
Offline (Male) Goombert
Reply #30 Posted on: June 14, 2014, 12:04:41 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
Good work Sorlok, DaSpirit wrote that INI extension but never finished. Second, the issues you are seeing with geometry are related to the model struct for GL1. Josh fixed it for GL3, it has to do with how we handle color, but he didn't add the fixes to GL1.

https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL1/GLModelStruct.h#L133
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL3/GL3ModelStruct.h#L137
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) sorlok_reaves
Reply #31 Posted on: June 14, 2014, 07:26:51 pm
Contributor
Joined: Dec 2013
Posts: 260

View Profile
Good work Sorlok, DaSpirit wrote that INI extension but never finished. Second, the issues you are seeing with geometry are related to the model struct for GL1. Josh fixed it for GL3, it has to do with how we handle color, but he didn't add the fixes to GL1.

https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL1/GLModelStruct.h#L133
https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Graphics_Systems/OpenGL3/GL3ModelStruct.h#L137

Thanks for the insight; I'll dig into this a little more, since it would be kind of fun to have Project Mario working properly on Linux too.
Logged
Offline (Male) Goombert
Reply #32 Posted on: June 14, 2014, 08:10:09 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
Yeah the reason is because the model classes use a hack that packs color into a single float, that was Josh's fix for Linux but he only applied it to GL3.

It's probably easier to review his commit and just make the same changes.
https://github.com/enigma-dev/enigma-dev/commit/b539ff0bee4b085532d8d0782d2518f83022ba3a

If you want, test it and see if it works, if it does send us a pull request.
« Last Edit: June 14, 2014, 08:11:42 pm by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) sorlok_reaves
Reply #33 Posted on: June 15, 2014, 08:18:37 pm
Contributor
Joined: Dec 2013
Posts: 260

View Profile
Yep, that did it. Along with the fixes in my branch (and the filename fixes in the zip I linked earlier), you can now enjoy Project Mario on Linux. The only minor issue is that GL3 doesn't seem to do any shadows correctly:

GL1:


GL3:


I've added these to my "Project Mario" pull request, which is now ready for review (again).
Logged
Offline (Unknown gender) TheExDeus
Reply #34 Posted on: June 16, 2014, 01:16:34 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
Yeah, I am fixing GL3 right now. I fixed lights in this branch (https://github.com/enigma-dev/enigma-dev/commits/GL3-cleanup), but AMD keeps crashing on it. So I need to fix that.
Logged
Offline (Unknown gender) time-killer-games
Reply #35 Posted on: June 16, 2014, 03:52:49 pm
"Guest"


Email
sorlok should also be in the contributor member category, ah well, no big deal I suppose.
Logged
Offline (Male) Goombert
Reply #36 Posted on: June 16, 2014, 05:58:23 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
Thank you sorlok! Good work everyone. And Harri get to work on fixing those lights!

Edit: I have updated the latest ISO compliant version fixing all file paths for UNIX switching \\ for /
If I have missed any, please tell me.
« Last Edit: July 04, 2014, 02:28:15 am by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) francot514
Reply #37 Posted on: December 18, 2014, 03:38:53 pm
Member
Joined: Dec 2014
Posts: 12

View Profile
Really awsome your project, the graphics are really good, how can i compile it for linux???
Logged
Pages: « 1 2 3
  Print