Has anyone tried out the Pixel Bender Plugin for PS?
(last item on the page)
http://www.adobe.com/devnet/pixelbender/
I've tried working with it but it seams impossible to produce JS Scripts to run these filters. Its also difficult to get actions to even record running these filters as its inconsistent.
Ideas?
-Mike
Pixel Bender?
Pixel Bender?
seems fairly straightforward to me:
Code: Select all// =======================================================
var idPbPl = charIDToTypeID( "PbPl" );
var desc316 = new ActionDescriptor();
var idKnNm = charIDToTypeID( "KnNm" );
desc316.putString( idKnNm, "BilateralBlur" );
var idGpuY = charIDToTypeID( "GpuY" );
desc316.putBoolean( idGpuY, true );
var idFPth = charIDToTypeID( "FPth" );
desc316.putString( idFPth, "/Applications/Adobe Photoshop CS4/Pixel Bender Files/BilateralBlur.pbk" ); //I used the Bilateral
var idPNaa = charIDToTypeID( "PNaa" );
desc316.putString( idPNaa, "d" );
var idPTaa = charIDToTypeID( "PTaa" );
desc316.putInteger( idPTaa, 0 );
var idPFaa = charIDToTypeID( "PFaa" );
desc316.putDouble( idPFaa, 2.000000 );
var idPNab = charIDToTypeID( "PNab" );
desc316.putString( idPNab, "r" );
var idPTab = charIDToTypeID( "PTab" );
desc316.putInteger( idPTab, 0 );
var idPFab = charIDToTypeID( "PFab" );
desc316.putDouble( idPFab, 4.425000 );
executeAction( idPbPl, desc316, DialogModes.NO );
But it doesn't work in 32-bit mode, or if the image is larger than the VRAM.
Code: Select all// =======================================================
var idPbPl = charIDToTypeID( "PbPl" );
var desc316 = new ActionDescriptor();
var idKnNm = charIDToTypeID( "KnNm" );
desc316.putString( idKnNm, "BilateralBlur" );
var idGpuY = charIDToTypeID( "GpuY" );
desc316.putBoolean( idGpuY, true );
var idFPth = charIDToTypeID( "FPth" );
desc316.putString( idFPth, "/Applications/Adobe Photoshop CS4/Pixel Bender Files/BilateralBlur.pbk" ); //I used the Bilateral
var idPNaa = charIDToTypeID( "PNaa" );
desc316.putString( idPNaa, "d" );
var idPTaa = charIDToTypeID( "PTaa" );
desc316.putInteger( idPTaa, 0 );
var idPFaa = charIDToTypeID( "PFaa" );
desc316.putDouble( idPFaa, 2.000000 );
var idPNab = charIDToTypeID( "PNab" );
desc316.putString( idPNab, "r" );
var idPTab = charIDToTypeID( "PTab" );
desc316.putInteger( idPTab, 0 );
var idPFab = charIDToTypeID( "PFab" );
desc316.putDouble( idPFab, 4.425000 );
executeAction( idPbPl, desc316, DialogModes.NO );
But it doesn't work in 32-bit mode, or if the image is larger than the VRAM.
Pixel Bender?
Ok, for what ever reason I just can't record running the one that I made.
However I can edit that code to call my filter instead.
odd
thanks
-Mikeal
However I can edit that code to call my filter instead.
odd
thanks
-Mikeal