Jump to content



6

Elite 3D graphics


87 replies to this topic

#1 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Wed Dec 30, 2009 3:59 PM

Since the AA blog attachments are currently broken, I thought I should post my latest update here.

Most 3D calculations are implemented now and you can spin the Thargon either with the joystick (press fire for z-axis) or let it spin automatically with left difficulty = A.

There are still some nasty bugs hidden in there, but it works as it is. Next on my list are 3D projections (incl. zooming) and hidden line removal.

For those who didn't follow my blog: use E7 (M-Network) bank switching and enable the phosphor effect for making it look better.

BTW: Don't expect this to turn into an Elite remake soon. ;)

Attached Thumbnails

  • Thargon.png

Attached Files


Edited by Thomas Jentzsch, Thu Dec 31, 2009 1:07 PM.


#2 LS_Dracon OFFLINE  

LS_Dracon

    Moonsweeper

  • 410 posts

Posted Wed Dec 30, 2009 4:04 PM

Unbelievable vector graphics on Atari 2600!
I really like this demo :)

#3 iwan-iwanowitsch-goratschin OFFLINE  

iwan-iwanowitsch-goratschin

    Progressive Pornobär

  • 6,242 posts
  • You met me at a very strange time in my life!
  • Location:good old GERMANY

Posted Wed Dec 30, 2009 4:27 PM

Nice work, Thomas! :thumbsup: I remember that the Thargons were bad ass spaceships......didn´t they only show up when you were strucked in space during the jump? And they never were alone.........

Gimme 4 mlitary laser, babeeeeeeee!!! :D

#4 Emehr OFFLINE  

Emehr

    River Patroller

  • 3,214 posts
  • Happiness is... a chomping Pac-Man!
  • Location:An obscure body in the SK system

Posted Wed Dec 30, 2009 4:54 PM

Impressive! :thumbsup: I've always had a soft spot for wireframe and flat-shaded 3D graphics in games.

#5 iwan-iwanowitsch-goratschin OFFLINE  

iwan-iwanowitsch-goratschin

    Progressive Pornobär

  • 6,242 posts
  • You met me at a very strange time in my life!
  • Location:good old GERMANY

Posted Wed Dec 30, 2009 5:00 PM

Now a Fer-de-Lance!!! :D

#6 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Thu Dec 31, 2009 7:25 AM

I have attached an updated version to the first post.

This one which fixes some nasty sign flipping bugs and adds projection (disable with right difficulty to see the difference) and zooming (fire button + up/down).

Edited by Thomas Jentzsch, Thu Dec 31, 2009 8:12 AM.


#7 Crazyace ONLINE  

Crazyace

    Stargunner

  • 1,012 posts
  • Location:London / HK / Tokyo / San Fransisco

Posted Thu Dec 31, 2009 8:36 AM

That's really cool :)

#8 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Thu Dec 31, 2009 1:06 PM

Last update for now: Hidden lines removed (well, sort of), use B/W switch to toggle. See v0.05 in 1st post.

It turns out that 8 bit arithmetics are not sufficient, even for the low resolution we have here. The general imprecise movement of the Thargon and the hidden line bugs are resulting from that.

So I'll have to switch to 16 bit, which will require a lot of code to be rewritten. And I am afraid it will cause a pretty massive slowdown of the calculations. The pretty simple Thargon (just 10 points and 7 polygons compared to e.g. a Fer-de-Lance ;) with 19 points and 13 polygons)) runs at current maximum speed and the code already utilizes the available CPU time very well.

So after switching to 16 bit we will see what compromises (e.g simplified ships, e.g a Thargon with just 4 points and 5 polygons) are necessary to get a decent speed from the good old 2600 and if that's possible at all. Might take some time...

#9 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,064 posts
  • Location:Michigan

Posted Fri Jan 1, 2010 2:01 AM

That is amazing :thumbsup:

#10 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 20,914 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri Jan 1, 2010 2:10 AM

It's fun to move it around.

#11 haroldoop OFFLINE  

haroldoop

    Star Raider

  • 53 posts
  • Location:Brazil

Posted Fri Jan 1, 2010 7:11 AM

Wow! Really impressive!

#12 selgus OFFLINE  

selgus

    Moonsweeper

  • 293 posts
  • Location:Orlando, Florida

