Yes, I've tried your solution and it works too.
Thanks!
Search found 11 matches
- Fri Mar 10, 2006 12:54 pm
- Forum: Irrlicht.NET
- Topic: Texture reference shared to all MeshSceneNode
- Replies: 8
- Views: 2063
- Fri Mar 10, 2006 8:10 am
- Forum: Irrlicht.NET
- Topic: Texture reference shared to all MeshSceneNode
- Replies: 8
- Views: 2063
I've created a new method on original engine and I've wrapped it on Irrlicht.NET: and overload of existing SetMaterialTexture, with an additional parameter, "material", that specifies the index of the material the texture refers.
It's strange that that overload doesn't exists in the official release ...
It's strange that that overload doesn't exists in the official release ...
- Thu Mar 09, 2006 4:29 pm
- Forum: Irrlicht.NET
- Topic: Texture reference shared to all MeshSceneNode
- Replies: 8
- Views: 2063
- Thu Mar 09, 2006 4:04 pm
- Forum: Irrlicht.NET
- Topic: Texture reference shared to all MeshSceneNode
- Replies: 8
- Views: 2063
- Thu Mar 09, 2006 3:44 pm
- Forum: Irrlicht.NET
- Topic: Texture reference shared to all MeshSceneNode
- Replies: 8
- Views: 2063
- Thu Mar 09, 2006 3:06 pm
- Forum: Irrlicht.NET
- Topic: Texture reference shared to all MeshSceneNode
- Replies: 8
- Views: 2063
Texture reference shared to all MeshSceneNode
Hi!
I'm getting a reference to a texture of a mesh with this code:
m_FullCardMeshNode.GetMaterial(0).Texture1
Then I replace the bitmap contained into that texture with another bitmap, but this change affects all the meshes on the screen. The other meshes are into the same SceneManager and ...
I'm getting a reference to a texture of a mesh with this code:
m_FullCardMeshNode.GetMaterial(0).Texture1
Then I replace the bitmap contained into that texture with another bitmap, but this change affects all the meshes on the screen. The other meshes are into the same SceneManager and ...
- Wed Mar 08, 2006 8:03 am
- Forum: Irrlicht.NET
- Topic: bool keyboard input with c#
- Replies: 3
- Views: 2219
- Tue Mar 07, 2006 3:23 pm
- Forum: Irrlicht.NET
- Topic: Replacing a model texture at runtime
- Replies: 7
- Views: 2108
- Tue Mar 07, 2006 1:35 pm
- Forum: Irrlicht.NET
- Topic: Replacing a model texture at runtime
- Replies: 7
- Views: 2108
- Tue Mar 07, 2006 12:31 pm
- Forum: Irrlicht.NET
- Topic: Replacing a model texture at runtime
- Replies: 7
- Views: 2108
- Tue Mar 07, 2006 8:36 am
- Forum: Irrlicht.NET
- Topic: Replacing a model texture at runtime
- Replies: 7
- Views: 2108
Replacing a model texture at runtime
Hi all.
I'm trying to replace the content of a texture (statically applied to the material using a 3d model tool) with the content of a bitmap, using the following code:
IAnimatedMesh mesh = m_Device.SceneManager.GetMesh(@"Card.x");
m_FullCardMeshNode = m_Device.SceneManager ...
I'm trying to replace the content of a texture (statically applied to the material using a 3d model tool) with the content of a bitmap, using the following code:
IAnimatedMesh mesh = m_Device.SceneManager.GetMesh(@"Card.x");
m_FullCardMeshNode = m_Device.SceneManager ...