[68] 3.5D
- 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):

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.

![[158] Most Important Brick in the Least Important Wall](https://static.wixstatic.com/media/df100d_f70be6ae4318455fbbc605cd1069c6ee~mv2.jpg/v1/fill/w_980,h_410,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_f70be6ae4318455fbbc605cd1069c6ee~mv2.jpg)
![[157] Mail Order Sacrifice](https://static.wixstatic.com/media/df100d_e284fa6c51b04524bab9d3cf9f1f6441~mv2.png/v1/fill/w_980,h_382,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_e284fa6c51b04524bab9d3cf9f1f6441~mv2.png)
![[156] Moat of Babble](https://static.wixstatic.com/media/df100d_091e451794b14aecb494a16c15c966c3~mv2.png/v1/fill/w_980,h_705,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/df100d_091e451794b14aecb494a16c15c966c3~mv2.png)
Comments