| Joerg Scheurich aka MUFTI 2005-05-30, 7:25 pm |
| > Can anyone tell me how does the x3d call the java class using the
> exemples in the link SAI tutorial:
> http://www.xj3d.org/tutorials/general_sai.html
> I run tne x3d file, but nothing happens because in the x3d code there
> is no call for the java class...
AFAIK you can use either the SAI from "inside", then you use a script
http://www.xj3d.org/tutorials/general_sai.html
| DEF S Script {
| inputOnly SFTime pulse
| outputOnly SFVec3f location
| outputOnly SFRotation orientation
|
| url [ "MoveObjectScript.class" ]
| }
Or you use the SAI from "outside". I think, in general, this depends from your
html/X3D browsers.
For example
http://www.xj3d.org/tutorials/examp...SGWalkDemo.java
has a "main" method, so it can be started as a application.
so long
MUFTI
--
Auf Setup-XXX. kl., um haeufig verw. nView-Funkt. problemlos
festzul.
aus nView Desktop Manager
|