Sprite3DColor

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Sprite3DColor

Post 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
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Re: Sprite3DColor

Post 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])
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Post Reply