[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.gef3d] Re: Best strategy for updating all figures?


Could setColor.. be pushed down into AbstractModelShape..?

On 2009-05-30 03:48:20 -0700, Jens v.P. <developer@xxxxxxxxx> said:

GLU supports spheres, and the OpenGL code (with GLU) is pretty simple, as shown here:

http://lifeofaprogrammergeek.blogspot.com/2008/08/rendering-sphere-in-opengl.html

I'm
planning

to add spheres in the next weeks, maybe some more shapes.

But you are right, we have to think about how to define a surface of a sphere. Hehe... projecting onto the sphere would be cool, but I'm afraid that wouldn't be too easy. There is another tutorial oin how to create a textured sphere w/o GLU:

	http://www.swiftless.com/tutorials/opengl/sphere.html

I'm going to investigate in that direction a little bit further. Actually, the biggest problem would probably be legal issues. We had already spheres and other shapes in GEF3D, but I had to delete them for legal reasons for getting GEF3D IP approved.

Cheers

Jens