From: Bruce S. <ba...@an...> - 2001-05-10 14:21:12
|
--On Thursday, May 10, 2001 14:13 +0100 Karim Yaici <ka...@ni...> wrote: > Just out of curiosity, is VPython based on OpenGl? is it extensible to use > SDL (Simple DirectMedia Layer: http://www.libsdl.org/) or its python > extensions PyGame (http://pygame.seul.org/)? Yes, the Visual module uses OpenGL. My unexpert guess is that Visual isn't "extensible" to SDL, whatever that would mean. Visual implements a parallel thread that periodically reads the current values of the attributes of the graphics objects that have been created, and it paints a 3D scene using these current values. This makes 3D graphics be a side effect of computations. Architecturally, this is pretty different from other kinds of graphics environments. Bruce Sherwood |