[Sidefx-houdini-list] Copy COP

Simon Barrick simon at primalpictures.com
Sun Aug 17 04:57:15 EDT 2008


Didn't there use to be a cop for doing stamping.... vague memory of it, maybe pre COP2

-----Original Message-----
From: sidefx-houdini-list-bounces at sidefx.com on behalf of Olex P
Sent: Sat 16/08/2008 17:42
To: sidefx-houdini-list at sidefx.com
Subject: Re: [Sidefx-houdini-list] Copy COP
 
Hi David,

It is possible to do using VEX COP filter/generator + point clouds. So you
could write your points into point cloud and then use those points as
centers of pictures you'd like to copy. First of all you have to use the
same coordinate space. More logical in this case is uv space. You can
convert P into uv in SOPs or inside COP filter. If you want to optimize the
sampling from point cloud you have to do convertation in SOPs (and then use
pcopen with uv coordinate instead of P). So basic algorithm is:
1. In current pixel sample open point cloud in uv coordinate with radius r
(radius depends on the size of pictures you want to stamp)
2. Loop through all points in radius
3. Calculate coordinate of sample on picture you want to copy using
coordinate of current pixel sample and current point in the point cloud
4. Sample a texture using calculated coordinate
5. Accumulate sampled value using any compositing operation
6. Finish the loop and save accumulated value into image plane(s)

Hope this help.

Cheers,
Alex.

On Sat, Aug 16, 2008 at 2:42 AM, David Johnson <daveinengland at gmail.com>wrote:

> Does anyone know how to simulate a Copy SOP like thing in COPs?
>
> If I have a bunch of points scattered on a grid and I know their locations
> on that grid, how can I use that info to splat a tiny little image all over
> a regular sized image in those same relative locations? This is all in 2D
> of
> course.
>
> Dave
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>
_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list


______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email Security System.
______________________________________________________________________


More information about the Sidefx-houdini-list mailing list