Open roquo opened 1 year ago
Filed as internal issue #OSD-404
The short answer is that OpenSubdiv does not currently provide the patch representation you want.
We've considered adding support for generating a uniform patch representations of the surface and agree that could be useful and would help to fill out the feature set, but we haven't done so yet.
In practice, it should be pretty straightforward to further subdivide adaptive patches to match the patches at the highest level of refinement while taking care of the additional state in the corresponding patch parameter tags, e.g. to account for infinitely sharp boundaries, etc.
Curious if you could share more about your specific use case in case there are other ways to achieve your desired result.
Hi there!
I am trying to create uniform b-spline patches with adaptive refinement. As an example, I took the catmark_torus an set a crease value to one of the inner circle edges.
Refiner:
Code to create b-splines:
Then this is my result, I did draw in the actual borders for better visibility:![first](https://user-images.githubusercontent.com/35525625/211994979-5684bcaf-7e6b-4bb8-ac64-91c448a37f33.png)
So the inner circle of the torus has got the crease as expected and the patches are getting smaller and are adaptively refined
What I need now is that the smallest adaptive refinement is globally uniformly applied. So at one border of a b-spline patch is also only one other patch. I tried to draw what I mean from the example above:![first](https://user-images.githubusercontent.com/35525625/211998017-b7e8289d-e8e0-43ad-abb9-118bb4df0fc2.png)
Is something like that possible with OpenSubdiv?