PDA

View Full Version : AUXillary Functions


TheLionKing
08-24-2003, 09:22 PM
Hi,

I am using NeHe's base code and when I creat an object ... like Sphere with auxSolidSphere() it shows up but when I switch from Window to Fullscreen or Fullscreen to Window mode it doesn't show up.

Can any one help me out :( ?

davepermen
08-25-2003, 06:27 AM
well.. the first suggestion is: don't use aux funcs.. they are depreciated, and buggy in some implementations, nobody really knows what they do..

or so i think.. nehe has something about quadriliars or how ever spelled.. cylinders, disks, spheres, etc. all with glu, without glaux.. i'll suggest to look into these..

second: can you see the sphere as long as you don't switch between windowed and fullscreen?

baldurk
08-25-2003, 12:37 PM
quadrics :).

Also, if you alt+tab away and back. Is it there?

TheLionKing
08-25-2003, 08:59 PM
No ... I cant see the sphere when switching.

When pressing ALT + TAB and come back ... its there.

How do you draw a sphere if not using aux functions :wtf:

anubis
08-26-2003, 12:14 AM
google for tesselation...

davepermen
08-26-2003, 01:10 AM
i said yet, quadrics.

read up the Nehe Tutorials (http://nehe.gamedev.net), they show howtodo it.

davepermen
08-26-2003, 01:11 AM
okay.... baldurk said it.. i spelled it wrong :D

TheLionKing
08-26-2003, 02:23 AM
I know how to make Quads ... just want to know that these sort of things when you use auxillary functions or not :huh: ?

davepermen
08-26-2003, 02:47 AM
hm? i don't understand the question.

use the quadrics to do spheres and such, don't use aux. thats what i said/wanted to say.

or code your own sphere-routine.

davepermen
08-26-2003, 02:48 AM
here (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=18)

TheLionKing
08-26-2003, 03:56 AM
Well ... thanks :nod: I never got this much far in the nehes tutorials :blush: !

You gave me a cooked meal to eat ;) .

By the way ... this problem happens with someone else or not with AUX Functions?

davepermen
08-26-2003, 04:24 AM
well, auxfuncs are known to be.. untested (we call this buggy normally:D), so you can never be sure when using them.

if such a thing does happen for stuff like textures, that get white on switching modes, then its merely a forgotten re-initialisation of data (wich could be the fault of the auxfunc in your case)

TheLionKing
08-26-2003, 09:00 PM
Thanks ... got the picture :rolleyes: !