Page 1 of 1

Not beginners' questions

Posted: Thu Sep 08, 2005 3:33 pm
by WToma
I've asked some questions in the beginners' forum but I did not get any solution so far, maybe you can solve these problems.

Problem 1: failed to change material color
I load some my3d meshes, then I try to change the color of some of its materials, but nothing happens unless I set the value of the emissive color which looks ugly. You can read the whole thread here:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8265

Problem 2: how to copy an IAnimatedMesh
After loading, I would like to modify the mesh, but also have a "backup" of it. How to do this? Multiple loading doesn't works. Read the thread here:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8634

Thanks 4 helping
Toma

Posted: Mon Sep 19, 2005 7:03 am
by xtheagonyscenex
in the api in the class list one of the mesh classes has the documentation on copying meshs and im sorry i cant help on the other stuf i just think you should texture the model you will have to eventually

Posted: Mon Sep 19, 2005 7:19 pm
by Guest
That's a good question about colors WToma, I have a small editting app that lets me play with lots of settings for different node types, and none of the colors respond to any changes except Emissive. Specular does respond to nearby lights (as it should) but I have not seen Ambient or Diffuse colors have any effect on materials. If anyone has seen these properties have an effect on materials, or know what they are used for, I'd appreciate if you could enlighten us

Posted: Tue Sep 20, 2005 3:17 pm
by WToma
Now I'm writing some physics code, but I'll take a look into the source code to see what happens here. This is quite intresting.
xtheagonyscenex: Sorry I cannot find what you refer to. Maybe it is the public attribute 'Meshes' of SAnimatedMeshSceneNode?

Toma