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.

Coding > Up for a forum based 3D project?

#752 - 0x04000000 - Fri Jan 10, 2003 6:47 am

I know that there are many webpages that cover 3D topics. However, it would be great to see a joint effort here to develope a simple program for all to see that draws a single object with texturing and lighting having rotation controlled by the keys. This way we could all share ideas for the best code on the AGB platform. So how about it?
_________________
mov r0,#Thought
mov r1,#Reality
str r0,[r1]

#790 - PeterP - Fri Jan 10, 2003 6:12 pm

I guess a good start would be the sgade engine. It can do 3d.

http://www.suddenpresence.com/sgade/

#848 - 0x04000000 - Sat Jan 11, 2003 3:48 am

I was thinking more of doing the 3D calcualtions from sctarch. There are so many people who would be interested in see it all done. Then it can all be compiled into a tutorial when finished.. It need not be cutting edge or real accurate. Doing math with shifts or just using a lookup table of sine values. I have only done some 3D on a calcualtor so it would be great to see how it unfolds on a gameboy. Further, I propose that we not use matrix because this can hide whats going, but instead sticking with simple bytes loaded from the cart to memory to have the straight foware math opperations performed on on them the writen back to the cart (flash ;)...

Sound good?
_________________
mov r0,#Thought
mov r1,#Reality
str r0,[r1]

#852 - lordmetroid - Sat Jan 11, 2003 8:43 am

I don't suggest one writes things back to the cart, as this wouldn't work in a real cart...

However I would really enjoy haveing a tutorial for 3D graphics on GBA, as most tutorials about 3D assumes more or less you are codeing for a PC, which have more then enough power to handle everything, not like GBA which has very limited amount of CPU power...
Also one could add special tricks one uses in when codeing for GBA as we have a hardware system...
_________________
*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...

#1010 - Scritch - Mon Jan 13, 2003 11:07 am

lordmetroid wrote:
However I would really enjoy having a tutorial for 3D graphics on GBA, as most tutorials about 3D assumes more or less you are coding for a PC, which have more then enough power to handle everything, not like GBA which has very limited amount of CPU power...


I think you can find a lot of old (386/486 era) PC tutorials that explains you do draw 3D stuff with very limited power. For example : http://peroxide.dk/tuts.shtml (Pascal and C++ tuts)

lordmetroid wrote:
Also one could add special tricks one uses in when coding for GBA as we have a hardware system...

But that is true, you can use GBA hardware capabilities to do better and faster :o)

#1172 - Badut - Wed Jan 15, 2003 12:09 pm

If you can find enough interest, I'd like to join too. Make sure you post in this thread if something does go ahead.
_________________
There are 10 types of people in the world. Those who understand binary and those who don't.

#1174 - imikeyi - Wed Jan 15, 2003 12:21 pm

Actually I was just thinking about learning 3d programming, I did vector maths at uni and hated it, I'm hoping its mostly simple stuff you're talking about (please, _please_).
Anyway maybe it would be easier using a 3d graphics library, rather than building it from scratch as that can include a lot of theory.
_________________
microkernel advance