We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Efficent method for movement
Page Index Toggle Pages: 1
Efficent method for movement? (Read 534 times)
Efficent method for movement?
Dec 28th, 2009, 11:23am
 
In my program, I'm trying to get many points to corkscrew (or randomly progress) around a line from one end of the line to the other. (something like http://xconst.freeshell.org/applets/ribonkit/)  Not an extremely difficult task I guess... but I want to have several hundred thousand points and tens of thousands of lines.  So I have to do it extremely efficiently.  The lines are easy enough... they're static.  I load them into a VBO and call that in the draw.

Is there any way to tell the video card, move these 100,000 points from A to B (in a fluid manner), without having to calculate the new position and send it all to the video card again on each draw
Re: Efficent method for movement?
Reply #1 - Dec 28th, 2009, 12:27pm
 
I've never done it, and I don't know if you can do it from Java, but this can probably be achieved with a vertex shader.
Page Index Toggle Pages: 1