title: openGL glTranslated one shape into 8 different places
body: <p>This is the image I want to get</p>
  
  <p><a href="https://i.stack.imgur.com/2PL44.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2PL44.jpg" alt=""></a></p>
  
  <p>This is the image I had</p>
  
  <p><a href="https://i.stack.imgur.com/jhSTs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jhSTs.png" alt=""></a></p>
  
  <pre><code>void display(void){
      glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
      int j=120;
  
      for(int i=0;i&lt;1;i++){
  
          glPushMatrix();
          if(i%2==0){
              glTranslated(-i*j,i*j,0);
          }else{
              glTranslated(i*j,i*j,0);
          }
          glScaled(1,1,1);
          draw_ring();
          glPopMatrix();
          glFlush();
      }
  }    
  </code></pre>
  
  <p>I want my image Translated into this 8 different positions as the image I show, I need help with image Translated part for which Translated image into the right places. Can anyone help me and guide me through the right direction, ThankYou.</p>