gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > 3d polygon anomalies

#26251 - lordmetroid - Fri Sep 10, 2004 8:09 am

I notice there are many talented 3D programmers on this forum...
I'm in progress of coding mmy first 3D engine, and have these strange anomalies where my polygons phade in and out erraticly...
[Images not permitted - Click here to view it]

With your extended knowledge it would be really appreciated if you could help me by giving some guidance in what this issue can be caused by...
_________________
*Spam*
Open Solutions for an open mind, www.areta.org

Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...

#26304 - tomer - Sun Sep 12, 2004 5:55 am

what mode are you using?
are your polygons flat?

#26307 - lordmetroid - Sun Sep 12, 2004 12:39 pm

I'm using mode2 though why would choise of mode have anything to do with it?

What do you mean flat? If you wonder if they can change shape when rotating, yes they can...
_________________
*Spam*
Open Solutions for an open mind, www.areta.org

Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...

#26308 - sajiimori - Sun Sep 12, 2004 5:19 pm

We have practically no information, and 3D engines are not simple. Any number of problems can come up. If you run into a problem that you find unsolvable, take a step back and consider a new approach. Most importantly, be willing to throw away code.

Do you have the engine working on PC (or your native system)? You might do that first, so you'll have access to your native debugging tools. It will also encourage a cleaner coding style (though your code may be fine in that regard).

#26337 - tomer - Mon Sep 13, 2004 9:17 am

Hey dude.

Do not use mode2. you need to use the bitmap modes 3, 4, 5

#26341 - lordmetroid - Mon Sep 13, 2004 2:06 pm

why would that matter?
I tested my render and it render completly correctly on the exact pixel!
Thank you very much for your advice, but I'll use mode2...
_________________
*Spam*
Open Solutions for an open mind, www.areta.org

Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...

#26407 - Miked0801 - Tue Sep 14, 2004 10:06 pm

Mode 0/1/2 renders are possible to do, but I thought they'd be slower do to char boundary issues. It's nice having the extra planes though :)