Ever try to work with the alpha property in Papervision 2.0 and you're just banging your head against the wall, frustrated as to why it doesn't work?
try:
DisplayObject3D.useOwnContainer = true;
I hope this saves someone else some time, as it took me quite a while to figure this one out...the documentation is still a little few and far between for Papervision, but it's coming along....
Happy flashing.
Thursday, February 12, 2009
alpha not working gotcha papervision 2.0
Posted by
shane michael colella
at
2:03 PM
3
comments
Labels: alpha property, DisplayObject3D, frustrated, gotcha, Papervision 2.0, Papervision 3.0 Alpha, pvision 2.0, useOwnContainer
Thursday, October 23, 2008
Papervision 2.0 InteractiveScene3DEvent Gotcha
So has anyone spent any real time frustrated as to why something simple like :
item.addEventListener(InteractiveScene3DEvent.OBJECT_PRESS, planeClicked);
public function planeClicked(ev:InteractiveScene3DEvent) {
trace("planeClicked");
}
isn't working??
Well I have just finished spending time(1.5+ hours) on something such as this, so you may be in luck having now found this, if you happen to be in a similar situation.
yes, yes you have already tried to make the Material's interactive property true,
or the plane's interactive to true, etc,
whatever.
What i forgot about was the viewport. DOH!
viewport.interactive = true;
fixed.
I love this stuff..
Posted by
shane michael colella
at
7:33 AM
6
comments
Labels: gotcha, interactive, InteractiveScene3DEvent, Material, not, Papervision 2.0, working