How to set up Materials programmatically

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
liusongyun
Gnoblar
Posts: 3
Joined: Tue May 31, 2005 4:04 pm

How to set up Materials programmatically

Post by liusongyun »

Hi,I want to create material and texture programmatically.The OGRE Manual said that we can call SceneManager::createMaterial.but createMaterial() isn't the member of SceneManager.

Chould any one show me how to do that.

I am so sorry for my poor english. :P

Thanks for any help...
MadLion
Halfling
Posts: 97
Joined: Wed Aug 25, 2004 8:14 am
Location: Germany

Post by MadLion »

Hi,

please no double post.

See my answer in your other post http://www.ogre3d.org/phpBB2/viewtopic. ... 7067#77067 .

Greetings MadLion