Quote:>hi
>is there any way to automatically create html-image-maps based on scene
>description and rendering information?
If your html image mapper is restricted to rectangles, then you could
extract the bounding box information from the scene (requires MegaPOV or
POVRay 3.5) for the objects you want to be clickable, and use the file-
io operators to write that information to a file in the format that your
mapper expects.
Alternatively, you could trace() (requires MegaPOV or POVRay 3.5) an
array of rays from the camera position into the scene and see which of
them first hit one of the objects that you want to be clickable, and
then attempt to calculate the outlines.
The amount of work involved in setting that up would probably be quite
excessive compared to extracting the information from the rendered
image.
Perhaps an intermediate method might be considered. Set the texture for
clickable object number 1 to be pure white, and everything else to pure
black. Render the image and capture the outline of the white bits using
some external program. Repeat for each clickable object.
--
Mike Williams
Gentleman of Leisure