Author Topic: How do 3d games work?  (Read 15156 times)

0 Members and 3 Guests are viewing this topic.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #15 on: August 30, 2011, 11:03:05 am »
Yes. Sorry didnt mean to put fixed 3d there.



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: How do 3d games work?
« Reply #16 on: August 30, 2011, 11:37:13 am »
It is very in depth math and covers many concepts of 3d that you will not be implementing in luaFX but one book that really helped me understand a lot of 3d games including optimization for specific architectures was Real Time Rendering. I highly reccomend it to anyone who wants to learn a lot about 3d

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #17 on: August 30, 2011, 03:24:01 pm »
So in other words, wait until someone gets openGL on a calc. cuz i'm not going to do something that complicated. I think i'll do 2d games instead. could someone help me with the concept of side-scrollers? (LuaFX again)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: How do 3d games work?
« Reply #18 on: August 30, 2011, 03:38:20 pm »
So in other words, wait until someone gets openGL on a calc. cuz i'm not going to do something that complicated. I think i'll do 2d games instead. could someone help me with the concept of side-scrollers? (LuaFX again)
Ashbad is working on OpenGL84+ somewhere Ill post a link when I find it
This used to contain a signature.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #19 on: August 30, 2011, 03:43:13 pm »
yeah but i need it on casio fx-98xx



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: How do 3d games work?
« Reply #20 on: August 30, 2011, 08:52:03 pm »
I did write a rotating cube example a few months ago in Casio Basic and it was fairly simple. If you want I can upload the source and/or the program and it will run on you fx-98xx because prizm basic programs can be down converted.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #21 on: August 30, 2011, 08:53:25 pm »
yeah, but would it help me program in 3d with lua?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: How do 3d games work?
« Reply #22 on: August 30, 2011, 08:57:28 pm »
The math is the same regardless of language and if you know casio basic moderately well then it will be easy to port that example to lua. One thing you will have to add though is be able to convert plot points into screen coordinates but if needed I can help you with that part

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #23 on: August 30, 2011, 08:59:46 pm »
oh ok. is it commented?

P.S. I am pretty good at BASIC, if I do say so myself.



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: How do 3d games work?
« Reply #24 on: September 04, 2011, 05:09:35 pm »
LFX is simply as BASIC? but more powerful.
You can use some functions like Pseudo OP...

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #25 on: September 04, 2011, 07:25:14 pm »
OK. BTW: veb sent me a demo of LuaFX

Cool menu!

(...and graphics)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: How do 3d games work?
« Reply #26 on: September 04, 2011, 08:32:48 pm »
The math is the same regardless of language and if you know casio basic moderately well then it will be easy to port that example to lua. One thing you will have to add though is be able to convert plot points into screen coordinates but if needed I can help you with that part
I assume in a language like Axe it might be harder, right, due to the lack of floating points? (Although this doesn't really apply here)

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: How do 3d games work?
« Reply #27 on: September 05, 2011, 06:00:28 am »
Right, but A firend made a system of emulation fixed points, faster than floating.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: How do 3d games work?
« Reply #28 on: September 05, 2011, 10:08:59 am »
I know this particular thread is for Casio 3D, but does anyone have a good resource for 3D rendering on the computer, preferably in C#? My main problems with understanding 3D are how its data is stored (something like a really huge matrix seems impractical to me, unless only portions are accessed at any given time) and the rendering itself.

If I should start a separate topic, I'm sorry for interrupting this one. Just let me know and I will.

Ashbad

  • Guest
Re: How do 3d games work?
« Reply #29 on: September 05, 2011, 10:10:34 am »
I know this particular thread is for Casio 3D, but does anyone have a good resource for 3D rendering on the computer, preferably in C#? My main problems with understanding 3D are how its data is stored (something like a really huge matrix seems impractical to me, unless only portions are accessed at any given time) and the rendering itself.

If I should start a separate topic, I'm sorry for interrupting this one. Just let me know and I will.

What API/Library are you leaning towards?  Once you choose which path to go with, finding a tutorial is rather simple.