#1
|
|||
|
|||
About getAlpha function
Hi,
I have a problem using the getAlpha function. I'm calling getAlpha on the resulting object from the pick function: Code:
intersect = win.pick(True, viz.WORLD, pos = [xNorm, yNorm]) alpha = intersect.object.getAlpha() Does anybody have an idea on that? Thanks, Omid |
#2
|
|||
|
|||
Does the object have multiple sub-nodes with different material settings? If so, then this might be why you are not getting the correct alpha value.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
return variable from keypress function | starbug | Vizard | 2 | 01-07-2010 11:14 AM |
window.pick function over sub-window | omidbrb | Vizard | 4 | 10-02-2009 04:23 AM |
Documentating function names | aaThomas | Vizard | 5 | 05-15-2007 09:50 AM |
Do you know how to send a value for 'pool' to the onActionEnd function? | ghazanfar | Vizard | 1 | 03-22-2007 10:25 AM |
timers and director function | Jerry | Vizard | 1 | 06-22-2006 09:47 AM |