Posted Fri Jan 1, 2010 7:11 AM

View PostThomas Jentzsch, on Thu Dec 31, 2009 1:06 PM, said:

It turns out that 8 bit arithmetics are not sufficient, even for the low resolution we have here. The general imprecise movement of the Thargon and the hidden line bugs are resulting from that.


So after switching to 16 bit we will see what compromises (e.g simplified ships, e.g a Thargon with just 4 points and 5 polygons) are necessary to get a decent speed from the good old 2600 and if that's possible at all. Might take some time...
I use a mixture of 8-bit/16-bit arithmetics in Fractalus, where the perspective work is done in 16-bit until the high-byte is zero, and then switch to 8-bit operations. This along with table driven multiplies/divides allow the 6507 do the job. For my game, just the grid endpoints need to be operated on, so the data set can be kept to a minimum, coupled with not actually doing a full rotation matrix to bank the 3D view, but to shear the values.

BTW, excellent work here Thomas!

--Selgus

#13 nonner242 OFFLINE  

nonner242

    River Patroller

  • 3,407 posts
  • ALL your base ALL belong to us!!!!!!!!!!!!!!
  • Location:On a Ohio rooftop...Sniping

Posted Fri Jan 1, 2010 9:42 AM

Awesome stuff!Posted Image

#14 Albert OFFLINE  

Albert

    Quadrunner

  • 27,238 posts
  • Location:NGC 224

Posted Fri Jan 1, 2010 12:39 PM

View PostThomas Jentzsch, on Wed Dec 30, 2009 3:59 PM, said:

Since the AA blog attachments are currently broken, I thought I should post my latest update here.
This is now fixed. :)

..Al

#15 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Fri Jan 1, 2010 1:21 PM

View Postiwan-iwanowitsch-goratschin, on Wed Dec 30, 2009 5:00 PM, said:

Now a Fer-de-Lance!!! :D
Ok. Now you can see it crawl. :)

BTW: At the bottom the current frames per second are displayed.

Attached Files


Edited by Thomas Jentzsch, Fri Jan 1, 2010 2:39 PM.


#16 mojofltr OFFLINE  

mojofltr

    River Patroller

  • 2,593 posts

Posted Fri Jan 1, 2010 1:58 PM

:thumbsup: Wow! :D

#17 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Fri Jan 1, 2010 1:59 PM

View Postselgus, on Fri Jan 1, 2010 7:11 AM, said:

I use a mixture of 8-bit/16-bit arithmetics in Fractalus, where the perspective work is done in 16-bit until the high-byte is zero, and then switch to 8-bit operations. This along with table driven multiplies/divides allow the 6507 do the job. For my game, just the grid endpoints need to be operated on, so the data set can be kept to a minimum, coupled with not actually doing a full rotation matrix to bank the 3D view, but to shear the values.
I am interested, but I cannot find anything about "Fractalus". Can you give me a link, please?

#18 selgus OFFLINE  

selgus

    Moonsweeper

  • 293 posts
  • Location:Orlando, Florida

Posted Fri Jan 1, 2010 3:57 PM

View PostThomas Jentzsch, on Fri Jan 1, 2010 1:59 PM, said:

I am interested, but I cannot find anything about "Fractalus". Can you give me a link, please?
I haven't released it yet, so still a WIP. It uses the 3D endpoints of a grid to generate fractal lines that make up the 3D viewport mountains (player/missiles along with playfield graphics).

Mine also updates the calculations every 3rd frame (so 20Hz), though the display is rendered every frame. I do the viewport calculation in 1/60th, HUD updates 1/60th and then game logic the last 1/60th.

I'm currently using 1K of RAM for doing the double buffered 3D viewport and the fractal structures, and the 256 byte RAM windows for the HUD structures... though the original plan was to create my own banking selection on Harmony, to allow exactly what the game would need.

--Selgus

#19 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Fri Jan 1, 2010 4:13 PM

View Postselgus, on Fri Jan 1, 2010 3:57 PM, said:

I haven't released it yet, so still a WIP. It uses the 3D endpoints of a grid to generate fractal lines that make up the 3D viewport mountains (player/missiles along with playfield graphics).
That sounds impressive. Anything you can show already?

Quote

