Page 1 of 1

Sprite3DColor

Posted: Thu Apr 15, 2010 5:39 pm
by neotoma
I searched, but i found no exact request.

In other languages (lets say Blitz-Ones), in DirectX-Frameworks (HGE, Irrlicht) and also OpenGL and DirectX it is posssible to colorize the sprites. Its a very helpfull for lot of effects, but still missing in PureBasic.
So i request this feature for Sprite3D.
Maybe there are some Hacks around (Luminosity) , but a official Command is missing.

Greetings,
Mike

Re: Sprite3DColor

Posted: Thu Apr 15, 2010 5:57 pm
by eddy
+1
Why not a ColorSprite3D command to manipulate colors of sprite3D vertices.

Code: Select all

ColorSprite3D(#Sprite3D, c1[, c2, c3, c4])  ; c1...c4 are colors in RGBA format
like :

Code: Select all

TransformSprite3D(#Sprite3D, x1, y1, [z1], x2, y2, [z2], x3, y3, [z3], x4, y4, [z4])