Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Psudeo 3D (Sprite positions in mode 7 games)
#4
Thanks! I'm going to start experimenting.  I found Eigen as a recommendation for a straightforward "linear algebra matrix library", I hope it's simple enough to use for what I need - I'm sure there will be options out there that are overkill.  But it even supports "fixed sizes" (eg. Matrix4f) for small simple calculations, and I see you're also using your own implementation of fixed point calculations.

I just had a quick look to see how you're doing fixed point calculations in Mode7.c.  I assume this is because it's more efficient than using floats?  (Although I found a page saying calculation speed between ints and floats vary between processors - in some cases, floats are faster!) But is this mainly to stay true to how it would have been done back then?
Reply


Messages In This Thread
RE: Psudeo 3D (Sprite positions in mode 7 games) - by Domarius - 07-31-2018, 09:06 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)