[solved] map stereographic image to a hemisphere

   4566   3   1
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
i have a .png image file which is a stereographic projection image of the brightness of a sky visualized in falsecolor (the image is what you may see when you lying on the ground with head pointing towards due north and looking upward at the zenith).

Stereographic Projection:
http://en.wikipedia.org/wiki/Stereographic_projection [en.wikipedia.org]

May I ask how to map this image to a hemisphere surface as a material in Houdini?

Thanks!

- Ji
Edited by - May 17, 2012 00:55:14

Attachments:
Capture.PNG (124.0 KB)

User Avatar
Member
607 posts
Joined: May 2007
Offline
Your post does not strictly have enough information (parameters) about the projection.
Guessing that it uses the south pole as the projection point, here's a “brute-force” approach. Create normals that point to the south pole, raycast your points to a plane, apply a planar projection, copy uvs back to hemisphere.

Maybe one can do it in a smarter way by playing with the UVProject SOP, but I can't do it before my morning coffee

Attachments:
planisphere_v001.hip (136.3 KB)

User Avatar
Member
607 posts
Joined: May 2007
Offline
eetu
Maybe one can do it in a smarter way by playing with the UVProject SOP, but I can't do it before my morning coffee

Coffee did not make it happen, but here's the same, but done with the projection math in a VOPSOP, with no geometry manipulations needed.
A bit more graceful

Attachments:
planisphere_v002.hip (162.2 KB)

User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Dear eetu, thank you very much for your wonderful suggestions! It is exactly what I'd like to generate (see image below).

Will take some time to digest your node and learn from it!

Here's my imaginary morning coffee for you as appreciation: (emm… what a nice morning coffee…!)

- Ji

Attachments:
00.PNG (222.5 KB)

  • Quick Links