ahmadi
26-03-2006 15:07:00
After loading a scene how can i access to each material?
for example i want that after some event i make all material without texture filtering. it mean that i want make my scene high quality.
for example(my pseudo code):
also i need to access each mesh position and bound . because maybe i need to check that my player is near of one of my object or no?
for example(my pseudo code):
Thanks for anyhelp.
for example i want that after some event i make all material without texture filtering. it mean that i want make my scene high quality.
for example(my pseudo code):
oScene.initialise("file4.osm", &oe_Callback);
// create and setup the scene in the root node
oScene.createScene();
for(i=0;i<oScene.mat.count;i++)
oScene.mat[i].quality=highquality;
also i need to access each mesh position and bound . because maybe i need to check that my player is near of one of my object or no?
for example(my pseudo code):
oScene.initialise("file4.osm", &oe_Callback);
// create and setup the scene in the root node
oScene.createScene();
for(i=0;i<oScene.meshobject.count;i++)
mybound=oScene.meshobject[i].getbound;
Thanks for anyhelp.