← Back to team overview

yade-users team mailing list archive

Re: sphere colors changed?


> Previously, spheres were drawn with two colors. Now they have only one, 
> which makes it difficult to see rotations.
> How can we get the 2-color display back?
Hm, I think those 2 colors was just artifact. I removed Olivier's code
and we use plain glutSolidSphere/glutWireSphere routine to render it.
You can change GLDrawInteractingSphere::{glutSlices,glutStacks} to make
the sphere more rough, that should help a bit. Note also that wire
sphere are now drawn by glut, with meridians and parallels (not as a
plain circle facing the camera as it used to be), that will show
rotations clearly as well.

HTH, Vaclav

Follow ups