Hello everybody,
my question is how can i divide my sprite into (for instance) 4 sprites, for example i have a circle and i want to divide it into 4 unequal pieces
and every new sprite would be a quad with texture on it,
i want an efficient way for doing it
Thx ,
Regards
Dividing a texture into new textures
another way i thought is maybe i could define every thing in world as a polygon with triangles ,
and when i want to divide an object i just create new polygon and with triangulation make new triangles to render
i don't know which way is more efficient,
and when i want to divide an object i just create new polygon and with triangulation make new triangles to render
i don't know which way is more efficient,
the fastes way would be to just replace your spirit geometry, with 4 new geometrys.
Either threw calculations or with prcalculated geometry.
This has the possitiv effect that u don't need to copy the texture data around, you can use the same texture for everything.
Either threw calculations or with prcalculated geometry.
This has the possitiv effect that u don't need to copy the texture data around, you can use the same texture for everything.
the fastes way would be to just replace your spirit geometry, with 4 new geometrys.
Either threw calculations or with prcalculated geometry.
This has the possitiv effect that u don't need to copy the texture data around, you can use the same texture for everything.
could you give some details about it?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement