top of page
Search

[68] 3.5D

  • Writer: Conlan Walker
    Conlan Walker
  • Feb 3, 2023
  • 1 min read

I got covid, and am still a little sick, so I only have one substantial thing to actually show, as I was only able to do about a day's worth of stuff over the week.

The work had to do with 3D stuff mostly, and I was able to get Euler rotations working (I haven't done the whole quaternion thing yet).


This is the code that rotates an array of points before translating those points by a specified offset (yaw, pitch, roll and tx,ty,tz respectively):

ree

And here's a demo that showcases those rotations, and the obj converter/loader in general:

(I hate to disappoint, but the music is not mine. I found it in a module archive site and I'm just using it for testing)

And that's it for now. Next week I'd like to try dipping my toes into SDL_image, as I'd like to get some images on-screen and/or try out SDL's geometry rendering functions.

 
 
 

Comments


bottom of page