Cheese, bread...volume vop

   3439   4   2
User Avatar
Member
7 posts
Joined: Aug. 2013
Offline
Hi,

I want to make a proper looking structure of a cheese, bread and alike.
I have a general idea and results. All I need now is to make noise making structure away from the surface.
I need to sample a sdf to have a fall of from surface.

notice how holes are contained within.

http://pngimg.com/uploads/cheese/cheese_PNG1.png [pngimg.com]

Artur
User Avatar
Member
1743 posts
Joined: March 2012
Offline
I slapped together a quick attempt at this. It'll take a bit of tweaking to get what you actually want, but this shows how to do something like this with the new Boolean SOP. You'll probably want to vary the shape of the holes a bit, using a For Loop block over the points, instead of just using Copy To Points, and you'll probably want to tweak the hole sizes and distribution.

Attachments:
Cheese.hip (411.1 KB)

Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
7 posts
Joined: Aug. 2013
Offline
Here's what I've got.

What I meant was to offset holes from the surface, which should be untouched like in the picture.

Attachments:
proper_cheese.hip (109.8 KB)

User Avatar
Member
675 posts
Joined: Sept. 2013
Offline
In VolumeVOP there is a bounding box (BB) value you can use as a gradient ranging from top to bottom.

Attachments:
cheese.hipnc (87.5 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
7 posts
Joined: Aug. 2013
Offline
Thanks for the info.
Edited by Artur Woźniak - March 21, 2017 06:42:57
  • Quick Links