DevalVR support

 

It is currently Thu May 23, 2013 11:02 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Wed Apr 19, 2006 9:42 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
Hi lop,

You can use #66 value to align the images to the right and bottom in fullscreen mode.

In your script:

IMAGE=-20,-20,#66,100,mul,compshadow;
IMAGE=-10,-10,#66,100,,compass;


best regards


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 11:04 pm 
Offline

Joined: Tue Feb 14, 2006 4:47 pm
Posts: 17
Thanks fiero.
I was a little confused about how the alignment works with 66.

Ooops :?
The alignment of 66 is fine but the interactivity of flash is gone.
Actually it is stucked in the upper left corner of deval window.
Probably a bug

Here's the full DVL script:
Code:
(pano)
{
    TYPE=MOV;
    FILE=_temp.mov;
    IMAGE=0,0,#66,100,mul,compshadow;
    IMAGE=-10,-10,#66,100,,compass;
}

(compass)
{
    TYPE=IMAGE;
    FILE=flashpage.html;
    SIZE=100,100;
    REFRESHRATE=15;
}

(compshadow)
{
    TYPE=IMAGE;
    FILE=shadow.jpg;
}


And source FLA files for the second example are here:
compass2.fla
compass_connect.fla

I'm glad you liked it but it was just a test :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 20, 2006 12:36 am 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
lop wrote:
Ooops :?
The alignment of 66 is fine but the interactivity of flash is gone.
Actually it is stucked in the upper left corner of deval window.
Probably a bug


ups! Yes, a bug. Fixed in 0,3,3,14 :)


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue May 30, 2006 11:49 pm 
Offline

Joined: Sun Feb 05, 2006 8:58 pm
Posts: 107
Location: SPb, Russia
Hi, Fiero.

fiero wrote:
Thank you Marlon and Vlad for your comments :)

For normal images (no Flash) I will create a new instruction to create buttons in the viewer.


Yes, I meant some new instruction for normal images, as in your example.

Regards.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 15, 2006 7:28 pm 
Offline

Joined: Sun Feb 05, 2006 8:58 pm
Posts: 107
Location: SPb, Russia
fiero wrote:
Thank you Marlon and Vlad for your comments :)

For normal images (no Flash) I will create a new instruction to create buttons in the viewer.

regards


Hi, Fiero.

We are still waiting this small instruction. :)

Best regards,
Vlad.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 17, 2006 5:54 pm 
Offline

Joined: Sat Dec 24, 2005 9:28 pm
Posts: 164
Location: JAMAICA
lop wrote:
Thanks fiero.
I was a little confused about how the alignment works with 66.

Ooops :?
The alignment of 66 is fine but the interactivity of flash is gone.
Actually it is stucked in the upper left corner of deval window.
Probably a bug

Here's the full DVL script:
Code:
(pano)
{
    TYPE=MOV;
    FILE=_temp.mov;
    IMAGE=0,0,#66,100,mul,compshadow;
    IMAGE=-10,-10,#66,100,,compass;
}

(compass)
{
    TYPE=IMAGE;
    FILE=flashpage.html;
    SIZE=100,100;
    REFRESHRATE=15;
}

(compshadow)
{
    TYPE=IMAGE;
    FILE=shadow.jpg;
}


And source FLA files for the second example are here:
compass2.fla
compass_connect.fla

I'm glad you liked it but it was just a test :wink:



is there anyway your script can be made to work offline


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 12:51 pm 
Offline

Joined: Tue Feb 14, 2006 4:47 pm
Posts: 17
Marlon wrote:
lop wrote:
Thanks fiero.
I was a little confused about how the alignment works with 66.

Ooops :?
The alignment of 66 is fine but the interactivity of flash is gone.
Actually it is stucked in the upper left corner of deval window.
Probably a bug

Here's the full DVL script:
Code:
(pano)
{
    TYPE=MOV;
    FILE=_temp.mov;
    IMAGE=0,0,#66,100,mul,compshadow;
    IMAGE=-10,-10,#66,100,,compass;
}

(compass)
{
    TYPE=IMAGE;
    FILE=flashpage.html;
    SIZE=100,100;
    REFRESHRATE=15;
}

(compshadow)
{
    TYPE=IMAGE;
    FILE=shadow.jpg;
}


And source FLA files for the second example are here:
compass2.fla
compass_connect.fla

I'm glad you liked it but it was just a test :wink:



is there anyway your script can be made to work offline


What do you mean by offline? You mean without intermadiate html page?

From what I know it's not possible at this time. You can't communicate directly from Flash to Deval. You have to use Javasctipt of browser that hosts the Deval and Flash objects. Flash can communicate with outer world only by the old FSCommand method or by the new ExternalInterface.
It's up to Fiero to make this more simple. :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 2:03 pm 
Offline

Joined: Sat Dec 24, 2005 9:28 pm
Posts: 164
Location: JAMAICA
when i said offline i mean the stand alone player


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 21, 2006 11:52 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
lop wrote:
From what I know it's not possible at this time. You can't communicate directly from Flash to Deval. You have to use Javasctipt of browser that hosts the Deval and Flash objects. Flash can communicate with outer world only by the old FSCommand method or by the new ExternalInterface.
It's up to Fiero to make this more simple. :wink:


I sent a request to Adobe to integrate Flash Player natively in DevalVR. I don't know if Adobe will be interested, but it would be great :o

