[osflash] Interactive Planes and Axis Problem

Glen Pike postmaster at glenpike.co.uk
Mon Mar 17 10:10:01 PDT 2008


Look at tutorials 9 & 10, they probably answer your question:

http://papervision2.com/tutorial-list/


You need to make your viewport interactive (tute 9)

viewport = new Viewport3D(vpWidth, vpHeight, false, true);

You make your material interactive (tut 9 & 10)
material.interactive = true;

HTH

Glen

Timothy Garner wrote:
> Next Problem....
>  
> Integrating Interactivity with the VideoStreamMaterial.
> I'm using it to stream video onto planes.
>  
> How can I make the planes interactive?
>  
> I want to be able to click on them to turn the cube to the correct video.
>  
> Also, I have a question about Axis' It seems that when you rotate a 3D 
> DisplayObject on the y axis it rotates it's native x and z axis with 
> it, I want to be able to rotate the Object but still retain the origins.
>  
> Thanks,
>  
> Here's an example of what I'm working on.
>  
> www.totalimagematrix.com/cube.html 
> <http://www.totalimagematrix.com/cube.html>
>  
> Tim G.
> ------------------------------------------------------------------------
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>   

-- 

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080317/882fa071/attachment.html 


More information about the osflash mailing list