Wrapping spline around object
-
Hello
I'm trying to achieve an effect where I have straps (width of a seatbelt) wrapped around the frames that are in the linked file below.
I tried a technique I had learned from a previous post on the old Cineversity where splines are projected onto the geometry.
The problem I'm having is thaĊ£ the splines are projecting onto the whole geometry, not just the top part.
The general goal here is to have the impression that a strap is completely wrapped around the whole frame, but I was going to go loop by loop as I can't think of a way to create a single wrap around everything...Here is the file
https://www.dropbox.com/scl/fi/89l7503w1ulgjx3alra1u/NicolasCar_Cineversity.c4d?rlkey=jqygn1eyx6vkrhhjwiu6cc196&dl=0Thanks for any tips!
-
By the way, this was the video that was originally shared on Cineversity (thank you Sassi!)
https://www.dropbox.com/scl/fi/qmf7uskrhs62muw2thhru/Rubberbands.mp4?rlkey=6yria9353a0pu2ii7rqzsw82r&dl=0This is roughly the effect I want, except that in the end I will want it to look as if a single seatbelt was wrapped around the whole frame, but I can cheat that with a series of loops
-
Thank you, AlexC, for the file.
Projecting is based on the "vertices/points only, which indicates the first tip, more points. Here are editable points, not just internmediadiate points. (Curent State to object, to convert intermediate points to editable points.
The Projection method used here is Spherical, which means points are moved to the axis until they hit a surface, leading to results that might not look logical, given anything wrapped around the two frame sides. To stop the points being only projected to the "tubes of the frame, I have introduced a little cube to stop the projection. The cube is no longer needed, except if you like to project a Rail spline, as used in the video, then the cube can go.
Anything else is as in the video clip.
Let me know how that works for you.
Here is the file back:
https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2024_PROJECTS_DRS/20241113_CV4_2025_drs_24_MOsp_21.c4d.zipCheers
-
Hello Sassi
Thank you for this. Unfortunately it doesn't quite work because what I am trying to achieve is for the wrapping to happen around each "segment" of the tube.
See this screenshot : https://www.dropbox.com/scl/fi/ay8vsrysa244dr7qryedu/Cinema_4D_UDhSaM05yE.png?rlkey=fn10sca2oktmnnccumtfh3g9y&dl=0What would be a good way to achieve this? Should I "hide" certain polygon selections? Or do I need to cut the frame up into smaller pieces?
Thanks!
-
Hi Alex,
Please have a look at the file below
https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2024_PROJECTS_DRS/20241114_CV4_2025_drs_24_MOsp_31.c4d.zip
The Yellow Layer objects are a circle spline that runs around the path I have drawn so I can place the circle easily.
When you project this, some points stray away to other parts of the object, not the closest. This is the problem, correct?
To overcome this, I have tried to find the simplest way, like setting up a Boole to cut the area temporarily.
However, I believe the PolyFX is the faster way, as it allows a Field (or several Fields) to define the area that causes problems and scale them down to zero for the time being.
As an alternative, I have checked out other options than the one we had back then.
ProjectShrink Wrap and Thicken is a powerful combination here. No idea if that helps your current project, but I thought it was worth sharing.Cheers
-
Hello Sassi
This is great, the PolyFX trick works really well.
But I think the Shrink Wrap is actually even more flexible, even if it becomes harder to create procedural setups where they would overlap?
When you say combining Project and Thicken, do you mean Shrink Wrap and Thicken?Thanks again!