Unit Selection
-
- Posts: 16
- Joined: Tue Dec 27, 2005 10:13 am
- Location: Johannesburg, South Africa
Unit Selection
Hi Guys,
Like in an RTS I'd like to render a circle around the base of a mesh when the user selects it. I've tried a billboard but they don't do the job. Would a decal work? And if so can someone point me in the direction of an example?
Like in an RTS I'd like to render a circle around the base of a mesh when the user selects it. I've tried a billboard but they don't do the job. Would a decal work? And if so can someone point me in the direction of an example?
Ok thx.
sry to spam this thread but is irrlicht able to do that and if how?
sry to spam this thread but is irrlicht able to do that and if how?
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Yes, Irrlicht is able to do decals.
Thanks to Armen138 DecalSceneNodeClass everything is easy.
You have the link below to the full class:
http://irrlicht.sourceforge.net/phpBB2/ ... ecal#21113
Here you have some tutorials/advices:
http://www.irrlichtnx.mmdevel.de/phpBB2 ... ?p=556#556
I use Armen's class and Irrlicht 0.12 and it works excellent.
Here is a shot from my game:
Btw. My User interface and crosshair is purple isn't it ? I hope it is not pink, I think I have some problems with differing colors.
Thanks to Armen138 DecalSceneNodeClass everything is easy.
You have the link below to the full class:
http://irrlicht.sourceforge.net/phpBB2/ ... ecal#21113
Here you have some tutorials/advices:
http://www.irrlichtnx.mmdevel.de/phpBB2 ... ?p=556#556
I use Armen's class and Irrlicht 0.12 and it works excellent.
Here is a shot from my game:
Btw. My User interface and crosshair is purple isn't it ? I hope it is not pink, I think I have some problems with differing colors.
That is great with the decals!!!
But is there a way to get it worjing with only having a point and the normalvector? cause i'want to display the decal in free space and there are no triangels where i could attach it to.....i would need to get three points all on a plane.....i know how i could culculate that but the programm can't...lol
But is there a way to get it worjing with only having a point and the normalvector? cause i'want to display the decal in free space and there are no triangels where i could attach it to.....i would need to get three points all on a plane.....i know how i could culculate that but the programm can't...lol
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
oh.. it is -that- header..?
i thought it was task specific because of its reference -eg ok, thanks -i'l try the default time.h and see if i can make it spin
i thought it was task specific because of its reference -eg
Code: Select all
"time.h" and not <time.h>..
Regards.
Tech: win98se| 320mb ram| abitbe6| 433mhzceleron| atiRadeon7000.64mb| soundblaster125| dx9.0b | devCPP | IRR 0.12.0 |
Tech: win98se| 320mb ram| abitbe6| 433mhzceleron| atiRadeon7000.64mb| soundblaster125| dx9.0b | devCPP | IRR 0.12.0 |