Unsupported — We cannot guarantee that this software will work properly on Mac OS 10.8 and above. Please be careful.

Release: PBMesh, v0.1

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?

phess's picture
QLab 3 and PBMesh rendering

This might be a shot in the dark, seeing as this is a very old plugin, but here goes anyway. I run a Planetarium in Kansas City, MO and we've been using PBMesh with QLab 2 as a custom composition renderer. I've attached a screenshot of our current QLab 2 workflow. We'd like to update to QLab 3, but their Quartz Composer compatibility changed, and now they require their compositions to publish both input and output images (http://wiki.figure53.com/QLab+3+Quartz+Composer).

Basically, my question is is it possible to either re-work PBMesh to output an image rather than render it, or is there some sneaky workaround I could use? I've been trying to put PBMesh inside of a "Render in Image" macro, but haven't had any luck with QLab letting it warp our fulldome content. QLab 3 supports image filter compositions, but not "renderer" compositions, in their words. Could PBMesh be re-worked as an image filter rather than a renderer? If I could get ahold of the source code, I'd give it a shot myself.

If anybody is still out there and would like to give me some advice or help, I'd greatly, greatly appreciate it! PBMesh is pretty old, but it's vital to our workflow. Thanks!

PreviewAttachmentSize
Screen Shot 2013-10-07 at 5.06.53 PM.png
Screen Shot 2013-10-07 at 5.06.53 PM.png1.53 MB

khenkel's picture
Re: QLab 3 and PBMesh rendering

Hi phess. We've uploaded the source code for this plugin to the Kineme GitHub located here - https://github.com/kineme/PBMesh.

Installation Instructions

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