Thread: html
View Single Post
Old 06-22-2003, 02:44 PM
mspusch mspusch is offline
WorldViz Team Member
Join Date: Feb 2003
Posts: 211
HTML support is a recently added feature and will soon be documented better.

import viz

will display the file 'vizhelp.html' located in the same directory (see in attached zip folder).

Currently the F1 key triggers the loading of an HTML page called vizhelp.html which must be located in the directory where the Vizard script is executed. The demo pack uses this feature for documentation and F1 brings up an explanation for every demo. We'll soon post a more detailed description of the HTML features.

At VSS we have used the Vizard HTML and Vizard TCP/IP networking features to use a Laptop for showing HTML help pages. The Laptop was connected over a standard wireless card. This way it is possible to easily connect and coordinate different computers.

I'll attach the files we used for doing this. In the demo file (I attached the demo 'Structure from motion' as an example), the lines

import Watcher
watch = Watcher.Watch(8)

were used to load the program watcher and pass on the demo number. Watcher was then generating and sending the message that triggers other computers on the network which are running the Vizard program to show the right HTML help file.

Check it out!

Attached Files
File Type: zip (957.8 KB, 864 views)
Reply With Quote