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: Particle Patch Problem



Title: Re: Particle Patch Problem
Hi John,

Thank you very much for the explanation and your "image normalizer" macro. I doubt I would have figured that solution out by myself. :-)

I have updated my version to 1.2 and given you credit in the file’s ReadMe at:
<http://www.timeoutofmind.com/quartzComposer/quartzComposer.cfm>

Sincerely,

Don


On 6/22/05 11:28 PM, "John C. Randolph" <email@hidden> wrote:

Don,

It's not a bug. 

The particle system draws a series of square Gl quads, and it will fit the given texture to those quads.   If that texture's aspect ratio isn't square, it will get stretched.  I have an "image normalizer" macro that deals with this, in this composition:

What the normalizer does, is draw the given image over an infinite field of the given color, and then crop it to a square whose size is the greater dimension of the image.

I've dropped it into your composition:




HTH,

-jcr

 
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,  
Available for your projects at great Expense and Inconvenience.

 _______________________________________________
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: 
 >Re: Particle Patch Problem (From: "John C. Randolph" <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.