<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 24/05/2011 15:13, Jon Payne wrote:
    <blockquote cite="mid:4DDBBCEE.90603@hgl-dynamics.com" type="cite">On
      24/05/2011 14:12, Thiago Macedo wrote:
      <br>
      <blockquote type="cite">HI All,
        <br>
        <br>
        I've tried to find a way to make a cylinder as smooth as lines
        when
        <br>
        LineSmoothingOn(), but it seems nothing is really working.
        <br>
        Attached I'm sending a screenshot.
        <br>
        Could someone help me?
        <br>
        <br>
        Regards
        <br>
      </blockquote>
      Hi Thiago ,
      <br>
      <br>
      I think you'll need the following for a cylinder if not a
      wire-frame:
      <br>
      PolygonSmoothingOn();
      <br>
      <br>
      I generally do:
      <br>
      <br>
      &nbsp;&nbsp;&nbsp; renderWindow-&gt;LineSmoothingOn();
      <br>
      &nbsp;&nbsp;&nbsp; renderWindow-&gt;PointSmoothingOn();
      <br>
      &nbsp;&nbsp;&nbsp; renderWindow-&gt;PolygonSmoothingOn();
      <br>
      &nbsp;&nbsp;&nbsp; glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
      <br>
      <br>
      Cheers,
      <br>
      Jon
      <br>
      <br>
    </blockquote>
    Sorry, and also:<br>
    &nbsp;&nbsp;&nbsp; renderWindow-&gt;SetMultiSamples(0);<br>
    <br>
    <div class="moz-signature">-- <br>
      <b>Jon Payne</b><br>
      Senior Developer<br>
      <font size="-2">
        <a href="http://hgl-dynamics.com">HGL Dynamics Ltd</a><br>
        Tel: +44 (0)1483 415177<br>
        Registered in England No 3844513<br>
        Registered Office: Little Barsden, Field Lane, Godalming, GU7
        3JT, UK <br>
      </font></div>
  </body>
</html>