Search found 12 matches

by Papa Lazarou
Sun Jun 29, 2008 10:55 am
Forum: Beginners Help
Topic: remove parent
Replies: 2
Views: 544

remove parent

How can I change the parent of a scene node to have no parent?
I tried ->setParent(0);
but then after that if i then try to change the parent again it crashes.
by Papa Lazarou
Fri Jun 06, 2008 10:51 am
Forum: Beginners Help
Topic: new SMaterial
Replies: 3
Views: 113

forgive my c++ ignorance, but if i then made a few nodes' materials = mynewmaterialwithallsettingsmade, and then changed a setting on mynewmaterialwithallsettingsmade, would that affect all the other nodes too?
by Papa Lazarou
Fri Jun 06, 2008 7:02 am
Forum: Beginners Help
Topic: new SMaterial
Replies: 3
Views: 113

new SMaterial

If i create a new SMaterial class instance, how can I then apply it to a scene node? Without having to go through all the material's properties and 'copying' them over.
Like, there should be a .setMaterial(index,material) function :) .
by Papa Lazarou
Wed May 14, 2008 4:13 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

thanks
by Papa Lazarou
Wed May 14, 2008 3:56 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

ok, am i right to assume the dwarf and the axe textures are applied to the saved dwarf model already, before being loaded into irrlicht?
What if i wanted to change what texture was on the dwarf and what texture was on the axe programatically?
by Papa Lazarou
Wed May 14, 2008 3:43 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

ok, how do i differentiate between the loaded meshes (buffer) in a mesh node. If there was more than one.
by Papa Lazarou
Wed May 14, 2008 3:27 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

I don't understand.
The mesh in the buffer would be the dwarf mesh right?
Why would that mean more than one?
If the dwarf model has more than one texture, why does that mean it has more than one material?

By the way, blender fails to open the dwarf.x model.
by Papa Lazarou
Wed May 14, 2008 2:22 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

don't you mean materials, not textures?
by Papa Lazarou
Wed May 14, 2008 1:33 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

ok :) Is there an example somewhere of a node that is made up of multiple meshes? Or does one of the tutorials show that?
by Papa Lazarou
Wed May 14, 2008 1:11 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

why does the getMaterial() function of a node require an index then?
by Papa Lazarou
Wed May 14, 2008 12:50 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

How do i give a node a new material?
Is the max number of materials per node 4?
And why is it possible to load more than one texture into a material?
by Papa Lazarou
Wed May 14, 2008 12:35 pm
Forum: Beginners Help
Topic: materials and or textures per node
Replies: 17
Views: 807

materials and or textures per node

Can somebody explain to me how materials and textures work with eachother? In relation to 'per node'.
I understand there is a max 4 of one or the other. But are materials textures plus other settings, or what ?