Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cube Primitives Efficiency



I'm currently working on a video effect that creates a
field of Cube primitives, and colours them according
to samples taken from an input image. I'm just
wondering if anyone can perhaps suggest any
optimisation I could do to the effect, as it seems to
run quite slowly. I know it's creating and controlling
a lot of the cubes (100 at the default 10 rows x 10
columns settings), but I though simple 3D shapes were
relatively easy for the GPU to produce...

Even a lot of simple shapes can start to be taxing. That said, I have no idea if that's the actual load or not.


One simple experiment would be to disable the color sampling part, and just use set colors for each cube. Run that version, and see if it's still slow. If so, it's the cubes. If not, it's the color sampling (or some other part of the composition that isn't mentioned). Knowing which part is causing the load (and it may be both!) will help to focus on performance improvement.

Let us know how the test goes :)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Cube Primitives Efficiency (From: Alex Drinkwater <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.