Ooops
March 06, 2021, 02:39:52 AM

Author Topic: pseudo 3d effect like wing commander  (Read 823 times)

Offline grindalf

pseudo 3d effect like wing commander
« on: November 15, 2019, 10:19:51 AM »
How did the pseudo 3D effect work in oldschool games like wing commander. I know there was a bunch of sprites involved for the ships at every angle. Did it use real 3D math to calculate positions? was it actually a 3D engine but just using simple sprites as the objects?

Thanks for any info you guys might have :D

Offline iWasAdam

Re: pseudo 3d effect like wing commander
« Reply #1 on: November 15, 2019, 12:05:34 PM »
There is not a lot of technical detail I could find, but I know (as you said) the visuals are scaled sprites. and the depth would possibly be a simple 3d point system. where just the x,y,z was being calculated and the depth fed into the sprite size.

Offline grindalf

Re: pseudo 3d effect like wing commander
« Reply #2 on: November 15, 2019, 12:49:10 PM »
As a kid I always assumed it was a fake 3D effect but yeah I assume its actually using 3D math and then just displaying the correct sprite accordingly.
If anyone else knows any more information I would love to know as I was planning a retro space section for a game Im working on

Offline Kryzon

Re: pseudo 3d effect like wing commander
« Reply #3 on: November 15, 2019, 11:32:35 PM »
Do you have any videos of this Wing Commander effect?

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2633
  • Total likes: 4
  • I mostly code at night... Mostly.
    • SyntaxBomb - Indie Coders
Re: pseudo 3d effect like wing commander
« Reply #4 on: November 16, 2019, 06:32:24 AM »
There is not a lot of technical detail I could find, but I know (as you said) the visuals are scaled sprites. and the depth would possibly be a simple 3d point system. where just the x,y,z was being calculated and the depth fed into the sprite size.
Yeah, I agree with that. Some parts look like the sprites are skewed and / or rotated but the hardware couldn't do that ( Amiga version ).

[ off the top of my head ] - My guess would be take half of a sphere, use mathematically around 20 points to represent it, have a sprite for that point at it's angle and also at different orientations ( keeping it basic / limited to represent rather than accuracy ) and then do some funky math as to which sprite to display.
Mac mini ( 2018 / 2020 ), 3 GHz 6-Core Intel Core i5, 16 GB 2667 MHz DDR4, 1TB NVMe, eGPU Radeon Pro 580 8 GB, LG Ultragear 27GL83A-B 27 Inch
Mac mini (2020 ), M1 SoC, 8 GB LPDDR4, 512GB NVMe 
Commodore VIC-20, 1.1Mhz MOS 6502 CPU, 5KB RAM, VIC ( 6560 ) GPU

Until the next time.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal