<div dir="ltr">My point is that I am setting a cutting plane for the ellipsoid inside the parametric equation. I am leaving point x,y,z =0 after the plane, also with derivatives DU and DV. So in the borders it doesn&#39;t look nice with a resolution of 64 points. I attach a pic to let you get an idea. Thanks</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 19, 2013 at 11:39 AM, Jose Ignacio Prieto <span dir="ltr">&lt;<a href="mailto:joseignacio.prieto@gmail.com" target="_blank">joseignacio.prieto@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrew, <div>I am contacting you because of the parametric ellipsoid class you created. It works fine for me with a resolution of 64 in the lines:</div>
<div><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style="font-style:italic">SetUResolution</span><span style>(</span><span style="color:rgb(0,0,128)">1024</span><span style>);</span></pre>


<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style="font-style:italic">SetVResolution</span><span style>(</span><span style="color:rgb(0,0,128)">1024</span><span style>);</span></pre>


<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style="font-style:italic">SetWResolution</span><span style>(</span><span style="color:rgb(0,0,128)">1024</span><span style>);</span></pre>


<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style>SetScalarModeToNone</span><span style>();</span></pre>


<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style="font-style:italic">GenerateTextureCoordinatesOff</span><span style>();</span></pre>


<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style="font-style:italic">SetParametricFunction</span><span style>(</span><span style="color:rgb(128,0,0)">Ellipsoid</span><span style>);</span></pre>


<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">parametricFunctionSource</span><span style>-&gt;</span><span style="font-style:italic">Update</span><span style>();</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">but when I move to a bigger resolution like 1024 it gets completely slow. I tried moving to OpenGL mapper and actor but nothing. My graphics card is an AMD W7000 (fast) so its not hardware problem. What can I do to tweak it and get a smoother look?</span></pre>

<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal">Thanks!</span></pre>
<span class="HOEnZb"><font color="#888888">
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial;white-space:normal"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial"><span style="white-space:normal">Ignacio Prieto</span></font></pre>

<pre style="margin-top:0px;margin-bottom:0px"><br></pre><div><br></div>-- <br>José Ignacio Prieto<br>Software developer</font></span></div><span class="HOEnZb"><font color="#888888"><div>Biomedical Imaging Center</div><div>
Pontificia Universidad Catolica de Chile</div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>José Ignacio Prieto<br>celular(nuevo): 94348182
</div>