#177606 - brave_orakio - Tue Sep 11, 2012 5:02 am
Hi guys. Basically I want to port over an existing GBA stuff that I made as a demo using the 3d engine so I want to know a few things about the 3d engine of the DS.
So to make something like a sprite, I bind a texture(the sprite image) to a quadrangle right? And if I want to create a tiled background, I use the same technique.
But as we know binding a texture to a quadrangle one by one is slow so the best way is to bind once and use a large texture and set the coordinates and size which a quad will use to make it run faster.
I think I got the basics down I think but do take note that I haven't done any actual coding for the above process (Some problem with my old laptop running the newer Devkitarm tools) hence my question, Can I use a different palette for each quad without having to bind the texture again?
Like say quads 1- 4 use the same image but different set coordinates and different palettes each? No need to give code (but it would be appreciated), I just want to know if its possible or else I discard my whole process and think of something knew. Thanks!
_________________
help me
So to make something like a sprite, I bind a texture(the sprite image) to a quadrangle right? And if I want to create a tiled background, I use the same technique.
But as we know binding a texture to a quadrangle one by one is slow so the best way is to bind once and use a large texture and set the coordinates and size which a quad will use to make it run faster.
I think I got the basics down I think but do take note that I haven't done any actual coding for the above process (Some problem with my old laptop running the newer Devkitarm tools) hence my question, Can I use a different palette for each quad without having to bind the texture again?
Like say quads 1- 4 use the same image but different set coordinates and different palettes each? No need to give code (but it would be appreciated), I just want to know if its possible or else I discard my whole process and think of something knew. Thanks!
_________________
help me