<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello again!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>After I could link the cone example, I made some 
</FONT></DIV>
<DIV><FONT face=Arial size=2>modifications. Below is the code.</FONT></DIV>
<DIV><FONT face=Arial size=2>When I run it, If found that setting the cone 
resolution</FONT></DIV>
<DIV><FONT face=Arial size=2>above 25, it doesn't render good. ¿Why? ¿Is this a 
bug?</FONT></DIV>
<DIV><FONT face=Arial size=2>¿There is a problem with my opengl 
drv?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Bye,</FONT></DIV>
<DIV><FONT face=Arial size=2>Javier</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#include "vtkRenderer.h"<BR>#include 
"vtkRenderWindow.h"<BR>#include "vtkConeSource.h"<BR>#include 
"vtkPolyDataMapper.h"<BR>#include "vtkRenderWindowInteractor.h"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>int main ()<BR>{<BR>&nbsp;vtkActor *coneActor = 
vtkActor::New();<BR>&nbsp;vtkRenderer *renderer = 
vtkRenderer::New();<BR>&nbsp;vtkConeSource *coneGeometry = 
vtkConeSource::New();<BR>&nbsp;vtkRenderWindow *renderWindow = 
vtkRenderWindow::New();<BR>&nbsp;vtkPolyDataMapper *coneMapper = 
vtkPolyDataMapper::New();<BR>&nbsp;vtkRenderWindowInteractor *interactor = 
vtkRenderWindowInteractor::New();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;renderer-&gt;SetViewport( 0.0, 0.0, 1.0, 1.0 
);<BR>&nbsp;renderer-&gt;SetBackground( 0.8, 0.4, 0.2 
);<BR>&nbsp;renderWindow-&gt;SetSize( 700,700 
);<BR>&nbsp;coneGeometry-&gt;SetResolution( 36 );</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;coneMapper-&gt;SetInput( 
coneGeometry-&gt;GetOutput() );<BR>&nbsp;coneActor-&gt;SetMapper( coneMapper 
);<BR>&nbsp;renderer-&gt;AddActor( coneActor 
);<BR>&nbsp;renderWindow-&gt;AddRenderer( renderer 
);<BR>&nbsp;interactor-&gt;SetRenderWindow( renderWindow 
);<BR>&nbsp;renderWindow-&gt;Render();<BR>&nbsp;interactor-&gt;SetDesiredUpdateRate( 
0.1 );<BR>&nbsp;interactor-&gt;Start();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;//&nbsp;Don't&nbsp;forget to clear 
memory</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;coneGeometry-&gt;Delete();<BR>&nbsp;renderer-&gt;Delete();<BR>&nbsp;coneActor-&gt;Delete();<BR>&nbsp;coneMapper-&gt;Delete();<BR>&nbsp;renderWindow-&gt;Delete();<BR>&nbsp;interactor-&gt;Delete();<BR>&nbsp;return 
0;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>}<BR></FONT></DIV></BODY></HTML>