mrwild2007
Posts: 14
Location:
Registered: 13 Oct 2005
|
Java Viewer
Posted: 4 Jun 2008 at 12:50 GMT
|
|
Hello, im going to try the ptviewer. I would like to know if theres an easy way of making a controller menu for my tour that is set in the center of the bottom area.
where would i find documentation on how to create a template for dealing with multiple virtual tours?.
|
|
alert moderator
|
|
Doug Aurand
Posts: 763
Location: Albuquerque, NM, United States
Registered: 2 Jan 2008
|
|
michael przewrocki
Posts: 732
Location: basel, Switzerland
Registered: 19 Nov 2004
|
|
Doug Aurand
Posts: 763
Location: Albuquerque, NM, United States
Registered: 2 Jan 2008
|
Re: Java Viewer
Posted: 9 Jun 2008 at 14:50 GMT updated: 9 Jun 2008 at 14:51 GMT
|
|
Michael If I understand your question, its a simple parameter setting to change the size of a vr window with PTViewer.
You just specify the size you want 320x240, 640x480, 800x300, etc
Here's the html/parameter code for the PTViewer 2.8
<applet code="ptviewer.class" archive="ptviewer.jar" width="320" height="240"> <param name="file" value="images/LivingEQ.jpg"> <param name="cursor" value="MOVE"> <param name="fov" value="85"> <param name="showToolbar" value="true"> <param name="imgLoadFeedback" value="false"> <param name="auto" value="0.25"> <param name="autoTime" value="60"> <param name="bgcolor" value="FFFFFF">
Doug Aurand Albuquerque, NM
|
|
alert moderator
|
|
Ken Warner
Posts: 367
Location: Mammoth Lakes, United States
Registered: 14 Aug 2004
|
Re: Java Viewer
Posted: 9 Jun 2008 at 17:38 GMT
|
|
michael przewrocki said: www.wpanorama.com/panoramas.php?page=02g#budapest
is there a site with larger panorama-window? i dont like the download-option.
There are some nice cylindrical panos on that site.
Does anyone know of a site that has downloadable spherical panos? Spherical panos in the public domain?
|
|
alert moderator
|
|
klaus mayer
Posts: 84
Location: Australia
Registered: 15 Jan 2008
|
Re: Java Viewer
Posted: 9 Jun 2008 at 23:28 GMT
|
|
|
There are hundreds of them on Flickr.com. There is an entire group for equirectangular panos. Just check the copyright of the individual contributor before using it.
|
|
alert moderator
|
|
klaus mayer
Posts: 84
Location: Australia
Registered: 15 Jan 2008
|
Re: Java Viewer
Posted: 9 Jun 2008 at 23:40 GMT updated: 9 Jun 2008 at 23:43 GMT
|
|
The controller menu is just part of a background image with static hotspots. Here is a sample how I set up mine:
I set my applet width=712 height=480:
Parameter view_width defines the width of the area where the pano is shown. I set it smaller than the applet because I use a frame around it: <param name=view_width value=701>
Parameter view_height defines the height of the area where the pano is shown. I set it smaller because I use my own toolbar at the bottom and a frame around the pano: <param name=view_height value=420>
My toolbar is just part of a gif file of the width of the applet with a few buttons at the bottom.
The first button is to start automatic rotation to the left. The x/y values are where the button starts, the a/b values are where the button ends: <param name=shotspot0 value=" x1 y438 a86 b468 u'ptviewer: startAutoPan(-0.2,0,1)' ">
The second button is to start automatic rotation to the right. The x/y values are where the button starts, the a/b values are where the button ends: <param name=shotspot1 value=" x87 y438 a172 b468 u'ptviewer: startAutoPan(0.2,0,1)' ">
The 3rd button is to stop automatic rotation: <param name=shotspot2 value=" x173 y438 a261 b468 u'ptviewer: stopAutoPan()' ">
The 4th button is to pan up: <param name=shotspot3 value=" x262 y438 a347 b468 u'ptviewer:panUp()' ">
The 5th button is to pan down: <param name=shotspot4 value=" x348 y438 a434 b468 u'ptviewer:panDown()' ">
Then I use some buttons for zooming and toggling hotspots:
<param name=shotspot5 value=" x435 y438 a522 b468 u'ptviewer:ZoomIn()' "> <param name=shotspot6 value=" x523 y438 a609 b468 u'ptviewer:ZoomOut()' "> <param name=shotspot7 value=" x610 y438 a704 b468 u'ptviewer:toggleHS()' ">
I just started a personal homepage which is still very rough but if you want to have a look how I used PTViewer, just go to the Australian panoramas. www.hyspherical.com
You can do a much better job if you invest a bit of time. I am just playing around with this after work.
|
|
alert moderator
|
|