Vectrex32

General Category => Code Swap => Topic started by: Vectrex32 on October 20, 2016, 11:00:28 AM

Title: 3D Tie Fighter Demo
Post by: Vectrex32 on October 20, 2016, 11:00:28 AM
While adding 3D graphics features to the Vectrex32, I wrote a BASIC program to demo them. The program allowed you to create Tie fighters (like in the original vector graphics Star Wars arcade game) on the screen and rotate them. But there was a problem: the Tie fighter is such a complex drawing that the Vectrex exhibits the dreaded pen drift, and one side of the Tie fighter starts oscillating, being drawn in a slightly different position in each frame.

So I switched from Tie fighters to pyramids and that's what I included on the Vectrex32's USB drive (see the program Demo3D.bas).

However, some people might want to experiment with the Tie fighter or use it as a code example, so I'm posting it here. You must have Vectrex32 version 1.10 or later to use this.

- Bob

Title: Re: 3D Tie Fighter Demo
Post by: Minestorm on October 21, 2016, 11:08:53 AM
Can you do some videos ? (I've sent my cart back to you).


Thanks
Title: Re: 3D Tie Fighter Demo
Post by: Vectrex32 on October 21, 2016, 09:23:57 PM
I've been thinking about it. I don't feel like I have a lot of material for a video yet.

- Bob
Title: Re: 3D Tie Fighter Demo
Post by: Vectrex32 on November 14, 2016, 06:56:04 PM
I made a few tweaks to the Tie Fighter demo:

The higher frame rate also seems to have reduced pen drift a bit, though I don't understand why that would be. Unfortunately, there's still a noticeable wobble in the second wing.

I've attached the code.

- Bob
Title: Re: 3D Tie Fighter Demo
Post by: bug88 on November 24, 2016, 09:27:18 PM

hi Bob, would also love to see some videos if you do get the chance at some point

have a good day!