I had the same problem, check this tread:
http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
Search found 34 matches
- Mon May 31, 2010 10:55 am
- Forum: Beginners Help
- Topic: Adding additional properties to sceneNodes...
- Replies: 4
- Views: 586
- Sun Apr 25, 2010 3:18 pm
- Forum: Beginners Help
- Topic: Noob question about subclassing a IMeshSceneNode
- Replies: 7
- Views: 1089
>there is no point in having another type of IMeshSceneNode, just to have a status variable
I need to subclass the meshscenenode class for this reason:
I need to create an animator that will do different animation (it changes position and or cololr) based on the status of this object, so I need to ...
I need to subclass the meshscenenode class for this reason:
I need to create an animator that will do different animation (it changes position and or cololr) based on the status of this object, so I need to ...
- Sun Apr 25, 2010 10:47 am
- Forum: Beginners Help
- Topic: Noob question about subclassing a IMeshSceneNode
- Replies: 7
- Views: 1089
- Sun Apr 25, 2010 9:47 am
- Forum: Beginners Help
- Topic: Noob question about subclassing a IMeshSceneNode
- Replies: 7
- Views: 1089
Noob question about subclassing a IMeshSceneNode
Hi, I want to have an object that is an IMeshSceneNode but that contains other informations (for example a status), something like:
MyNode :: IMeshSceneNode
(
MyNode( ... );
int status;
int getStatus();
setStatus(int);
)
what is the best way to do this?
MyNode :: IMeshSceneNode
(
MyNode( ... );
int status;
int getStatus();
setStatus(int);
)
what is the best way to do this?
- Sun Mar 28, 2010 4:33 pm
- Forum: Beginners Help
- Topic: Irrlicth has a scale animator?
- Replies: 12
- Views: 1392
Sorry I see that with this works:
Since I don't have launched a create* function a I don't need to drop the object right?
Thanks
Code: Select all
CScaleAnimator* sa2 = new CScaleAnimator(core::vector3df(4,4,4));
s->addAnimator(sa2);
Thanks
- Sun Mar 28, 2010 4:25 pm
- Forum: Beginners Help
- Topic: Irrlicth has a scale animator?
- Replies: 12
- Views: 1392
- Fri Mar 26, 2010 11:48 am
- Forum: Beginners Help
- Topic: Is possible to modify the alpha value of a texture?
- Replies: 3
- Views: 380
- Fri Mar 26, 2010 9:23 am
- Forum: Beginners Help
- Topic: Is possible to modify the alpha value of a texture?
- Replies: 3
- Views: 380
Is possible to modify the alpha value of a texture?
My aim is to change the color of an object in a given amout of time, so I think that a possible way is to applying a texture of a given color and rainsing or lowering the alpha value of the pixels.
This is correct/possible? What is the best way to do this?
Thanks
Tranen
This is correct/possible? What is the best way to do this?
Thanks
Tranen
- Tue Mar 23, 2010 1:07 pm
- Forum: Beginners Help
- Topic: Irrlicth has a scale animator?
- Replies: 12
- Views: 1392
- Tue Mar 23, 2010 10:02 am
- Forum: Beginners Help
- Topic: Irrlicth has a scale animator?
- Replies: 12
- Views: 1392
Irrlicth has a scale animator?
There is something like:
scenemanager->createScaleAnimator(...) that makes my object bigger or smaller while time is passing?
I've searched in scenemanager documentation but i haven't found it.
If I need to create it can you gave me some advice? Where I can start?
Thanks
Tranen
scenemanager->createScaleAnimator(...) that makes my object bigger or smaller while time is passing?
I've searched in scenemanager documentation but i haven't found it.
If I need to create it can you gave me some advice? Where I can start?
Thanks
Tranen
- Tue Feb 23, 2010 2:12 pm
- Forum: Beginners Help
- Topic: [SOLVED]Newbie irrlicht question: how to set a material col.
- Replies: 3
- Views: 490
- Tue Feb 23, 2010 9:02 am
- Forum: Beginners Help
- Topic: [SOLVED]Newbie irrlicht question: how to set a material col.
- Replies: 3
- Views: 490
[SOLVED]Newbie irrlicht question: how to set a material col.
Hi I'm trying to set the emissive color of cube:
IMeshSceneNode* node = smgr->addCubeSceneNode();
SMaterial mat = node->getMaterial(0);
mat.EmissiveColor.set(1,1,0,0);
but once I've done this I must do something like node.setMaterial(mat) ?
I come from Java. SMaterial mat = node->getMaterial(0 ...
IMeshSceneNode* node = smgr->addCubeSceneNode();
SMaterial mat = node->getMaterial(0);
mat.EmissiveColor.set(1,1,0,0);
but once I've done this I must do something like node.setMaterial(mat) ?
I come from Java. SMaterial mat = node->getMaterial(0 ...
- Wed Feb 17, 2010 6:28 pm
- Forum: Beginners Help
- Topic: [SOLVED] Same mesh with different color
- Replies: 16
- Views: 1538
- Tue Feb 16, 2010 3:59 pm
- Forum: Beginners Help
- Topic: [SOLVED] Same mesh with different color
- Replies: 16
- Views: 1538
- Tue Feb 16, 2010 1:35 pm
- Forum: Beginners Help
- Topic: [SOLVED] Same mesh with different color
- Replies: 16
- Views: 1538
[SOLVED] Same mesh with different color
Hi what is the best way to have the same mesh with different color. I create my mesh in blender but I need to create different instance of the same mesh with different color (for example I have a cube and I want to create a red cube a blue cube and so on)
What is the best and fast way?
Thanks a lot ...
What is the best and fast way?
Thanks a lot ...