Adding polygons/subdivision base on attribute
8195 6 1- sandzuro
- Member
- 24 posts
- Joined: June 2009
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
Yes. Each SOP may have it's own group type requirement: points, primitives, edges…
See the example file for a couple different ways.
Uses a single painted point attribute of your choosing. Most refinement type SOPs take primitive groups so you need to promote the point attribute to primitive attribute either for direct use in group fields or in a Group Expression SOP.
See the example file for a couple different ways.
Uses a single painted point attribute of your choosing. Most refinement type SOPs take primitive groups so you need to promote the point attribute to primitive attribute either for direct use in group fields or in a Group Expression SOP.
There's at least one school like the old school!
- sandzuro
- Member
- 24 posts
- Joined: June 2009
- Offline
jeffThanks a lot, i came to much less efficient variant, with subdividing geometry first then deleting parts without color attribute and combining results with a lowpoly mesh after that.
Yes. Each SOP may have it's own group type requirement: points, primitives, edges…
See the example file for a couple different ways.
Uses a single painted point attribute of your choosing. Most refinement type SOPs take primitive groups so you need to promote the point attribute to primitive attribute either for direct use in group fields or in a Group Expression SOP.
Edited by sandzuro - March 9, 2017 15:59:15
- Marcolax
- Member
- 21 posts
- Joined: July 2017
- Offline
- RazIP13
- Member
- 1 posts
- Joined: Jan. 2020
- Offline
old_school
Yes. Each SOP may have it's own group type requirement: points, primitives, edges…
See the example file for a couple different ways.
Uses a single painted point attribute of your choosing. Most refinement type SOPs take primitive groups so you need to promote the point attribute to primitive attribute either for direct use in group fields or in a Group Expression SOP.
Thank you for the example
I am trying to do something similar but with a Mask. I am still struggling to figure out why it doesn't work as expected.
- Adriano
- Member
- 411 posts
- Joined: June 2015
- Online
old_school
Yes. Each SOP may have it's own group type requirement: points, primitives, edges...
See the example file for a couple different ways.
Uses a single painted point attribute of your choosing. Most refinement type SOPs take primitive groups so you need to promote the point attribute to primitive attribute either for direct use in group fields or in a Group Expression SOP.
Correct me if i'm wrong, but this method does not allow to use a integer attribute to define the level of subdivision depth per primitive, correct? I'm desperately trying to increase the amount of subdivision around a specific object (ocean around a boat), but it is not working. Why is that? And i do want polygons, i'm not planning to render that ocean with displacement, i need the polys close to the boat and less and less further away in the background.
Cheers,
A.
- animatrix_
- Member
- 4703 posts
- Joined: Feb. 2012
- Offline
Adrianoold_school
Yes. Each SOP may have it's own group type requirement: points, primitives, edges...
See the example file for a couple different ways.
Uses a single painted point attribute of your choosing. Most refinement type SOPs take primitive groups so you need to promote the point attribute to primitive attribute either for direct use in group fields or in a Group Expression SOP.
Correct me if i'm wrong, but this method does not allow to use a integer attribute to define the level of subdivision depth per primitive, correct? I'm desperately trying to increase the amount of subdivision around a specific object (ocean around a boat), but it is not working. Why is that? And i do want polygons, i'm not planning to render that ocean with displacement, i need the polys close to the boat and less and less further away in the background.
Cheers,
A.
I would recommend adaptive subdivision rather than trying to store final subdivision levels as an attribute, as that won't have enough resolution to have fine subdivisions. I used this approach on ocean interactions many times:
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
-
- Quick Links