POV-Ray : Newsgroups : povray.advanced-users : Generate HTML map areas for contours of objects : Generate HTML map areas for contours of objects Server Time
6 Oct 2024 12:47:43 EDT (-0400)
  Generate HTML map areas for contours of objects  
From: Pander
Date: 11 Sep 2006 16:30:01
Message: <web.4505c5a1afd260f1313368bc0@news.povray.org>
This is a feature request to have functionality in povray (or an external
tool employing porvay) to generate a HTML map that contains areas that are
masks for object contours. This would look like:

<map name=''>
  <area href='' shape='rect' coords='10,20,30,40'/>
  <area href='' shape='circle' coords='50,60,5'/>
  <area href='' shape='poly' coords='80,90,100,110,120,130,140,150'/>
</map>

This would need a very simple one bit countour trace per (specified or
specified type of) object and approximate the resulting contour by a rect,
circle or poly. Off course overlapping objects will each have thier own
contour where hidden parts, because of overlapping, will not be included in
the resulting map area.

Areas will not overlap and perhaps a configurable minimum distance between
them in pixels should be possible. Furthermore these areas may be a bit
crude and not pixel perfect.

Implementing this feature will result in easier use of clickable povray
generated images in HTML. This is because, for this image, the map areas
are already at hand and only have to be completed with href content.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.