IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

Real Interfaces Visualizer

An easy-to-use system for assembling and managing complex, interaction-enabled, three-dimensional user interfaces.


Date Posted: October 20, 2005
Overview Requirements DownloadFAQsForum Reviews

1. Why am I getting the following exception: The document is missing <matrix/> element, which is required since v1.1.?
2. Why am I getting the java.lang.NoClassDefFoundError: javax/media/j3d/Shape3D exception?
3. What mouse navigations are available for the scene transformations?
4. What are those tabs in the scene used for?
5. Is there a way to change the focus in the form using a keystroke instead of mouse click?
6. How can I add a custom shape into my scene?
7. How can I load an exported model from my 3D editor tool into the scene?


1. Why am I getting the following exception: The document is missing <matrix/> element, which is required since v1.1.?

The <matrix/> is a new element in HSML that came with Version 1.1, where the support for the nested matrices was added (see the included hsml.dtd file for details).
Back to top Back to top

2. Why am I getting the java.lang.NoClassDefFoundError: javax/media/j3d/Shape3D exception?

The Shape3D class from Java3D API libraries could not be resolved. You need to download and install the Java3D API into your JVM. It is essential to make sure that Java3D libraries are installed into the JVM you will use to launch the River demo.
Back to top Back to top

3. What mouse navigations are available for the scene transformations?

The following mouse navigations are available:

  • Left mouse button held down + mouse motion: transforms the scene while the viewer is static.
  • Ctrl + Left mouse button held down + mouse motion: transforms the scene and the viewer.
  • Alt + Left mouse button held down + mouse motion: transforms the scene in z axis.
  • Middle mouse button held down + mouse motion: transforms the scene in z axis.
  • right mouse button held down + mouse motion: transforms the viewer in x/y axis.
Back to top Back to top

4. What are those tabs in the scene used for?

They are for the visual separation of the different content in the separate layers. This becomes useful when textual content is to be rendered into the separate layers. You can pop up a tab with its content by double-clicking on the small navigation bar at the far right side of the tab.
Back to top Back to top

5. Is there a way to change the focus in the form using a keystroke instead of mouse click?

Yes; you can use the CTRL key, which works the same way as the standard TAB key.
Back to top Back to top

6. How can I add a custom shape into my scene?

In order to add a custom shape into your scene, the abstract SceneShape class must be extended. When extending SceneShape, you will have to define the geometry of your shape, where you can take advantage of River's GeometryProvider and GeometryFatory classes, which will cache your geometries for better performance. Add your implementation of SceneShape into the classpath and associate it with an XML tag in the definition file (/xml/river.xml), and then you should be able to use it in your scene.
Back to top Back to top

7. How can I load an exported model from my 3D editor tool into the scene?

There is an interface (provided with Java3D SDK) in which implementations load a 3D model from a file into the scene. There are plenty of loaders already publicly available for many different file formats (3D-Studio, VRML, etc.). You need merely add the appropriate loader's library into River's classpath and associate the file extension with your Loader implementation in the definition file (/etc/river.xml); then you are ready to use it in your HSML (HSML example: <model src="/models/server.3ds"/>).
Back to top Back to top
View screenshots:
A River application, with the standard Web layout, where the tabbed layers were used to render the data from a real database.

Download now Download now

Related technologies

For platform(s):
AIX, Linux, Windows 2000, Windows, Java, Windows XP, Sun Solaris/SPARC

For topics:
Graphics, Systems management, user interface, visualization, XML


Related resources

Press Articles

 

    About IBM Privacy Contact