best regards


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 1:09 pm 
Offline

Joined: Tue Feb 14, 2006 4:47 pm
Posts: 17
fiero wrote:

I sent a request to Adobe to integrate Flash Player natively in DevalVR. I don't know if Adobe will be interested, but it would be great :o

best regards


This is a nice try. But I'm very sceptical about this.
Adobe is BIG company and they are thinking only in BIG perspective. :(

Anyway.
If you're still handling flash files encapsulated in IE browser (as it is now) and you can somehow get to the JavaScript API of that browser than you can make usage of ExternalInterface Flash 8 ActionScript class. So the communication between them should be possible.
Or am I wrong Fiero?

And theoretically the communication could be doable without JavaScript interaction, but u have to host the Flash object directly in Deval and that's what I don't know if it's possible.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 3:53 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
lop wrote:
This is a nice try. But I'm very sceptical about this.
Adobe is BIG company and they are thinking only in BIG perspective. :(


I tried here http://www.adobe.com/products/flashplayer_sdk/ , it say "...porting Flash Player to your consumer electronics device or embedded platform,...". I think DevalVR is a embedded platform :)

Quote:
If you're still handling flash files encapsulated in IE browser (as it is now) and you can somehow get to the JavaScript API of that browser than you can make usage of ExternalInterface Flash 8 ActionScript class. So the communication between them should be possible.
Or am I wrong Fiero?


I tried this option, but it does not work.

Quote:
And theoretically the communication could be doable without JavaScript interaction, but u have to host the Flash object directly in Deval and that's what I don't know if it's possible.


Yes, I can create a Flash object directly and communication with this object is possible, and easy. The problem is that this method does not allow to paint Flash image into a DevalVR image. I only can paint Flash content into my images through IE object. I searched a lot of info on the Internet and I think it's impossible.

I will wait until Adobe answer. If I could integrate Flash 7 source code in DevalVR, to paint Flash content could be 4 times faster than using IE object. If Adobe answer is 'NOT', I will try some ideas, maybe I must ask to Microsoft support to get some info about IE browser object.

best regards


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 4:33 pm 
Offline

Joined: Tue Feb 14, 2006 4:47 pm
Posts: 17
fiero wrote:
I tried this option, but it does not work.


There could be some security issues.

Quote:
I will wait until Adobe answer. If I could integrate Flash 7 source code in DevalVR, to paint Flash content could be 4 times faster than using IE object.


You're right. This would be the best solution. The only downside is that the plugin size will be 2 or 3 times bigger.
But then the possibilities will be endless... 8)


Top
 Profile  
 
 Post subject: Re: proof of concept
PostPosted: Fri Jun 23, 2006 2:55 am 
Offline

Joined: Fri Nov 11, 2005 12:41 am
Posts: 229
Location: basel-switzerland
lop wrote:
For those of you who are interested in combining deval and flash and communicating between them I made 2 little tests.

    1. Layering a flash over deval window via CSS.
    http://lop.vectris.cz/overlayTest.html
    It works fine in IE but in FireFox there are some redrawing issues.

    2. Embeding a flash directly by DVL script (newest deval feature).
    http://lop.vectris.cz/overlayTest2.html
    This version works in both browsers but communication is too complicated. It's using one more intermediate flash movie and Local Connection object.
    Hey Fiero, are you planning to allow direct communication between deval and embeded flash? :)

Both examples are utilizing 2-way communication, so you can pan and zoom in deval window or click in compass to point the view that way.
Of course you need the newest version of deval plugin and Flash player 8.
And thanks to the new IMAGE effect feature you can notice a nice shadow under compass window.
I can provide the source FLA files if anybody is interested.

BTW That panorama is not mine. So don't ask or blame me. :wink:


Lop




adress-line is empty in FF. but image is shown.

_________________
http://www.3dreal.ch
3DStereo-Aeropanoramas
(temporary ltd.access)
www.stereopan.org
3dstereo-marspanoramas


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Fri Jun 23, 2006 6:44 am 
Offline

Joined: Sat Dec 24, 2005 9:28 pm
Posts: 164
Location: JAMAICA
lop wrote:
Thanks fiero.
I was a little confused about how the alignment works with 66.

Ooops :?
The alignment of 66 is fine but the interactivity of flash is gone.
Actually it is stucked in the upper left corner of deval window.
Probably a bug

Here's the full DVL script:
Code:
(pano)
{
    TYPE=MOV;
    FILE=_temp.mov;
    IMAGE=0,0,#66,100,mul,compshadow;
    IMAGE=-10,-10,#66,100,,compass;
}

(compass)
{
    TYPE=IMAGE;
    FILE=flashpage.html;
    SIZE=100,100;
    REFRESHRATE=15;
}

(compshadow)
{
    TYPE=IMAGE;
    FILE=shadow.jpg;
}


And source FLA files for the second example are here:
compass2.fla
compass_connect.fla

I'm glad you liked it but it was just a test :wink:




how was the pano from the sky done


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 23, 2006 10:57 am 
Offline

Joined: Tue Feb 14, 2006 4:47 pm
Posts: 17
Marlon wrote:
how was the pano from the sky done


It was made with an airplane just by flying 4 times above the same point.
You can find more here

The last panorama of from the sky section is also interesting. :wink:
Simply amazing photography!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group