QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Vits on September 04, 2020, 03:41:05 pm
-
Hi again Everyone, I was wondering what is your opinion on the best way to rendering bitmaps pixel by pixel. I tried using POINT but it works like PUTIMAGE! What I want to do is do software rendering with textures in 3D, just for fun. I need to use each pixel though for my perspective projection algorithm. How exactly should I go about doing this?
If worse comes to worse then I will make my own texture loader from scratch. but I know in allegro and sdl they have pixel access functions meant for this.
-
Hi @Vits
What I want to do is do software rendering with textures in 3D, just for fun
_MAPTRIANGLE can do this, if thats not what you're after then you'll need to use POINT to get the pixel data (stored into an array) and then use PSET to manipulate the individual pixels.
Have fun,
Unseen
-
Stored into an array with POINT! I understand now
Thanks and happy coding