One of the really powerful aspects of Hypercosm applets as opposed to other 3D technologies is that they are fully web integrated, meaning that not only can you place a Hypercosm applet in a web page, but that Hypercosm applet can also interact and communicate with the web page as well. This lets you use Javascript to control Hypercosm applets and to interface with other web technologies.
You may have noticed in many of the examples that in many cases, significant portions of the user interface are often created in more conventional web technologies such as HTML, Javascript, and even Flash or Java. Because Hypercosm applets can communicate with their associated web page, any other web technology that can interface with Javascript can also communicate with a Hypercosm applet. This opens the door for all sorts of creative applications and allows you to use the best technology for each portion of the job that needs to be done.
 |
| Hypercosm Web Integration Mechanisms |
In order for Hypercosm applets to respond to Javascript messages, they must know what types of messages to expect and how to interpret them. There are a couple of different ways of creating "Javascript aware" applets:
Export 3D Models from Hypercosm Teleporter
Models that have been exported out of our Hypercosm Teleporter exporter automatically have built-in support for a substantial Javascript API. This allows the user interface to be modified or changed completely. For example, applets that have been exported from Hypercosm Teleporter for SketchUp have support for a "SketchUp Applet" API to control aspects such as "layers" and "pages" that are unique to SketchUp applets as well as support for a "MarkUp" API to allow markers and annotations to be added through Javascript.
Create Applet Using Hypercosm Studio
If you want complete control over the authoring process, you can use Hypercosm Studio to write the applet code in Hypercosm's OMAR script language to read and interpret messages passed into the applet from Javascript. Using this technique, you can even define your own messages and your own Javascript APIs to go along with them. This gives you complete control over the interaction between the web page and the applet.