Page 1 of 2
new new3d engine

Posted:
Mon Nov 07, 2022 2:40 pm
by Ian
Hi guys, I made quite a big update to supermodel. Basically I've rewritten the whole project in 4.1+. It's done using a core profile so all the legacy gl functions have been removed. And this means it should work on mac. Hopefully I haven't broken anything.
Anyway you'll require a gl 4.1 GPU to run supermodel now. GL 4.1 came out over 12 years ago now, so any GPU released after that time should hopefully be good.
The legacy renderer still exists and you can use it the same way as you always have. The legacy renderer will run with an opengl compatability profile (which means it won't work on mac, but should run on everything else).
Re: new new3d engine

Posted:
Mon Nov 07, 2022 5:15 pm
by rokfpoewrkcpoqwkcp
I think the build bot will fail, I'm getting this in MSYS
- Code: Select all
mingw32-make: *** No rule to make target 'obj64/Texture.o', needed by 'bin64/supermodel'. Stop.
Compiles OK if you change your Makefiles\Rules.inc
Great to see Supermodel still getting these kind of updates. Appreciate the work.

Re: new new3d engine

Posted:
Tue Nov 08, 2022 3:50 am
by Ian
Yeah I updated the makefiles, so should work now.
The texture file was removed
Re: new new3d engine

Posted:
Fri Nov 11, 2022 1:35 pm
by Bart
What do we call this engine? The New^2 3D Engine?
Re: new new3d engine

Posted:
Fri Nov 11, 2022 4:07 pm
by Ian
lol, the same name will do.
Maybe we could update the legacy renderer a little, I know some people on older h/w still like to use it, and there's probably a few easy things we could do to improve it
Re: new new3d engine

Posted:
Fri Nov 11, 2022 9:44 pm
by Bart
Ian wrote:lol, the same name will do.
Maybe we could update the legacy renderer a little, I know some people on older h/w still like to use it, and there's probably a few easy things we could do to improve it
I'm all ears. I think the problem is that it encodes so much of its state in vertex attributes. There isn't much room to encode a lot of the new lighting findings :/ What do you think are some low hanging fruits that could be ported over?
Re: new new3d engine

Posted:
Sat Nov 12, 2022 3:13 am
by Ian
Scroll fog, mipmapping. Culling of excess geometry. That gives the new3d engine quite a speed up.
Re: new new3d engine

Posted:
Sat Nov 12, 2022 8:37 am
by Trojan X
Wow. Thank you. I'll give this a look.
Do you know what this emu really needs though? A full face with an auto-update system to make everything super piss easy for the user. Basically, some thing like Dolphin/Yuzu or whatever emu out there that does that.
Re: new new3d engine

Posted:
Sun Nov 13, 2022 6:30 am
by Goblan
Thank you! Games look so much better.
Forcing anisotropic and/or anti-aliasing from Nvidia Control Panel won't work anymore, though. Is there any way this can be "fixed"?
Re: new new3d engine

Posted:
Mon Nov 14, 2022 3:24 am
by Ian
Forcing anisotropic and/or anti-aliasing from Nvidia Control Panel won't work anymore, though. Is there any way this can be "fixed"?
Not currently. Maybe I can add some AA options in the future, but will require quite a bit more complicated render path. Maybe we could just brute force it with super sampling