Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: gluTesselat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 13 Topic 4878 of 5017
Post > Topic >>

Re: gluTesselation - Combine Problems

by "jbwest" <jbwest@[EMAIL PROTECTED] > Aug 24, 2008 at 01:32 PM

"uuilly" <willy.lists@[EMAIL PROTECTED]
> wrote in message 
news:45365034-b72c-4076-b8c8-a3c2940ee44e@[EMAIL PROTECTED]
 Aug 22, 3:15 pm, uuilly <willy.li...@[EMAIL PROTECTED]
> wrote:

[...]

....A little more info
...With this signature:
>void combineCallback(GLfloat coords[ 3 ],
GLfloat *vertex_data[ 4 ],
GLfloat weight[4], GLfloat **dataOut )

The variable "coords," that is supposed to contain the location of the
newly created point, is printing total junk.  Ie: numbers that are way
too big and seemingly out of left field.  So somehow I'm giving GLU
something that is causing it to puke.

>Is it a problem that I'm using GLfloats instead of GLdoubles?  I was
>always under the impression that GPU's don't have double precision so
>they're no point in using them.

>Thanks,

>Willy


That's not the right signature for the combine callback, coords must be 
double. There's no GPU involved here. the signature is defined by the glu 
source code and requires double.
(if gpu's could do tesselation, we wouldn't need tesselation routines... 
right ?).

jbw
 




 13 Posts in Topic:
gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-20 14:58:05 
Re: gluTesselation - Combine Problems
"jbwest" <jb  2008-08-20 17:40:23 
Re: gluTesselation - Combine Problems
willy.pell@[EMAIL PROTECT  2008-08-20 20:31:31 
Re: gluTesselation - Combine Problems
"jbwest" <jb  2008-08-21 09:11:41 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-21 11:27:49 
Re: gluTesselation - Combine Problems
"jbwest" <jb  2008-08-21 16:58:16 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-21 17:35:30 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-21 17:45:47 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-21 18:15:40 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-22 15:15:16 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-22 15:56:31 
Re: gluTesselation - Combine Problems
"jbwest" <jb  2008-08-24 13:32:23 
Re: gluTesselation - Combine Problems
uuilly <willy.lists@[E  2008-08-25 19:30:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 3:43:48 CST 2008.