AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb
how to make the model box unchanged and the resolution better?
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 774
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 34
Description
I used triansform.prescale, The box of the model is bigger and the voxelCount is bigger.
But how to make the model box unchanged and the resolution better?
math::Transform::Ptr xform = math::Transform::createLinearTransform(1);
xform->preScale(Vec3d(0.5, 0.5,0.5));
auto grid=meshToSignedDistanceField(*xform, points, triangles, quads,100.f,100.f);
Contributor guide
Research direction
Start with the meshToSignedDistanceField call and the math::Transform::preScale usage shown in the issue. Check the relevant OpenVDB documentation and implementation to understand how transform scale affects the model bounds, voxel size, and voxelCount. Done means providing a documented way to improve resolution while keeping the model box unchanged, or clarifying that the requested combination is not supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100