On Tue, 2004-08-03 at 17:02, Isaac W Hanson wrote:
> I am using vpython with the rigid-body simulation package pyode. After
> the simulation runs for about a minute, I begin to notice the objects
> rendered in the gtkgl window begin to disappear, starting at the camera
> position and progressing along the Z axis. It's as if the program has
> run out of memory and is beginning to overwrite the memory allocated to
> the gtkgl image. Rather than leaving a "black space" in the image, the
> problem seems to create a "transparent hole" in the rendering (like a
> cut-away view).
It sounds like the near clipping plane is moving forward into the scene
(it shouldn't do that).
If you zoom out, does the area appear to fill back in again?
Which VPython objects are being created by your program?
Which version of VPython do you have installed?
What is the overall shape of the scene that is created? Is it wide,
tall, or deep relative to the view?
> I am not sure this is a problem with vpython itself,
It probably is.
> because the problem
> only progresses as I continually update the position and orientation of
> the visual objects (in a loop). Once the loop is over, the problem
> ceases to get worse.
>
> Has anybody experienced a similar problem? Any words of wisdom?
-Jonathan
|