Form of GluQuadrics

Hey Guys,

i need to work with some Quadrics in OpenGL. I can draw some Zylinder with it. But im still wondering what form they use?
Is is implicit, or parametric? For my work i need a Zylinder which is presented in both. Is it possible to change the used form?
And finally can i Access the used formula to get parameter?

Thanks for information.

CapoDaster

Ok, i know the form by now, but i have to get acces to the parameter in the form. Does anyone knows how i could get them?

Hmm, I’m not sure what parameters you are referring to. You pass parameters into the call to draw a quadric (i.e. gluCylinder takes radii and tesselation parameters). If you need the produces vertices you’ll have to use GLU tesselators or nurbs (those allow specifying callbacks to get the generated vertex attributes), or (probably better in most cases anyway) use a different library - GLU is ancient.
However, if you search a bit you should also be able to find SGI’s reference implementation to learn what it does under the hood.

The parameters in the form?
I’m assuming you mean you want the source code for gluCylinder. You can download the Mesa3D library which has OpenGL code and also GLU. Just take the GLU project and search for gluCylinder. The code is in quad.c.

mhh, pretty nice ideas. Unfortunately i have to work with GLU, so i looked for the GLU tesselators, but im not getting it. Can u tell me how i would get the data for the vertices and the face data without actually drawing the Zylinder?
Also found the mesa quad tree and looking through this, not sure if this takes too much time though…

[QUOTE=CapoDaster;1250034]mhh, pretty nice ideas. Unfortunately i have to work with GLU, so i looked for the GLU tesselators, but im not getting it. Can u tell me how i would get the data for the vertices and the face data without actually drawing the Zylinder?
Also found the mesa quad tree and looking through this, not sure if this takes too much time though…[/QUOTE]

1.Lắp điều hòa

Công suất (BTU)9 000-> 12 000 :200 000 VNĐ/MÁY

18 000 -> 24 000:250 000 VNĐ/MÁY

24 000 -> 36 000:800 000 VNĐ/MÁY

36 000 ->54 000:1 200 000 VNĐ/MÁY

2.Tháo điều hòa

Công suất(BTU)9 000-> 12 000 :100 000 VNĐ/MÁY

18 000 -> 24 000:150 000VNĐ/MÁY

24 000 -> 36 000:200 000 VNĐ/MÁY

36 000 ->54 000:300 000 VNĐ/MÁY

3.Bảo dưỡng trọn gói

Công suất (BTU)9 000-> 12 000 :100 000 VNĐ/MÁY

18 000 -> 24 000:120 000 VNĐ/MÁY

24 000 -> 36 000:150 000VNĐ/MÁY

36 000 ->54 000:300 000 VNĐ/MÁY

Liên hê: Mr Phương 0904785139