Creating a curved mesh on inside of sphere based on texture image coordinates
Posted
by
user5025
on Game Development
See other posts from Game Development
or by user5025
Published on 2013-12-19T00:33:03Z
Indexed on
2014/05/27
3:44 UTC
Read the original article
Hit count: 309
unity
In Blender, I have created a sphere with a panoramic texture on the inside. I have also manually created a plane mesh (curved to match the size of the sphere) that sits on the inside wall where I can draw a different texture.
This is great, but I really want to reduce the manual labor, and do some of this work in a script -- like having a variable for the panoramic image, and coordinates of the area in the photograph that I want to replace with a new mesh.
The hardest part of doing this is going to be creating a curved mesh in code that can sit on the inside wall of a sphere.
Can anyone point me in the right direction?
© Game Development or respective owner