ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator Custom SceneNode texture/material
person icon
jackrabbit
Registered User
Quote
2009-08-02 18:54:30

Hello,

I was playing around with the custom scenenode plugin,
and noticed that the Materials tab is empty.

How do you specify materials and textures for your own custom
scenenodes ? Is this possible, and if so, how does one go about
this ?

I know that you can set materials in the construction code of the
actual scenenode in the plugin itself, but this is rather limiting,
would be really cool i could specify this in the IrrEdit tool.

person icon
niko
Moderator
Quote
2009-08-03 17:49:01

If your scene node returns the material count correctly, then the material should show up. Maybe you didn't override the method correctly, especially take a look at the 'const' at the end of it.

person icon
gbox3d
Guest
Quote
2009-08-18 10:51:08

there is bug in sample CSampleSceneNode pugin code irredit 1.5

virtual u32 getMaterialCount();

is must modyfy like this

virtual u32 getMaterialCount() const;

and u will see the matrial!!!


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |