Jump to content

  • Log In with Google      Sign In   
  • Create Account


Dividing a texture into new textures


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 asvsfs   Members   -  Reputation: 154

Like
0Likes
Like

Posted 26 January 2011 - 05:09 AM

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,

Posted Image


i want an efficient way for doing it

Thx ,
Regards

Sponsor:

#2 asvsfs   Members   -  Reputation: 154

Like
0Likes
Like

Posted 26 January 2011 - 06:03 AM

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,

#3 Danny02   Members   -  Reputation: 271

Like
0Likes
Like

Posted 26 January 2011 - 08:48 AM

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.

#4 asvsfs   Members   -  Reputation: 154

Like
0Likes
Like

Posted 26 January 2011 - 01:42 PM

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?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS