<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi everyone,<br>
<br>
Thanks a lot for your suggestions. Based on your extra remarks, we
will make up our minds and go on.<br>
<br>
Cheers,<br>
Raymond<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 6-9-2017 10:23, Robert Osfield
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFN7Y+XocuMJjhMTHCra__VOVjf1yU_m9jYVke8sz3oQ24owLA@mail.gmail.com">
<div dir="ltr">Hi Raymond,<br>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">There a number of ways of mixing
polygonal data with height fields, the best way will depend
upon the requirements/constraints of your application. <br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">If you need exactly intersections then
converting the height fields into a polygon mesh and then
inserting the vertices and edges from the mesh you want to add
will be required. This will be slow so something you'll likely
want to do as a pre-processing stage. The osgTDS code that
Don wrote many years back uses this approach. I'm afraid I
don't have an insights into osgTDS or where to get it these
days.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">If you don't need exact match then you
could possible modify the height fields values to match the
polygonal mesh, you could do this on the CPU as a
pre-processing step, or render the polygonal mesh to a depth
texture and then use a vertex shader to read from two
depth/height field textures to render a single heightfield.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Another approach would be to use a
constructive solid modelling approach, at least I have hunch
you could do this somehow but would need to think it through
fully first.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Given more time I'm sure I could come
up with half a dozen more approaches that may or may not work
:-)<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Robert.<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
</div>
</div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
<tbody>
<tr>
<td style="width: 55px; padding-top: 18px;"><a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"
alt="" style="width: 46px; height: 29px;"
moz-do-not-send="true" height="29" width="46"></a></td>
<td style="width: 470px; padding-top: 17px; color:
#41424e; font-size: 13px; font-family: Arial, Helvetica,
sans-serif; line-height: 18px;">Virusvrij. <a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" style="color: #4453ea;"
moz-do-not-send="true">www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
height="1" moz-do-not-send="true"> </a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</body>
</html>