title: removing jagged edges of my ropes using antialiasing of OpenGLES
body: <p>i have implemented ropes in which i have used Revolute joints to connect dynamic b2bodied , now i successfully created this ropes but my ropes not looking smoothy , i want them smooth just like ribbons . anyone having idea on this !! i found that it could be achieved by openGLES using anti-aliasing but still not getting idea that exactly how to achieve this ..  any kind of help would be appreciated . </p>
  
  <p>my Rope is polygon shaped dynamic body , this way 
      b2BodyDef bodyDef;
      bodyDef.type = b2_dynamicBody;
      bodyDef.position = currentPos;</p>
  
  <pre><code>b2PolygonShape polygonShape;
  polygonShape.SetAsBox(linkWidth,linkHeight);
  
  b2FixtureDef fixtureDef;
  fixtureDef.density =20.0;
  
  fixtureDef.shape = &amp;polygonShape;
  
  b2Body* link = world-&gt;CreateBody( &amp;bodyDef );
  link-&gt;CreateFixture( &amp;fixtureDef );
  </code></pre>
  
  <p>Revolute Joint :</p>
  
  <pre><code>b2RevoluteJointDef revoluteJointDef;
  revoluteJointDef.localAnchorA.Set( 0,  linkHeight);
  revoluteJointDef.localAnchorB.Set( 0, -linkHeight);            
  revoluteJointDef.bodyA = link;
  revoluteJointDef.bodyB = lastLink;
  world-&gt;CreateJoint( &amp;revoluteJointDef );
  </code></pre>
  
  <p>please help . </p>
  
  <p>i want my ropes smoother just like right most image </p>
  
  <p><img src="https://i.stack.imgur.com/wiHsC.png" alt="Figure 1">
  <img src="https://i.stack.imgur.com/WiWv1.png" alt="Figure 2"></p>
  
  <p>my output looks like this 
  <img src="https://i.stack.imgur.com/Hv8Ai.png" alt="enter image description here"> </p>