Hi, I've created a patch which generates a line which forms a sine wave, well a mix of four waves which generate interference patterns. The idea was the duplicate these along the z axis to create a wave effect... problem is I made the basic shape by using the basic line within a inside an iterator and i have to have the copies set to about 50 to get a smooth wave effect. Then when I duplicate then to make a grid it slows things down to a crawl, about 15-fps.... I was wondering if there was a more efficient was of generating a sine wave on line???

Sounds like you're using a _lot_ of iterators -- that's a recipe for low fps in QC, unfortunately.

You could try generating the segments in javascript, and then driving a GL Line Structure patch from our GLTools plugin -- that'll remove the need for massive numbers of iterators.

Alternatively, you could try using the Line Family patch -- it also renders multiple lines per patch, reducing the number of iterators used.

Depending on the number of lines you're drawing, it might also just be the raw amount of lines drawn -- A few of the video cards I've seen lately don't seem to have well-optimized line drawing routines, perhaps because it's not used as frequently as polygon drawing...

--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to