5
$\begingroup$

enter image description here

As you can see, the object coordinates don't bend along with the object itself. I know this is intentional, but is there a way to perhaps make them follow the contours of the object, or to manually bend them to approximate the shape, using vector curves maybe? I was unsuccessful with my attempts.

enter image description here

This is how I'd like the coordinates to bend.

$\endgroup$
2
  • $\begingroup$ I'm not even sure if that is possible XD. But can I ask why you need that? Maybe there is another way for you to archieve what you want.. $\endgroup$
    – DarkSoul
    Commented Jun 28, 2021 at 19:56
  • $\begingroup$ Well it's complicated xD Essentially, I'd like to be able to use a volumetric material that is a thin, flat layer of cloud, stretched to a dome surface. The cloud has lots of detail made with procedural textures, and I'd like to sort of map that onto a dome. If that makes sense to you. $\endgroup$
    – Geri
    Commented Jun 28, 2021 at 20:07

1 Answer 1

7
$\begingroup$

If you can align the object with the coordinates somehow, and then change it procedurally to the final shape, you can use the Generated coordinate space:

It shouldn't be too hard considering it applies also to shape keys.

$\endgroup$
10
  • $\begingroup$ Oh that's nice! Yes, switching to Generated shouldn't be a problem. Shapekeys will work perfectly for me, thanks! Unfortunately though, this won't work with volumetric materials that I need this for. It works well for surface materials, but not for volumetrics, as they do not bend with the mesh coordinates. Do you perhaps know a solution to that? I fear that may be a limitation of volumetrics in blender. $\endgroup$
    – Geri
    Commented Jun 28, 2021 at 21:08
  • $\begingroup$ @Geri all 3 coordinates bend, so I don't see why it wouldn't work for volumetrics. Unfortunately I can't help a lot with that as I lost a small fortune rendering some projects with volumetrics and stay away from them ever since... How about creating an object guide, to which you apply the technique above, and then use that object's coordinate space in another object? $\endgroup$ Commented Jun 28, 2021 at 21:55
  • $\begingroup$ @MarkusvonBroady: you are making me curious!!! you lost a small fortune....how did you do that? You rented 10 renderfarms for a year? 😳 $\endgroup$
    – Chris
    Commented Jun 29, 2021 at 13:39
  • $\begingroup$ @Chris renting 10 renderfarms for a year is only a small fortune for you? Can you lend me a few grands without a well precised payback date? ;) $\endgroup$ Commented Jun 29, 2021 at 14:11
  • 1
    $\begingroup$ @Geri that's the problem, it wouldn't give it 1 to 1, you would cast the point inside a cube to a point of the nearest surface of the cube, to read how you should offset X,Y,Z coordinates (the offsets stored in RGB values of the texture). Or you could cast the point inside to all 6 sides and interpolate between them, something like this: i.imgur.com/SxUexZ7.png (you could combine 6 textures into one) $\endgroup$ Commented Jun 29, 2021 at 21:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .