Sprite3D distortion
Sprite3D distortion
Is there a way to manipulate sprite3D vertex ?

- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
You can distort using TransformSprite3D(), also this may be helpful:
http://www.purebasic.fr/english/viewtop ... 16&start=3
http://www.purebasic.fr/english/viewtop ... 16&start=3
BERESHEIT
Try to use another mode - Sprite3DQuality(1) - default 0 (No filtering (faster but uggly when zooming/rotating)).Paul wrote:TransformSprite3D() is pretty useless as it does not transform correctly. It breaks your image into 2 triangles and distorts those.
Regards, _Andrey_
http://www.wegroup.org
http://www.wegroup.org
I dont think that prevents the ugly effects from transformation. Right now PB uses 2 triangles per sprite which causes it to look messed up when skewed, you need to somehow make it so it's 4 triangles instead.andreyu wrote:Try to use another mode - Sprite3DQuality(1) - default 0 (No filtering (faster but uggly when zooming/rotating)).Paul wrote:TransformSprite3D() is pretty useless as it does not transform correctly. It breaks your image into 2 triangles and distorts those.
I love Purebasic.