Go Shopping Cart Site Map User Panel and Admin English Home

Home > Easypano Forum    Easypano Forum has been upgraded.

Easypano Forum


Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  PTViewer Scripter
 
Subject Topic: Distorted Image Post Reply Post New Topic
Message posted by scottxter on October-16-2003 at 3:22am
View scottxter's Profile Profile   Search for other posts by scottxter Search   Quote scottxter Quote   Send Private Message Send Msg  
scottxter
Standard Member
Standard Member
United States
October-16-2003
3 Posts

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

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

thanks


Message posted by smooth on October-18-2003 at 1:06am
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

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


Message posted by 360texas on October-18-2003 at 10:05pm
View 360texas's Profile Profile   Search for other posts by 360texas Search   Visit 360texas's Homepage www   Quote 360texas Quote   Send Private Message Send Msg  
360texas
Avatar
Forum Moderator
Forum Moderator
United States
June-12-2002
2240 Posts

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

Message posted by scottxter on October-20-2003 at 2:39am
View scottxter's Profile Profile   Search for other posts by scottxter Search   Quote scottxter Quote   Send Private Message Send Msg  
scottxter
Standard Member
Standard Member
United States
October-16-2003
3 Posts

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 :)


Message posted by 360texas on October-22-2003 at 12:05am
View 360texas's Profile Profile   Search for other posts by 360texas Search   Visit 360texas's Homepage www   Quote 360texas Quote   Send Private Message Send Msg  
360texas
Avatar
Forum Moderator
Forum Moderator
United States
June-12-2002
2240 Posts

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

Message posted by 360texas on October-22-2003 at 12:23am
View 360texas's Profile Profile   Search for other posts by 360texas Search   Visit 360texas's Homepage www   Quote 360texas Quote   Send Private Message Send Msg  
360texas
Avatar
Forum Moderator
Forum Moderator
United States
June-12-2002
2240 Posts

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

Message posted by scottxter on October-22-2003 at 1:30am
View scottxter's Profile Profile   Search for other posts by scottxter Search   Quote scottxter Quote   Send Private Message Send Msg  
scottxter
Standard Member
Standard Member
United States
October-16-2003
3 Posts

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

the only one i have is 22k?

thank you :)


Message posted by 360texas on October-22-2003 at 1:58am
View 360texas's Profile Profile   Search for other posts by 360texas Search   Visit 360texas's Homepage www   Quote 360texas Quote   Send Private Message Send Msg  
360texas
Avatar
Forum Moderator
Forum Moderator
United States
June-12-2002
2240 Posts

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

Message posted by 360texas on October-22-2003 at 3:43am
View 360texas's Profile Profile   Search for other posts by 360texas Search   Visit 360texas's Homepage www   Quote 360texas Quote   Send Private Message Send Msg  
360texas
Avatar
Forum Moderator
Forum Moderator
United States
June-12-2002
2240 Posts
Ok.. done.. sent both

-------------
/s/
Dave
Forum Moderator for
EasyPano - Panoweaver
Pano2VR


Visit 360texas.com

If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Post Reply Post New Topic
Printer Friendly Version Printable version

Powered by: - Web Wiz Guide Discussion Forums