We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Help publishing Augmented Reality (Flash / papervision / flartoolkit)

IDM
IDM Posts: 16 Forumite
edited 11 July 2011 at 11:24PM in Techie Stuff
Hi,

Please could you have a look at this tutorial, w w w.adobe.com/devnet/flash/articles/augmented_reality.html.

I downloaded the sample files, and ran the .fla file which worked on my version of flash (CS5):
The .swf prompted me to allow the page to access my webcam.
The printed marker, when shown in my webcam showed the 3D image (eiffel tower).

I saved all of the source files to a website which I uploaded.
In Flash, I set the publish settings for a swf and html which I uploaded.

When I go onto the website page, it prompts me to allow the page to access the webcam. Once it is accessing it, despite putting the marker in screen view, the eiffel tower doesn't show.

This is the upload log, which I'm including so that you can see where certain files are located in the directory. Do I have to move any of them?

Any help would be appreciated.


arproject\flash\.flashProjectProperties - Put operation successful
arproject\flash\assets\.DS_Store - Put operation successful
arproject\flash\assets\FLAR\.DS_Store - Put operation successful
arproject\flash\assets\FLAR\FLARCameraParameters.dat - Put operation successful
arproject\flash\assets\FLAR\FLARPattern.pat - Put operation successful
arproject\flash\assets\models\.DS_Store - Put operation successful
arproject\flash\assets\models\tower\.DS_Store - Put operation successful
arproject\flash\assets\models\tower\images\marker_v1.jpg - Put operation successful
arproject\flash\assets\models\tower\images\texture0.jpg - Put operation successful
arproject\flash\assets\models\tower\images\texture0.png - Put operation successful
arproject\flash\assets\models\tower\models\.DS_Store - Put operation successful
arproject\flash\assets\models\tower\models\tower.dae - Put operation successful
arproject\flash\assets\models\tower\textures.txt - Put operation successful
arproject\flash\AugmentedReality.as - Put operation successful
arproject\flash\AugmentedReality_v1.html - Put operation successful
arproject\flash\AugmentedReality_v1.swf - same - not transferred
arproject\flash\libs\.DS_Store - Put operation successful
arproject\flash\libs\FLARToolKit.swc - Put operation successful
arproject\flash\libs\flex.swc - Put operation successful
arproject\flash\libs\Papervision3D_2.0.883.swc - Put operation successful

I have just tested this out on a basic website, as I wanted to make sure the whole thing works before trying to publish it on a Joomla website.

thanks

Comments

  • IDM
    IDM Posts: 16 Forumite
    Sorry, I have to bump as getting a bit desperate. Thanks :p
  • IDM
    IDM Posts: 16 Forumite
    Maybe the daytime posters will know more about it? Thanks
  • IDM
    IDM Posts: 16 Forumite
    I have tried loading the .swf in a html site, and also in a power point presentation.

    The user is prompted to allow the camera access.

    The camera starts working, but when pointed at the marker it doesn't work.

    In flash CS5, the file does work.

    The actionscript is all in a .as file, which is targeted to a .fla file. The .fla file is what I run.

    I have tried uploading the whole folder to the html site so the .dae file that it calls upon is in the same location as the reference in the .as file, but it still doesn't show the 3d image.

    Any further suggestions would be appreciated.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 352.8K Banking & Borrowing
  • 253.8K Reduce Debt & Boost Income
  • 454.7K Spending & Discounts
  • 245.9K Work, Benefits & Business
  • 601.9K Mortgages, Homes & Bills
  • 177.7K Life & Family
  • 259.8K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.