is there anyway to clone a billboard?
I am working on a GUI editor for the game maps.
planting buildings, wagons, etc... works fine.
but when it comes to trees and bushes, how can i clone the billboards?
clone a billboard?
-
- Posts: 95
- Joined: Sat Jun 25, 2011 6:15 am
clone a billboard?
_______________________________________________________
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
Re: clone a billboard?
There is a method called clone... But really, that's probably not a good idea if you plan on using a lot. It would be best to have a huge batch of vertices, and transforming them on the GPU to make the billboards. Hundreds of times faster that way
-
- Posts: 95
- Joined: Sat Jun 25, 2011 6:15 am
Re: clone a billboard?
i'm not finding a
DeveloperPlantBillboardNodes[array] -> clone
am i looking in the wrong place?
as far as too many clones, that's not an issue. there is a limit to how many the developer can create before he must save and reload his changes - which pushes them into loaded nodes instead of cloned nodes.
DeveloperPlantBillboardNodes[array] -> clone
am i looking in the wrong place?
as far as too many clones, that's not an issue. there is a limit to how many the developer can create before he must save and reload his changes - which pushes them into loaded nodes instead of cloned nodes.
_______________________________________________________
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
Re: clone a billboard?
Ok I take it you aren't using vanilla irrlicht then. I was assuming you were using IBillboardSceneNode. What exactly are you using?
-
- Posts: 95
- Joined: Sat Jun 25, 2011 6:15 am
Re: clone a billboard?
IBillboardSceneNode
irrlicht 1.7.2 (via Irrlicht Lime)
irrlicht 1.7.2 (via Irrlicht Lime)
_______________________________________________________
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
-
- Posts: 95
- Joined: Sat Jun 25, 2011 6:15 am
Re: clone a billboard?
Ducky, i don't see a ibillboardscenenode->copy in irrlicht
http://irrlicht.sourceforge.net/docu/classirr_1_1scene_1_1_i_billboard_scene_node.html
http://irrlicht.sourceforge.net/docu/classirr_1_1scene_1_1_i_billboard_scene_node.html
_______________________________________________________
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
Re: clone a billboard?
The parent is an ISceneNode. Just keep reading. (Are you looking for 'copy' or 'clone'?)
Re: clone a billboard?
iBillboardSceneNode inherit from ISceneNode which have a clone method.
-
- Posts: 95
- Joined: Sat Jun 25, 2011 6:15 am
Re: clone a billboard?
Ah! Gotcha.
_______________________________________________________
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.
You could argue with me all day long about which language is best.
But what it comes down to is:
which language is best for YOU and which language is best for ME.