![]() |
|
#1
|
|||
|
|||
|
viz.COPY_SHARED_MATERIAL_HINT not working
Hi Jeff,
I've come across this very irritating issue of the viz.COPY_SHARED_MATERIAL_HINT command not working. I have a very simple model and have moved things around just in case, but the command fails to do what it's supposed to (create copies of the same material). Whenever I try to change alpha value of one node, the second one using the second material changes to. Weirdly enough, I've use this in other cases with no problem. I couldn't attach the model (bigger than 1MB) but here's the simple code: Code:
object = factory.add('models/blue_tanks.osgb')
object.hint(viz.COPY_SHARED_MATERIAL_HINT)
object.alpha(0, 'OilDrop1')
Thanks! |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issue Getting Quad Buffer Working | nabrahamson | Vizard | 2 | 08-30-2012 10:43 AM |
| win32ui winviz.exe has stopped working | TarkaDahl | Vizard | 3 | 08-10-2010 06:19 PM |
| ppt 3/4 working | sisun1030 | Precision Position Tracker (PPT) | 6 | 03-05-2010 10:11 AM |
| Flock of Birds (Only Position Tracking working? No Orientation?) | TheLostBrain | Vizard | 6 | 05-10-2008 09:39 AM |
| Collision with avatars and scene not working | JvdBosch | Vizard | 12 | 09-14-2006 07:01 PM |