Mine also updates the calculations every 3rd frame (so 20Hz), though the display is rendered every frame. I do the viewport calculation in 1/60th, HUD updates 1/60th and then game logic the last 1/60th.
I've developed a quite nice scheduling algorithm for my demo. I splits the off-screen processing into several tasks (e.g. clear buffer, plot all lines). Each task gets a worst case processing time (TIM64T values). Some tasks are split into repeated sub tasks (e.g plot a line), because they don't fit into VBLANK or Overscan time as a whole.

The scheduler is pretty simple. It checks if there is enough time for the next task and runs it if there is. If the task has subtasks, the time checked is the time required for a single subtask. The scheduler is called twice each frame (VBLANK and Overscan).

Normal tasks do their job and increase the task number.

Task with subtasks, iterate those subtasks as long as there is enough time left. They increase the task number after all subtasks are processed.

When all tasks are done the task loop starts again.

Quote

I'm currently using 1K of RAM for doing the double buffered 3D viewport and the fractal structures, and the 256 byte RAM windows for the HUD structures... though the original plan was to create my own banking selection on Harmony, to allow exactly what the game would need.
That would work with the bankswitching I am using too. :)

I am using 2x768 bytes for the frame buffer and plan to use the remaining extra 2x256 bytes other stuff.

#20 iwan-iwanowitsch-goratschin OFFLINE  

iwan-iwanowitsch-goratschin

    Progressive Pornobär

  • 6,242 posts
  • You met me at a very strange time in my life!
  • Location:good old GERMANY

Posted Fri Jan 1, 2010 4:24 PM

View PostThomas Jentzsch, on Fri Jan 1, 2010 1:21 PM, said:

View Postiwan-iwanowitsch-goratschin, on Wed Dec 30, 2009 5:00 PM, said:

Now a Fer-de-Lance!!! :D
Ok. Now you can see it crawl. :)

BTW: At the bottom the current frames per second are displayed.


Gosh!!! That´s a Fer-de-Lance!!!!!! :thumbsup: :cool:

Count me in for an Elite Spacechips cart!!!!

BTW: You really make awesome things.............

#21 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Fri Jan 1, 2010 6:16 PM

View Postiwan-iwanowitsch-goratschin, on Fri Jan 1, 2010 4:24 PM, said:

Count me in for an Elite Spacechips cart!!!!
Spacechips? :ponder:

#22 iwan-iwanowitsch-goratschin OFFLINE  

iwan-iwanowitsch-goratschin

    Progressive Pornobär

  • 6,242 posts
  • You met me at a very strange time in my life!
  • Location:good old GERMANY

Posted Fri Jan 1, 2010 6:22 PM

View PostThomas Jentzsch, on Fri Jan 1, 2010 6:16 PM, said:

View Postiwan-iwanowitsch-goratschin, on Fri Jan 1, 2010 4:24 PM, said:

Count me in for an Elite Spacechips cart!!!!
Spacechips? :ponder:

lol.......ships....... :D

#23 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Fri Jan 1, 2010 6:28 PM

View Postiwan-iwanowitsch-goratschin, on Fri Jan 1, 2010 6:22 PM, said:

lol.......ships....... :D
Just a cart displaying some ships? How boring! :)

#24 iwan-iwanowitsch-goratschin OFFLINE  

iwan-iwanowitsch-goratschin

    Progressive Pornobär

  • 6,242 posts
  • You met me at a very strange time in my life!
  • Location:good old GERMANY

Posted Fri Jan 1, 2010 7:12 PM

View PostThomas Jentzsch, on Fri Jan 1, 2010 6:28 PM, said:

View Postiwan-iwanowitsch-goratschin, on Fri Jan 1, 2010 6:22 PM, said:

lol.......ships....... :D
Just a cart displaying some ships? How boring! :)


NOW WE HAVE AN ANNOUNCEMENT!!!!!!!!!!!!!!!!!!!!! :love:

#25 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Sat Jan 2, 2010 2:18 AM

View Postiwan-iwanowitsch-goratschin, on Fri Jan 1, 2010 7:12 PM, said:

View PostThomas Jentzsch, on Fri Jan 1, 2010 6:28 PM, said:

Just a cart displaying some ships? How boring! :)

NOW WE HAVE AN ANNOUNCEMENT!!!!!!!!!!!!!!!!!!!!! :love:
Wishful thinking. That was a negative announcement. :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users