From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 02/21/2002 11:01:21
Hi
Try asking the question on the OpenGl forums at www.opengl.org you might have better luck
Regards
Gordon.
_________________________________________________________________
Gordon Tomlinson
Development Manager
Urban Simulation Products.
MultiGen-Paradigm
"a Computer Associates Company"
Suite 200, 16415 Addison Road, Addison, TX 75001 USA
Tel: 972 380 9798 ext 309 Fax: 972 380 9468
Email: gordon.tomlinson++at++ca.com
-----Original Message-----
From: Gabriel Nicula [mailto:gabnicu++at++yahoo.com]
Sent: Thursday, February 21, 2002 10:57 AM
To: info-performer++at++sgi.com
Subject: NURBS curve
This is not a pure Performer problem, but a rather
OpenGL/math question.
Having a NURBS curve for which I know all control
points and the order of the curve, I need to find N 3D
points that best represents the NURBS curve ( by best
representing the curve I mean that the N points are
used for drawing the curve as a set of N-1 line
segments).
I've looked at the gluNurbsCallback() function, but it
seems that it returns a fixed number of vertices used
for drawing the NURBS curve, whereas I need to be able
to specify the number N of points ( I might sometimes
need to represent/draw the curve as 3 line segments,
and sometimes as 1000 line segments).
Are there some mathematical formulas to get these
points on the NURBS curve? Does anybody knows how
OpenGL draws internally the NURBS curve? Does it use
a fixed number of points to draw the curve?
Any help would be much appreciated.
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
-----------------------------------------------------------------------
List Archives, Info, FAQ: http://www.sgi.com/software/performer/
Open Development Project: http://oss.sgi.com/projects/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Feb 21 2002 - 11:10:40 PST