Aspect Ratio Sprite (Composition by gtoledo3)

Author: gtoledo3
License: MIT
Date: 2010.05.29
Compatibility: 10.5, 10.6
Categories:
Required plugins:
(none)

Virtual Patch. Aspect Ratio Sprite. A Scale input value of 1 represents full Input Image Size. Antialiasing is provided as Input port option. The image on the quad is multiplied by the color set on the "Color" input and can be combined with a mask using the optional "Mask Image" input (the mask will be resized to match the image's size).

Note that the Billboard patch is a simplified version of Sprite with fewer parameters and which is especially suited for 2D drawing. Antialiased Edges require the Blending Input Parameter to be set to Over, Add (or Alpha, if Kineme Alpha Blend.plugin is also installed).


This isn't meant to be a groundbreaking Virtual patch by any stretch, but a utilitarian option. It's aim is to simplify workflow, provide a Sprite based renderer that is automatically aspect ratio correct, and expose options for the sprite patch traditionally found in settings.

PreviewAttachmentSize
Aspect Ratio Sprite.qtz15.35 KB

dust's picture
Re: Aspect Ratio Sprite (Composition by gtoledo3)

i think macros are good practice. i make them for complex things but really need to start making them for things like adding a sprite. that way i don't have to patch creator 4 times just to visualize an image.... however i do have a simple screen printer macro. i think a render in image macro would go well with this. you know set up with the sprites inside and out plus clear etc....