glutWireTorus not too pretty


I need to draw a 12 tops torus with 4nsides and 3 rings. glutWireTorus do it but curves between tops are linear. It’s not fun.[ATTACH=CONFIG]1095[/ATTACH]

Is it possible to draw curved ridges. Another way should be draw more rings and hide some of them.

Could you guide me to some solutions?


You need to use much larger values for the [var]nsides[/var] and [var]rings[/var] parameters. The resulting mesh will have exactly [var]nsides[/var]*[var]rings[/var] vertices and the same number of faces. No tessellation is performed.