PanoTools mailing list archive

Mailinglist:proj-imim
Sender:Ed Howard
Date/Time:2000-May-31 20:48:41
Subject:Re: "codebase" tag

Thread:


proj-imim: Re: "codebase" tag Ed Howard 2000-May-31 20:48:41
> > Can you describe - what's the best method for separate java-viewer
> > source files and html/panoramas files.
> >
>
> Sorry, I don't have any good advice. There are varying
> security restrictions on your own computer and on the server,
> which add up to many problems.
>
> Applets can fetch images only from the address they originate.
> This restriction is applied by your browser, and may mean the
> address of the applet's directory, or the address of the server the
> applet is on.
>

FWIW
Here is an Ipix and Live Picture Implimentations of Images being pulled from
different SERVERS than the applet. In the high volume end of the real estate
Vtour market, this is actually an important consideration. A large
Realtor(now iPix) has agreed to switch but has required this ability. They
insist that the html reside on their server but not the image content...go
figure...

The LP implimentation was due to the fact that my company is still
officially LPbased. (a temporary solution until we switch to PTJV..... )



The Ipix code has been in use for some time at many locations. The LP code
(written this morn) is currently being tested. It seems to work fine in
Netscape 4.7 and IE 5.0.  We will test it in IE 4.x and Netscape 3.x as well
as Windows 98, Windows NT, Windows 2000, and Macintosh.

I will follow up with those results.

Ed Howard



BEGIN IPix Code

<!--- Begin Java Applet for VR ---> <APPLET NAME="VRApplet"
CODE="AppletViewer.class" codebase="http://tours.bamboo.com/java1_34"
archive="Applet.zip" WIDTH=315 HEIGHT=196 BORDER=0>

  <PARAM NAME="Image"
VALUE="http://tours.ipixmedia.com/tours/AA5/V6H/PG/AA5V6HPG-scene-dr-h200.jp
g">
  <PARAM NAME="BackgroundColor" VALUE="#FFFFFF">
  <PARAM NAME="FieldOfView"   VALUE="80">
  <PARAM NAME="Rotate"      VALUE="4">
    <PARAM NAME="Archive"           VALUE="Applet.zip">
  <PARAM NAME="StartOptimized"  VALUE="true">
    <PARAM NAME="Help.URL"          VALUE="/help/java1_3/index.shtml">
  <PARAM NAME="Toolbar.URL"
VALUE="http://tours.bamboo.com/java1_34/Toolbar.GIF">
  <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=320 HEIGHT=200><TR
VALIGN="middle"><TD ALIGN="center">
  Unable to load Java viewer.</TD></TR></TABLE>
</APPLET>
<!--- End Java Applet for VR --->



***********
BEGIN Live Picture Code

<center>
<script language="JavaScript">
<!--//
  var browser = navigator.appName;
  var version = parseFloat(navigator.appVersion);
  if (browser == 'Netscape' && version < 4.0) {
    document.write('<applet name="LPPano"
codebase="http://www.imagemaker360.com/VirtualToursTest/"
code="LPPano.class"
archive="http://www.imagemaker360.com/VirtualToursTest/lpjpanoNS3.zip"
WIDTH=315 HEIGHT=196>');
  }
  else {
    document.write('<applet name="LPPano"
codebase="http://www.imagemaker360.com/VirtualToursTest/"
code="LPPano.class"
archive="http://www.imagemaker360.com/VirtualToursTest/lpjpano.zip"
WIDTH=315 HEIGHT=196>');
  }
  document.write('<param name=cabbase
value="http://www.imagemaker360.com/VirtualToursTest/lpjpano.cab">');
  document.write('<param name=file
value="http://www.imagemaker360.com/VirtualToursTest/1767_pf.ivr">');
  document.write('<param name=autospin value="-60">');
  document.write('<param name=infoPage value="http://www.cyclovision.com/,
_top">');
  document.write('<param name=altSplash value=cyclologo.jpg>');
  document.write('</applet>');
file://--&gt;
</script>
</center><!--//------------End Copy Here---------------//-->



**********
IVR File
#VRML V2.0 utf8

EXTERNPROTO Vista [
 exposedField SFString type
 exposedField MFNode  texture
 exposedField MFVec2f  vFov
 exposedField MFVec2f  hFov
 exposedField SFVec2f  pitchRange
 exposedField SFVec2f  yawRange
 exposedField SFVec2f  zoomRange
 exposedField MFColor  groundColor
 exposedField MFFloat  groundAngle
 exposedField MFColor  skyColor
 exposedField MFFloat  skyAngle
 eventOut SFVec2f clickPt
 eventOut SFVec2f overPt
 eventOut SFBool isBound
 eventIn  SFBool set_bind
] "http://www.livepicture.com/proto/vistaproto15.wrl#Vista"

NavigationInfo {
 type "VISTA"
 headlight FALSE
}

Vista {
 type "SPHERE"
     texture ImageTexture { url
"http://www.imagemaker360.com/VirtualToursTest/1767_pf_sp.jpg" }
 vFov -1.138331 0.224269
 pitchRange -1.138331 0.224269
}



Next thread:

Previous thread:

back to search page