Jump to content

  • Log In with Google      Sign In   
  • Create Account

Extrude...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Michelle   Members   -  Reputation: 122

Like
Likes
Like

Posted 26 November 2001 - 05:55 AM

Hello! I´ve generated some nice sinus curves... These sinus curves are line based, now I want to extrude this function to make some nice effect... How do I extrude these curves in an nice way? This is the rendering loop: float r; glBegin(GL_LINE_STRIP); for(float i=0,j; i<360; i++, j+=0.3) { r=sin(i*3.14/180*5+anim); glVertex3f(-r*sin(3*i*3.14/180),-r*cos(3*5*i*3.14/180),- r*cos(3*i*3.14/180)); } glEnd(); Too see the app in action: ftp://public:public@213.65.120.191:666/test-1.exe /michelle

Sponsor:

#2 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 26 November 2001 - 03:09 PM

For some reason do I think of the GLE Tubing and Extrusion Library.
http://linas.org/gle/

#3 HellRiZZer   Members   -  Reputation: 308

Like
Likes
Like

Posted 26 November 2001 - 11:16 PM

What do you mean ''to extrude function'' ?
If you mean create a surface by it, then its simple. You can create a set of points and evaluate them with OpenGL evaluators using glMap2f and glEvalMesh2.
See link
http://www.opengl.org/developers/code/mjktips/grid/




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS