Jump to content


Cookie on Copy SOP geo?


  • Please log in to reply
9 replies to this topic

#1 Benjamin Fiske

Benjamin Fiske

    Peon

  • Members
  • Pip
  • 4 posts
  • Joined: 07-December 07

Posted 01 May 2012 - 09:26 PM

I'm trying to make a very basic polygonal cloud.  I'm starting with an isooffset'd sphere, scattering points on that, and then copying a bunch of randomly sized polygonal spheres to that point cloud via the copy SOP.

Having never used the cookie SOP before, is there a simple way to take all of this resulting geo and cookie each into one uniform surface?

#2 rafaelfs

rafaelfs

    Initiate

  • Members
  • PipPip
  • 136 posts
  • Joined: 16-September 10
  • Location:Toronto
  • Name:Rafael Santos

Posted 02 May 2012 - 06:05 AM

View PostBenjamin Fiske, on 01 May 2012 - 09:26 PM, said:

I'm trying to make a very basic polygonal cloud.  I'm starting with an isooffset'd sphere, scattering points on that, and then copying a bunch of randomly sized polygonal spheres to that point cloud via the copy SOP.

Having never used the cookie SOP before, is there a simple way to take all of this resulting geo and cookie each into one uniform surface?

You could optionally use an isooffset to convert all the spheres to an isosurface.
If you must use a cookie sop you might have to set it up inside a foreach sop cause the cookie only takes two objects at a time. it could be a bit confusing a setup, plus nothing guarantees that the cookie won't corrupt your geo at some point...
Take a look at Peter Quint's videos on the foreach sop if you decide to go down that route.

Cheers

Edited by rafaelfs, 02 May 2012 - 06:06 AM.

Toronto - ON
My Houdini playground

#3 Benjamin Fiske

Benjamin Fiske

    Peon

  • Members
  • Pip
  • 4 posts
  • Joined: 07-December 07

Posted 02 May 2012 - 09:30 AM

View Postrafaelfs, on 02 May 2012 - 06:05 AM, said:

You could optionally use an isooffset to convert all the spheres to an isosurface.
If you must use a cookie sop you might have to set it up inside a foreach sop cause the cookie only takes two objects at a time. it could be a bit confusing a setup, plus nothing guarantees that the cookie won't corrupt your geo at some point...
Take a look at Peter Quint's videos on the foreach sop if you decide to go down that route.

Cheers

I thought of isooffset last night, as well, but the result was a swiss cheese mesh.  I'm guessing it has a tough time navigating which part is inside and which part is outside in a big mess of geo like that.

Tried foreach last night as well, but it didn't seem (offhand) that one could grab the "next each" to use - nor would that necessarily work.  Ideally this would be solved in a system that progresses from the first and ends at the last, but that's pretty un-Houdini .. tricky problem!

#4 Benjamin Fiske

Benjamin Fiske

    Peon

  • Members
  • Pip
  • 4 posts
  • Joined: 07-December 07

Posted 02 May 2012 - 10:00 AM

So, didn't think of metaballs.  I think that'll work.

That said, still very curious how one would solve this problem if anyone can think of how to do it.

#5 3dbeing

3dbeing

    Illusionist

  • Members
  • PipPipPip
  • 307 posts
  • Joined: 08-February 06
  • Name:3d b

Posted 04 May 2012 - 04:13 PM

View PostBenjamin Fiske, on 02 May 2012 - 10:00 AM, said:

So, didn't think of metaballs.  I think that'll work.

That said, still very curious how one would solve this problem if anyone can think of how to do it.


Here ya go benjamin.  It's a bit convoluted, I feel there is a more elegant solution somewhere, but it works none the less...

Attached Files


“Don’t ask what the world needs. Ask what makes you come alive, and go do it.
Because what the world needs is people who have come alive.”

--Howard Thurman

#6 eetu

eetu

    Illusionist

  • Members
  • PipPipPip
  • 479 posts
  • Joined: 30-May 07
  • Location:Helsinki, Finland
  • Name:eetu m

Posted 04 May 2012 - 11:59 PM

View Post3dbeing, on 04 May 2012 - 04:13 PM, said:

It's a bit convoluted, I feel there is a more elegant solution somewhere, but it works none the less...

Yes, that feels a bit convoluted :)

You can just copy volumes and get the isosurface.

Attached Files


A shitty theory is better than no theory at all

#7 zarti

zarti

    Illusionist

  • Members
  • PipPipPip
  • 304 posts
  • Joined: 21-February 10
  • Location:39th parallel
  • Name:CTRL-C CTRL-V

Posted 05 May 2012 - 06:41 AM

without volumes .

oc , the Merge Results option on the ForEach node is turned OFF

since the cookie operation mode ( Union ) adds them all by itself .

well , the cookie ' accuracy ' .. is another song . =)

--

cloudz.png

--

scene is a H11 file . while Clip SOP is just to see whats going on inside ..

--

Attached File  cloudz.hipnc   74.75K   29 downloads

--




.cheers
keep walking .

#8 3dbeing

3dbeing

    Illusionist

  • Members
  • PipPipPip
  • 307 posts
  • Joined: 08-February 06
  • Name:3d b

Posted 07 May 2012 - 10:22 AM

View Posteetu, on 04 May 2012 - 11:59 PM, said:

Yes, that feels a bit convoluted :)


:unsure:

Let's call it friday night derpa derps.

:D

But I thought I tried your way and got wierd results.. must have done something wrong anyway... =P
“Don’t ask what the world needs. Ask what makes you come alive, and go do it.
Because what the world needs is people who have come alive.”

--Howard Thurman

#9 tjeeds

tjeeds

    Initiate

  • Members
  • PipPip
  • 115 posts
  • Joined: 12-July 07
  • Location:Los Angeles
  • Name:Jesse Erickson

Posted 11 May 2012 - 03:18 PM

I'll just throw this in here, if you set a metaball to Threshold Radius with a weight of 10 it almost exactly matches a sphere of the same radius when you isoOffset it in metaball mode. On my last show I had a simple asset that contained a linked metaball and sphere so I could pop it down and model with primitive spheres then select all of them and toggle to metaballs for the isoOffset.

#10 woodenduck

woodenduck

    Initiate

  • Members
  • PipPip
  • 128 posts
  • Joined: 30-October 09
  • Location:London
  • Name:J L

Posted 15 May 2012 - 01:20 PM

How about this -

Sphere sop (set to polygon),

mountain sop,

isooffset(fogVolume),

scatter points,

copy metaballs,

convertmeta.

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users