18 Comments Already

mygif
RobertG Said,
October 15th, 2008 @12:00 am  

Thanks a lot for this. I was trying to set up something simple in “flash develop”, but could not make it work. Now having this in Flex is a good starting point for me to try and crasp the concept.

Kind regards, Robert

mygif
Pek Said,
October 16th, 2008 @8:01 pm  

Hey Robert.

I’m glad this was useful to someone. Good luck with Papervision3D. Also, look into Away3D as well. Setting it up in Flex is pretty much the same.

mygif
Abraham Said,
November 8th, 2008 @8:47 am  

Thanks a lot!

I was trying to put pv3D working into Flex last night.. i wish i read your post 10 hours ago haha

mygif
Amos Said,
December 10th, 2008 @9:18 pm  

You are awesome. thank you. In addition to being lazy and ignorant, I am cheap, so am compiling using just the sdk (plus, using linux so why not try for fully free anyway). luckily, with your zip file it’s super easy, just add the papervision sources to the directory with the .mxml file and run your build file. charms. so awesome, thanks again.

mygif
Pek Said,
December 10th, 2008 @9:22 pm  

Glad it was helpful. Did you do it in under 3 minutes?

mygif
Amos Said,
December 10th, 2008 @9:32 pm  

ha, that depends… slow reader… so it probably took me 3 minutes to read up to “if you’re super lazy”, at which point I realized that I needed to give this a try. after than, under 3 minutes for sure!

I’ve bashed my head on trying to do this with just the sdk, and what has been frustrating is (in addition to the paucity of non-.fla examples) wading through overly complex set-ups. there are some good tutorials that work, but for a beginner this is a perfect starting point upon which to “build by doing”.

mygif
Sheik Said,
December 15th, 2008 @11:42 pm  

The first example which worked for me, thx a lot! But I have one question:
How do I add a UIComponent, let’s say a TextField or a HBox, to the whole 3D scene (or plane, I don’t know where to add), so that it appears on the plane, or, what would even be better, it appears instead of the plane.

mygif
Pek Said,
December 15th, 2008 @11:59 pm  

Hmm, it’s a great question. That’s a good topic for a possible next tutorial.

mygif
Sheik Said,
December 16th, 2008 @12:22 am  

yep, looking for something like this since yesterday now ^^

mygif
Sheik Said,
December 16th, 2008 @1:19 am  

finally I figured something out based on your code here, I will post an example as soon as I debugged it.

mygif
Sheik Said,
December 16th, 2008 @5:34 am  

Here is a very simple example. I’ve tried to add some more functionality (like adding a HBox and then adding a Button to the box in runtime), but couldn’t get them to work properly yet.

http://wet-media.de/dev/papervision/simple/Papervision.html

mygif
December 16th, 2008 @10:13 am  

Nicely done Sheik. My first question after reading this post was “Where do I go from here?” You’ve answered it.

mygif
mozz Said,
March 13th, 2009 @2:20 am  

Hi, Pek!
Good job!
I tried to set the position of the purple square to the top left of the application window but didn’t succeed. Any ideas?

mygif
Pek Said,
March 25th, 2009 @11:11 pm  

Hi mozz,

There are many ways to do it. You can either move the camera by setting its coordinates (x, y, z), you can move the plane by setting its coordinates, or you can specify the size of the canvas and position that canvas wherever you want.

mygif
Andre_h2 Said,
April 18th, 2009 @1:01 pm  

Hi,
i’ve got a question, that i couldn’t answer, since i’m new to Flex even though i searched around for couple weeks.

is it possible to instantiate the papervision code from an external file, meaning not in the ?
i think it’s not elegant to put the logic programming code in the middle of the block just below the MXML code.

I would like to use a this mxml code as a base, and depending on the class i instantiate, have different papervision projects open.
Is there anyway to do this?

Thanks,
Andre

mygif
Pek Said,
April 18th, 2009 @9:00 pm  

Hi Andre

You can absolutely instantiate papervision code from an external file not in an MXML. You can create different MXML components (each w/ their own papervision scenes/models that the main MXML loads or have separate Papervision classes that the main MXML instantiates depending on parameters.

P

mygif
cyflexian Said,
May 26th, 2009 @2:05 am  

nice sample. Its actually 1min. if you used the zip :)

mygif
teresa Said,
June 10th, 2009 @6:33 am  

Hellooo !
I’m working with augmented reality and i want to create a plane with a movie but i have a problem. could it be possible to send you the code?

Related Post

Leave Your Comments Below

Please Note: All comments will be hand modified by our authors so any over offensive comments will be removed and your submitted comments will be appreared after approved

  • Pek in Twitter + Augmented Reality
  • rouli in Twitter + Augmented Reality
  • jhong in The Story of Hot Tweeters: How to L…
  • Riapalooza 2 A … in RIApalooza 2: RIAs Beyond the Mouse…
  • teresa in Set Up Papervision 2.0 for Flex 3 i…
  • rishi in The Story of Hot Tweeters: How to L…
  • The History of … in The Story of Hot Tweeters: How to L…
  • Pek in Exploring 3D Desktop Concepts and N…
  • Mike in Flash ActionScript stage.stageWidth…
  • Stevewushu in How to Perform a 720 Tornado Kick

  • Pek performing his bust out section of his staff routine.
    For more videos, check out my youtube channel.

Most Comments

Recent Comments

  • Pek in Twitter + Augmented Reality
  • rouli in Twitter + Augmented Reality
  • jhong in The Story of Hot Tweeters: How to Launch a Website in 4…
  • Riapalooza 2 A Must for RIA Enthusi… in RIApalooza 2: RIAs Beyond the Mouse and Keyboard Recap
  • teresa in Set Up Papervision 2.0 for Flex 3 in 3 Minutes Flat
  • rishi in The Story of Hot Tweeters: How to Launch a Website in 4…
  • The History of Hot Tweeters — Pul… in The Story of Hot Tweeters: How to Launch a Website in 4…
  • Pek in Exploring 3D Desktop Concepts and Natural User Interfac…
  • Mike in Flash ActionScript stage.stageWidth vs stage.width
  • Stevewushu in How to Perform a 720 Tornado Kick

Archives