ParallelGraphics Forums
Pocket Cortona
You are here: [Forums]::[Browsers]::[Pocket Cortona]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   Browsers - Pocket Cortona

Subject: Re: Anchor Tags
Sender: dmmountain@gmail.com 21.08.06 07:13
>Hi,
>
>Anchor VRML nodes can be used in VRML
>scenes with Pocket Cortona only if the
>corresponding scenes are embedded in
>HTML pages. If you need to open another
>VRML scene, you also need to embed it in
>an HTML page.
>
>Regards,
>Mikhail

Hi

I have tried this approach and find that whilst the links work on desktop devices, in Pocket IE the 'anchor' objects in the scene do not act as hyperlinks, and so you cannot link to multimedia outside of the scene.

I can't see a problem with my personal implementation - I've stripped it down to the bone.

The parent HTML page looks like this:
---------------------------------------
<html>
<head>
<title>Anchor node example</title>
</head>
<BODY>
<table border="0" width="100%" height="100%">
<tr>
<td>
<object ID="Scene" TYPE="application/x-oleobject"
CLASSID="CLSID:86A88967-7A20-11D2-8EDA-00600818EDB1" WIDTH="240" HEIGHT="240">
<param name="Scene" value="anchor.wrl">
</object>
</td>
</tr>
</table>
</body>
</html>
---------------------------------------

The world file (anchor.wrl) looks like this...
---------------------------------------
#VRML V2.0 utf8
# anchor node
Anchor {
url "link.html"
children Transform {
translation 0 0 0
children Shape {
geometry Sphere {
radius 2
}
appearance Appearance {
material Material
{
ambientIntensity .4
diffuseColor .902 0 0
shininess 1
}
}
}
}
}
---------------------------------------


And the tag links to an HTML file (link.html) stored in the same directory. I've also tried using absolute file paths which also fails.

Can anyone advise why this doesn't work? Do we have to catch the 'onAnchor' event ourselves and use javascript or similar to open the URL?

Any advice gratefully received
David
____________________________
Dr DM Mountain
Research Fellow
www.soi.city.ac.uk/~dmm
dmm@soi.city.ac.uk


 


Anchor Tags / mhyner@fau.edu / 13.05.03 10:49
     Re: Anchor Tags / Mikhail / 14.05.03 01:05
         Re: Anchor Tags / dmmountain@gmail.com / 21.08.06 07:13
         Re: Anchor Tags / mhyner@fau.edu / 14.05.03 14:41
             Re: Anchor Tags / Mikhail / 15.05.03 05:26
                 Re: Anchor Tags / dmmountain@gmail.com / 30.08.06 11:11
                     Re: Anchor Tags / teresa.monahan@ucd.ie / 14.09.06 09:43

Messages in thread: 7


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.