Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

issue with _view.addPoint() function

Return to the EJS Modeling forum
Login to post to this thread

issue with calling _view.addPoint - Jul 19, 2012 at 2:09PM
Nick Gross
6 Posts

During my initialization, I would like to draw several curves in 3D that will be static during the evolution.  The curves do not have a functional form and I am drawing them using and update scheme. I set up a Trail3D object for each curve and explicitly calling _view.addPoint from a loop in my initialization. This worked fine in a previous release of EJS, but with the most recent update it fails.

With the current update, no error is generated and the code seems to run and the display window opens but it is all grey and nothing, not even the other objects, seem to be displayed.  Worse yet, it does not look like I can recreate this issue routinely.

Has anyone else seen this error?
Is there a better way to do what I want to do?

Thanks for the help


Current Replies - View all
Re: issue with calling _v...   (Francisco Esquembre - Jul 19 2012 at 3:55PM)
Re: issue with calling _v...   (Wolfgang - Jul 19 2012 at 10:24PM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics