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 › Geomerative & Spline3D Optimisaiton Advice
Page Index Toggle Pages: 1
Geomerative & Spline3D Optimisaiton Advice? (Read 543 times)
Geomerative & Spline3D Optimisaiton Advice?
Feb 24th, 2010, 9:16am
 
I'm working on a couple of (loosely) type-based visualisaitons,
using geomerative, toxiclibs' Vec3D, Spline3D, and additive blending. What bothers me is that performance drops to about 1 frame per minute, so I figured I'm probably not doing it right.

here's what I'm doing -

- turn text into a set of points (~ 500) using Geomerative setPolygoniser

- store points in an arrayList of ~500 Vec3Ds

- make 3 copies of each Vec3D with different scale settings (ending up
with about 1,500 Vec3Ds or 3 sets of 500 Vec3Ds)

- make 500 Spline3Ds out of each set of three Vec3Ds

- sample the curves of each spline around 300 times using computeVertices() to get 3x300 = 900 point coordinates per spline

- draw points
end up with something like this -
flickr dot com photos lyubomirpopov 4385203174

(I had to alter the url because I don't have rights to post links yet, sorry about that - just add the slashes if you feel like checking it out)

Is all this really necessary? This being my first experience wit toxiclibs, I'm guessing there's lots of room for optimisation...

Any advice highly appreciated!
Re: Geomerative & Spline3D Optimisaiton Advice?
Reply #1 - Feb 24th, 2010, 10:38pm
 
haven't used toxiclibs yet, tho i came across your experiments on flickr randomly earlier today.  so, no suggestions for you (as yet), just compliments -- may be only 1 frame per second, but it's a gorgeous one!
Re: Geomerative & Spline3D Optimisaiton Advice?
Reply #2 - Feb 25th, 2010, 4:22am
 
thanks Smiley i was kinda hoping to get it to play in real time,
but I guess I'll have to do some reading first...

Cheers,
-l
Page Index Toggle Pages: 1