Page 1 of 3

SuperSprite3D

Posted: Thu Oct 19, 2006 8:58 pm
by Anonymous
Hi all,

I have coded supersprite3D for simulate 3D in 2D with Sprite3D
You can rotate and move Supersprite3D on all axis. you can
blur , flip , change color of the supersprite3D
I have make a .doc in french/english for command list :D

A lot of examples are available with the .rar

Source of SuperSprite3D :
File:1->SuperSprite3D.rar
Image

Examples compiled :

Infinite grounds examples :
File:->Ground.rar
Image

use mouse for strafe move :
File:->InfGround2D.rar
Image

With a BumpMapping2D ! :D
File:->SS3DBump.rar
Image

Simple BGAMES Logo :D
File:->ExpSS3D.rar
Image


Enjoy ! :D

Posted: Thu Oct 19, 2006 9:09 pm
by netmaestro
What a super and well-written library! Thanks a million for sharing this with the community.

@Fantaisie, could you look at making some of these functions native in a future release?

Posted: Thu Oct 19, 2006 9:30 pm
by dracflamloc
Wow that is cool

Posted: Thu Oct 19, 2006 9:32 pm
by Shannara
As soon as I get home, I'll download it. Now that S.M. is missing from action (I wonder if he's hooked on WOW), and his subsystem is buggy. The community is in desperate need of this kind of library ... thank you!

Edit: I noticed there's a command to change a particular color on the sprite to another color. Any chance to add the ability to set each corner of the sprite to an individual color? Thus emulating lights?

Posted: Thu Oct 19, 2006 9:56 pm
by Anonymous
Thx for comments. :)
Edit: I noticed there's a command to change a particular color on the sprite to another color. Any chance to add the ability to set each corner of the sprite to an individual color? Thus emulating lights?
Vertex color , it's a good idea, i will see this.

@++

Posted: Fri Oct 20, 2006 12:33 am
by pg
Thanks. This should be implemented into PureBasic :idea:

Posted: Fri Oct 20, 2006 1:44 am
by Anonymous
New release of source code :

File:1->S-Sprite3D_V2.rar
Image



Added :

- VertexColor
- RGBA
- UV Coordinate

Commands :

SetSuperSprite3DVertexColor(SuperSprite3D_id, A, B,C,D)

For A,B,C,D use RGBA(r,g,b,a)


SetSuperSprite3DUV(SuperSprite3D_id, U,V)

for 2,2, Texture was repeated 4x


InvertColorSuperSprite3D() Replace NegatifSuperSprite3D()

Posted: Fri Oct 20, 2006 11:01 am
by Psychophanta
Thank you.
And yes, should be great if this was included natively :D

Re: SuperSprite3D

Posted: Fri Oct 20, 2006 12:40 pm
by traumatic
Image

Posted: Fri Oct 20, 2006 1:49 pm
by Num3
Very nice library!!!

Super!

Posted: Sat Oct 21, 2006 10:46 am
by JCV
impressive! :shock:

Posted: Thu Oct 26, 2006 6:09 pm
by SoulReaper
Wow Very Good :shock: :wink:

Posted: Thu Oct 26, 2006 7:25 pm
by Anonymous
Thx All.

New example here :D
This is a simple example for GTA like game :
Code + exe

File:1->GTALIKE.rar
Image


@++

Posted: Fri Oct 27, 2006 10:00 am
by Psychophanta
Link doesn't work here :?

EDIT: now it works :)

Posted: Fri Oct 27, 2006 10:33 am
by Chrono Syndrome
Cool lib 8) !