Re: multi-input FxPlugins
Re: multi-input FxPlugins
- Subject: Re: multi-input FxPlugins
- From: Paul Schneider <email@hidden>
- Date: Tue, 6 May 2008 15:33:24 -0400
Hi, Kaitlyn,
you can use the -addImageReferenceWithName method of the
FxParameterCreationAPI to create additional image inputs. This will
create an "image well" parameter like BumpMap has.
Use [FxParameterRetrievalAPI getBitmap] or [FxParameterRetrievalAPI
getTexture] to get an image from the parameter.
- Paul
On May 6, 2008, at 3:21 PM, Kaitlyn Kincaid wrote:
I am attempting to write a simple shader for FxPlug that adds the
value of two inputs together.. I have the ARB code, but I have been
unable to find a good example of how to get two inputs in the actual
FxPlug code.
the example I am looking at: In motion, the Bump Map filter is able
to apply a bump mapping to a video from another sourse, however when
I look at the Bumpmap.m file I have no idea how it does this... it's
not even in an FxPlug style.
Does anyone know of any example code that shows how to use two (or
more?) inputs in FxPlug? I've tried google, however my google-fu
seems to only turn up retail software.
Kaitlyn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden