24 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?

mygif
None Said,
August 10th, 2009 @7:55 am  

Thanks bro – good tut.

mygif
Joby Said,
September 25th, 2009 @7:04 am  

Bloody marvelous! Getting PV3D running has been driving me to the edge of sanity for the past 48hrs – thank-you one thousand times thank-you – Huzzah!

mygif
davet Said,
October 15th, 2009 @4:15 am  

Thanks ; I was using a book ‘papervision essentials’ but it has errors in the downloaded examples . With your help I am good to go, very good of you to help us.

mygif
john Said,
February 11th, 2010 @4:19 pm  

<30secs.
I wish there were more like you around, I truly do.

Pingback & Trackback
mygif
September 28th, 2009 @4:21 am  
mygif
Pingback from Top Posts of 2009
January 2nd, 2010 @8:01 am  

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

About Me

Pek Pongpaet is an internet entrepreneur. Pongpaet’s expertise ranges from product design and development, user experience, and martial arts. Pongpaet worked at Accenture Technology Labs in the research department coming up with next generation user interfaces. At Roundarch, a technology and strategy consulting firm, Pongpaet’s work included envisioning and designing the dashboard of the future for the Tesla Model S electric car. He has given talks at Northwestern University, DePaul University, and University of Chicago on topics such as Design, Innovation, Technology, and Entrepreneurship.

Pongpaet is a (retired) world class martial artist and performed motion capture work for 6 Mortal Kombat video games. He also is a medalist in international wushu competition in Beijing and currently teaches at two martial arts schools.

Top Commentators

Most Comments

Recent Comments

Search

Archives