Thursday, August 14, 2008

Interaction with Papervision3D



The above image has been created with Papervision3D by Den Ivanov and can be viewed on his website. It is a lovely piece of work and shows some of what Papervision3D can achieve.

Papervision3D
enables Flash / Flex users to use 3D content for the web. Flash was originally designed for just 2D input / output, however interactive. Macromedia Director was the tool that designers used to create interactive 3D interfaces for CD-ROM's / DVD's, not Flash. This is changing rapidly with this rather fantastic render engine.

I am not an expert on this but in trying to see how it works, there does not seem to be an interface that most of us would recognise, such as in Mental Ray. Once downloaded and installed, within Flash, you then have Papervision3D as an AS3 scripting page. Already, those of you who have any experience with code and Flash will know that this is new to me. What I have learnt is that it is an open source 3D render engine for Flash, the programming behind this only enhances the fact that there is a whole world of very clever people out there, making my skillset miniscule by comparison.

To explain - my husband is the Flash / Web designer, I ususally stick to my 3D work, and between us we are looking to use the interactive capability of Papervision3D in The Talking Walls project for Beaulieu Abbey. Unfortunately, neither of us are expert in code - of any sort. Paul uses CSS, AS2 etc as part of his job but his background is in graphics not programming. (Traditionally the two were always separate - not the case now, with programmers designing, and vice-versa.)

As for the 3D modelling aspect of Papervision3D, we are able to bypass this part of the coding, as we have Swift3D and Max. Papervision3D /Flash will import 3D content from either Swift3D or Max, using Collada as the export from Max, and Papervision3D export from Swift3D.

We have searched high and low for step-by-step tutorials for what we want to achieve. Looking through the web, there are some absolutely wonderful examples of Papervision3D, some of them showing exactly the kind of interactivity we want to incorporate.

JonathanDC

Blitz
Tutankhamun
arTYPEcture
vellof

But how to do this evades us at the moment. I know it won't be too long before we work it out, we already have interactivity on a single object thanks to this website we just need to know how to add the other cubes and make them interactive at the same time, and still allow the user to rotate the KubeMatrix.

In Director, this would have been fine, but we would really like to create the whole application in Flash.

If anyone reading this knows the additional code to make each cube interactive i.e. click and go to another page, then we would love to hear from you. It needs only to be the full faces on each cube, i.e the faces without the connectors, not every face.

Meanwhile, perseverance and determination (and stubborness) will succeed I am sure. As soon as we have worked it out, via help or otherwise, we will post the tutorial on this blog.

No comments: