problems with compiled openGL lists

hello,
i just ran into a, from my point of view, bizzare problem and would very much appreciate some help.

i have some classes which extend the display class to easily draw stuff in GL. i also use compiled lists to speed up things. now when i call these lists from out of the child classes nothing is drawn, no error either.
only when i do the long ‘begin’ … ‘end’ stuff it draws polygones.

the compiled lists work alright in the diplay class.

any ideas? is it an issue? is extending the diplay class really such a bad idea?

It’s OK to extend GL if you like but can make a few things a bit awkward if you get to doing something really complciated.

Display lists it turns out are known to be broken on some drivers for less popular cards. What 3D card do you have?

Cas :slight_smile:

the 3D card issue is interesting.
yes, i think my card is kind of odd, it s the on-board of a via mini-itx mainboard on win xp system, they call it CastleRock.
but strange thing is that it works when i call the list from the ‘original’ display class.

I wonder if you’re doing something funny with threads…

Cas :slight_smile:

yepp, when i access the canvas by a reference variable, it works. i think i better leave my hands of that stuff in the future.

i still find the behavior strange

thanks for the help :slight_smile: