Exemple de Panorama
Cette Applet Java est téléchargeable,
et libre de droits.
- Pour naviguer dans le panorama, il faut cliquer
sur un point de l'affichage et déplacer la souris dans relacher
le bouton.
Plus la souris est loin du point initial, plus le défilement est
rapide.
- Les touches + & - permettent de zoomer (un
calcul de spherisation est effectué).
- Les touches / & * permettent de modifier
la distorsion
- Pour reparametrer cette application il suffit
de modifier le document HTML.
Il contiend les lignes suivantes :
<APPLET code="panora.class" width=300
height=150>
<PARAM name="IMAGE" value="batiment.jpg">
<PARAM name="DISTORSION" value=8>
</APPLET>
- Si vous modifier les parametres HEIGHT
& WIDTH du
tag APPLET, l'affichage suivra automatiquement, le temps de calcul aussi
:))
- le parametre IMAGE indique l'image à charger.
(ATTENTION il y a Jpeg & Jpeg certains programme comme Photoshop genèrent
des formats Jpeg non compatibles avec certaines fonction Java utilisées
ici..?!)
- le parametre DISTORSION donne la distorsion initiale
(une valeur plus faible donne plus de distorsion, trop faible... un plantage...)
This applet is free.
- To navigate throught this view, click and drag.
The more you move, faster is the rotation.
- The Keys + & - allow you to zoom
- The Keys / & * let you change the distorsion.
- To use this applet, modify the HTML file.
Find thoses lines:
<APPLET code="panora.class" width=300
height=150>
<PARAM name="IMAGE" value="batiment.jpg">
<PARAM name="DISTORSION" value=8>
</APPLET>
- HEIGHT & WIDTH
can be of any size. But take care with the
calculation speed.
- the tag IMAGE tell witch picture to load. it
can be a Jpeg or a Gif file. Take care some programs like like Photoshop
create Jpeg file that doesnt work widt some java function i use here (PixelGrabber).
- the DISTORSION parameter give the initial distorsion.
A value too small drive this applet crazy
This page is
a part of CAD France (french 3DS MAX Distributor)
The URL of
this page
you will also found a Plug-in for MAX2 to generate pictures
The Plug-in
MAX2