Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to tell volume spot to ignore mesh bound?
#2
Hi
I see two solutions to reach your objective. I recommend the first one
1- Add a script that will automatically do what you already do by hand: modifying space before/after to subtract half of the mesh's depth. The advantage of this solution is that you will not have to modify the code of Curvy Splines, which will make updating Curvy to the latest version not a trivial operation anymore. Also, less chances to introduce bugs.
2- Modify Curvy's code of the Volume Spots module to completely ignore the depth of the input mesh.
API side, that depth is available at CGBounds.Depth. If you find all references to it in the code, which are all for now in BuildVolumeSpots.cs, you can modify those parts of the code to not take into account the depth. This solution will be more difficult to implement, since you will need to get familiar with the code of that class, which is easier said than done. The advantage of this solution is that you will not need to add any new script to your scenes for it to work, unlike for solution 1.
I hope this helped. Let me know if you have other questions
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: How to tell volume spot to ignore mesh bound? - by _Aka_ - 11-16-2021, 12:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 623 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,569 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 4,079 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 2,031 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: