Hi Friends,
I am having trouble getting PTviewer to work. I found this link from a post here: http://users2.ev1.net/~wufdog/PT/index.htm I liked the added features so I downloaded the viewer and this is the one I am referring to. "PTViewer 2.7L2"
After this version would not work I then used the PTViewer version 2.5 from Panotools. This does the same thing.
Today I have updated my SUN JVM to Version 1.5.0 (build 1.5.0_01-b08).
I was having the same problem before I updated but thought the update might fix the problem but it has not.
I have created a test shot stitched with PW 4.0. Created a test html file. I have put the JPG file, html file and ptviewer.jar in the same folder. I used the PTviewer2.7C2 test page to generate the applet param. This page is here:
http://users2.ev1.net/~wufdog/PT/ptviewertester/ptviewertester.htm
My html file is this: ------------------------------------
<html> <head> <title>Untitled</title> </head>
<body> <applet id="ptviewer" name="ptviewer" archive="ptviewer26.jar" code="ptviewer.class" width="400" height="300" mayscript="TRUE">" <param name="mousehs" value="mousehs"> <param name="getview" value="getview">" <param name="file" value="pano.jpg"> <param name="bgcolor" value="00ff00"> <param name="fov" value="100"> <param name="pan" value="0"> <param name="tilt" value="0"> <param name="view_width" value="360"> <param name="view_height" value="260"> <param name="view_x" value="20"> <param name="view_y" value="20"> <param name="wait" value="wait/wait400x300.gif"> <param name="barcolor" value="ffffff"> </applet>
</body> </html>
-------------------------------------
The image works on the test page. You can use the Browse button on the right and test your own images. It works there. But when I copy the code and try it on my computer the applet will not launch.
This is a great viewer. Fulvio Senore has added some additional interpolators that imporve the view a lot. I have been using MGI "live picture" with cubic formats but this version of ptviewer is much better.
When I launch the html file I get the little red x in the top left corner and a "applett viewer notinited" in the lower left info are of the browser.
I checked the java console and the following is reported:
Java Plug-in 1.5.0_01 Using JRE version 1.5.0_01 Java HotSpot(TM) Client VM User home directory = C:\WINDOWS
load: class ptviewer.class not found. java.lang.ClassNotFoundException: ptviewer.class at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: C:\HOME\Master Clients\PW 4.0 test\test 1\publish\pt_viewer\ptviewer\class.class (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInpu
|