Page 1 of 1

drawing shapes

Posted: 16 Feb 2010, 05:52
by Voidranaut
In BA it is possible to make units that use shields to deflect plasma bombardments

What mechanics does the game rely on to make these hollow shell spheres? (I canÔÇÖt find a gadget or widget that seems to do this job)

And further more can I utilize this mechanic to make my own custom shapes with custom colors by invoking xyz and RBG based functions?

any info would be great

thanks

Re: drawing shapes

Posted: 16 Feb 2010, 08:07
by Argh
Shields aren't a Gadget, they're a Spring function. Look up Weapons:Shields in the Wiki, it's pretty complete.

Re: drawing shapes

Posted: 17 Feb 2010, 20:05
by KDR_11k
Voidranaut wrote:What mechanics does the game rely on to make these hollow shell spheres?
They're special projectiles. You can draw a sphere using OpenGL though. I don't think Spring includes the primitive functions so you'll need to make a function that creates the sphere mesh yourself.

Re: drawing shapes

Posted: 17 Feb 2010, 22:23
by aegis
doesn't CA's cloak gadget draw a transparent sphere?

Re: drawing shapes

Posted: 17 Feb 2010, 22:53
by MidKnight
aegis wrote:doesn't CA's cloak gadget draw a transparent sphere?
It does, although it isn't smooth shaded.

LUPS can, if I understand correctly, also draw pretty spheres.

Re: drawing shapes

Posted: 17 Feb 2010, 22:57
by CarRepairer