<br><font size=2 face="sans-serif">Hello Michael,</font>
<br>
<br><font size=2 face="sans-serif">Please send me your &nbsp;&quot;code&quot;....
&nbsp;Thanks much.....</font>
<br>
<br><font size=2 face="sans-serif">I wrote a 'remesher' a few years ago
that generates a 'varying-density equilateral' mesh on top of another mesh
based on scalar values at each vertex. &nbsp;For example. the remesher
would generate smaller triangles in regions with higher scalar values and
larger triangles in regions with lower scalar values. &nbsp;This would
be a common function when the scalar values represent the surface's rate
of curvature. &nbsp;However, I was using it to generate varying-density
meshes based on light-source illumination (i.e. meshes with a shadow effect
for the laser crystal market) . &nbsp;It works very well.</font>
<br>
<br><font size=2 face="sans-serif">Are you aware of a similar product?
&nbsp;Should I make my code available? &nbsp;How? &nbsp;Where? &nbsp;Why?</font>
<br>
<br><font size=2 face="sans-serif">Best Regards,</font>
<br><font size=2 face="sans-serif"><br>
Stephen Koch<br>
</font>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Michael Jackson &lt;mike.jackson@bluequartz.net&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">vtkusers@vtk.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">11/13/2008 08:43 AM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [vtkusers] Generating a surface
with equilateral triangles from &nbsp; &nbsp; &nbsp; &nbsp;point
data</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>I have the general code to do that if you want it.
It is also based on &nbsp;<br>
the cmu &quot;Quake&quot; library.<br>
<br>
Mike<br>
<br>
On Nov 13, 2008, at 9:33 AM, Simon Drouin wrote:<br>
<br>
&gt; I haven't found a solution to that problem in vtk. vtkDelauney2D &nbsp;<br>
&gt; will generate similar results. My current workaround is to extract
&nbsp;<br>
&gt; vtkPoints from my actor, feed them into the Triangle library (</font></tt><a href=http://www.cs.cmu.edu/~quake/triangle.html><tt><font size=2>http://www.cs.cmu.edu/~quake/triangle.html</font></tt></a><tt><font size=2>
<br>
&gt; ) &nbsp;and put the resulting triangulation back in a vtkPolyData.
&nbsp;<br>
&gt; Triangle does a very nice job and allows you to specify the maximum
&nbsp;<br>
&gt; angle you want in your triangle as well as the maximum triangle area.<br>
&gt;<br>
&gt; s.<br>
&gt;<br>
&gt;&gt; On Wed, Nov 12, 2008 at 12:41 PM, Steven Boyd &lt;skboyd@ucalgary.ca&gt;
&nbsp;<br>
&gt;&gt; wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; How can I generate more or less equilateral triangles from a series
&nbsp;<br>
&gt;&gt; of<br>
&gt;&gt; points that define the perimeter of a closed loop (e.g., an oval)?
&nbsp;<br>
&gt;&gt; When I<br>
&gt;&gt; use vtkTriangleFilter the resulting triangles have poor aspect
&nbsp;<br>
&gt;&gt; ratios (they<br>
&gt;&gt; have vertices on the perimeter of the oval and therefore are quite<br>
&gt;&gt; stretched). &nbsp; Can somebody suggest an approach where the
triangles &nbsp;<br>
&gt;&gt; generated<br>
&gt;&gt; would be closer to equilateral? &nbsp;Adding points to the centre
would &nbsp;<br>
&gt;&gt; seem to<br>
&gt;&gt; be necessary, but I was hoping there might be a filter that could
&nbsp;<br>
&gt;&gt; do this<br>
&gt;&gt; without manually adding points.<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; Steve<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: </font></tt><a href=http://www.vtk.org/Wiki/VTK_FAQ><tt><font size=2>http://www.vtk.org/Wiki/VTK_FAQ</font></tt></a><tt><font size=2><br>
Follow this link to subscribe/unsubscribe:<br>
</font></tt><a href=http://www.vtk.org/mailman/listinfo/vtkusers><tt><font size=2>http://www.vtk.org/mailman/listinfo/vtkusers</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>
<pre>_________________________________________________________________________

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you
Received this in error, please contact the sender and delete the material 
from any computer.
_________________________________________________________________________