Revision of Release: PBMesh, v0.1 from Wed, 2010-12-29 21:04

The revisions let you track differences between multiple versions of a post.

Release Type: Production
Version: 0.1
Release Notes

PBMesh is a plugin that allows you to quickly warp images for different kinds of cylindrical and spherical projections.

More information on how to use this patch, as well as some sample meshes, can be found on Paul Bourke's site: http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/domemirror/warppatch...

PreviewAttachmentSize
PBMesh-0.1.zip19.79 KB

sandro.bilbeisi's picture
incompatible with Apple PhotoBooth

configuration: iMac Intel 17" 2006 Mac OS X 10.4.11

bug: PhotoBooth starts up but does not display video window.

typical console log:

Photo Booth[3610] Exception raised during posting of notification.  Ignored.  exception: -[PBMesh initWithClass:]: ivar "inputImage" of class "PBMesh" is not a subclass of GFPort

cwright's picture
Leopard Only

This plugin is leopard-only at the moment, and uses some added parts from 10.5 that aren't available in 10.4 (hence the error message). Would you like a Tiger-compatible build?

mrboni's picture
Hi, do you know of anyway to

Hi, do you know of anyway to reduce the 'blockyness' or pixellation that results in the most warped areas of the image using this plugin?

It's almost like the plugin needs to be sent a higher resolution to process than the one that is set automatically when scaling the viewer. If you know what I mean..

Cheers

cwright's picture
screenshots and compositions?

Can you provide a sample screenshot and composition (with corresponding warp mesh data)? It should use bilinear filtering across the mesh, which shouldn't pixelate (it should blur, if anything)...

mrboni's picture
I'll get one to you this

I'll get one to you this evening.

mrboni's picture
zip attached

Zip attached.

One cube, in a 'render in image' going to both PBmesh and a billboard.

Two snapshots, one with PBmesh visible, the other the billboard.

PreviewAttachmentSize
PBmesh_test.zip103.94 KB

m0ose's picture
Re: Release: PBMesh, v0.1

This might be a bug. or maybe a feature. I was making meshes for a project and realized that the y and v coords of the pbmesh input text are inverted. My mesh worked fine with warp player by paul bourke. Is there some reason they are flipped.

It was a simple fix
i just had to change my code:
out_string += x + " " + y + " " + u + " " + v + " " + i + "\n";
to:
out_string += x + " " + -1 * y + " " + u + " " + (1-v).toString() + " " + i + "\n";

thanx. this is still an awsome patch.

PS. Do you think you will ever release the source code?

Installation Instructions

Place the plugin file in
/Users/[you]/Library/Graphics/Quartz Composer Patches/
(Create the folder if it doesn't already exist.)