Quantcast
Viewing all articles
Browse latest Browse all 40524

Duplicating ofParameterGroup (or ofParameter)

I never really understood why chris decided to make the copy thing as when I left it, it was working with smoothing and all and it didn't crash. I understand the idea of the duplication but what I implemented handled the parameters smoothing on a frame basis and worked well as far as I tested it.

As of the idea of cloning it sound like a bit impractical as the ofParameterGroup just stores pointers to ofParameters, hence cloning an ofParameterGroup would imply to create new instances of ofParameters somewhere else. The only thing that I imagine right now is to pass a vector> to the clone function, which look like a very cumbersome thing to handle.
Best!


Viewing all articles
Browse latest Browse all 40524

Trending Articles