panorama software,virtual tour software
Alternate Text
Joined: 2003-10-16
Send Msg:
Posts: 3
2003-10-16
#1

Distorted Image

hi, is there a way to make this less distorted? 

http://www.crowcreek.com/condo_tours.htm

thanks


Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2003-10-18
#2

Your pano Sample 1 has this in it's coding

PARAM name = pano0 value =
 "{file=panorama/ccc1b.jpg}
 {auto=0.3}
 {panmin=-160}
 {panmax=171}
 {pan=-99}
 {tiltmin=-79}
 {tiltmax=77}
 {tilt=1}
 {fovmin=70}
 {fovmax=165}
 {fov=103}"

Change it to match this

PARAM name = pano0 value =
 "{file=panorama/ccc1b.jpg}
 {auto=0.3}
 {panmin=-180}
 {panmax=180}
 {pan=0}
 {tiltmin=0}
 {tiltmax=0}
 {tilt=0}
 {fovmin=70}
 {fovmax=100}
 {fov=100}"

Regards, Smooth


Alternate Text
Joined: 2002-06-12
Send Msg:
Posts: 2239
2003-10-18
#3

It sort of looks like you are attempting to use a cylinder type image with the  spherical projection ptviewer.jar.  

You can use ptviewer.jar to display cylinders but not with the above code set.  It requires a slightly different viewer code + maybe using the larger 51kb version of ptviewer.jar.  Somewhere I read that ptviewer.jar version 2.5 or 2.6 incorporates ptFlat.class. 

We don't take cylinders normally, and thats why I am fussing around with the answer here.


/s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR


Visit 360texas.com
Alternate Text
Joined: 2003-10-16
Send Msg:
Posts: 3
2003-10-20
#4

thanks so much!!!!

i'm still unsure here though :(

smooth, i tried what you said and it didn't achieve the result i wanted.  it definitely helped, but the image i am using is not a full 360.

360texas...sounds like you nailed it, but i am not sure how to do what you are talking about.  hmmm.....does ptviewer allow you to do this?

thanks :)


Alternate Text
Joined: 2002-06-12
Send Msg:
Posts: 2239
2003-10-22
#5

Yes Ptviewer will allow a partial FLAT [read cylinder] panorama.  The applet code is different than shown above.  Still looking for a code sample.

Dave


/s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR


Visit 360texas.com
Alternate Text
Joined: 2002-06-12
Send Msg:
Posts: 2239
2003-10-22
#6

try this code.  You will need to change the values for the height and width.  Notice the panmax and panmin means left and right side of the image limitation is only 170 degrees and not 180 for full 360 image.  Also notice the applet is called ptviewer25big.jar.  All that is saying is you need to use the ptviewer.jar version 2.5 which is the big version at  51kb and not the small 24kb version.  Change the ptviewer.jar name in the code to match the actual file name of the .jar.  BOTH code strings for pano0 and pano1 must be used in order to make it work.  The reference to the applet0 and code=ptflat.class  only a call to the 51kb ptviewer.jar ... to use ptflat.class which is bundled inside the 51kb applet.  It is not another file on the server. 

----------------------------------

<APPLET name="ptviewer" archive=ptviewer25big.jar  code=ptviewer.class width=685 height=213>
<PARAM name=applet0  value="{code=ptflat.class}
          {file=photo2.jpg}">
<PARAM name=pano0  value="{file=photo2.jpg}">
<PARAM name=pano1  value="{inits=ptviewer:startApplet(0)}{panmax=170}{panmin=-170}">
<PARAM name=file  value="ptviewer:1">
</APPLET>

 

------------------------


/s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR


Visit 360texas.com
Alternate Text
Joined: 2003-10-16
Send Msg:
Posts: 3
2003-10-22
#7

where do i get the 51kb version of the ptviewer.jar

the only one i have is 22k?

thank you :)


Alternate Text
Joined: 2002-06-12
Send Msg:
Posts: 2239
2003-10-22
#8

Well I would have emailed it to you.. but you have email turned off in your forum profile.

Send me a quick email.... at dave@360texas.com

Dave


/s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR


Visit 360texas.com
Alternate Text
Joined: 2002-06-12
Send Msg:
Posts: 2239
2003-10-22
#9
Ok.. done.. sent both
/s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR


Visit 360texas.com