1
$\begingroup$

I would like to use an image to adjust geometry of a sphere. I am using an icosphere to avoid the loss of resolution near the equator.

In the shader node this is accomplished with this setup.

enter image description here

In geometry nodes you can achieve "generated" but there is no option to change the image texture to Sphere.

enter image description here

Thus the geometry is messed up

enter image description here

There must be some kind of transformation to get the image into Sphere mode right? How would I go about that?

$\endgroup$

1 Answer 1

3
$\begingroup$

Sphere Projection uses the Spherical coordinate system:

  • radial distance $r$ (or $ρ$) is not used, because it’s a projection,
  • azimuth $\varphi$ (also known as a polar coordinate) is translated to $x$ in the texture,
  • inclination (elevation) $θ$ is translated to $y$ in the texture.

There are some aliasing problems visible on the azimuth seam and from far away in the Difference blending, and even when zooming some differences can still be spotted – maybe the algorithm could be improved by e.g. changing the orders of calculations, so the float errors are reduced?

In geometry nodes you don’t have the Generated coordinate system, but you don’t need it, and in fact, using the Object coordinate system is simpler, because you can remove the first Vector Math, which makes sure the center of sphere is in the origin:

$\endgroup$
1
  • $\begingroup$ Very nice. Thanks my guy. $\endgroup$
    – TheJeran
    Nov 27, 2022 at 14:16

You must log in to answer this question.

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