On 1/22/06, Andy Lee <[EMAIL PROTECTED]> wrote:
> Hello, my friends,
>
> For genmesh, I can call iMeshObject->SetMaterialWrapper()
> to change its material.
> But for thing, what should I do?
> Thanks a lot!

iThingState->ReplaceMaterial(). You should give the pointer to the
original material from the factory that you want to replace. i.e. if
the polygons originally have 'stone4' then that's the old material.

Greetings,
>
> ------------------
> AndyFrun
> 2006-01-21
>


--
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to