Fillipuster
New member
- Joined
- Oct 11, 2018
- Messages
- 2
Hey everyone, new guy here.
I'm trying to solve a mathematical problem for a computer-science related rendering problem.
My desired result is a 2D "image" representation of a view of a 3D sphere. I suppose you could call it a kind of projection, although not the entire sphere is supposed to be shown.
So, imagine looking at a sphere (like the moon). What you'd see is essentially a flat image - a circle. That is what I am trying to achieve.
A simple image representation of the problem follows:

As mentioned, this is a computer science problem which is a result of having little processing power - and thus not being able to simulate a 3D scene with a sphere and a camera. So, my aim is a simple circle image.
My inputs in this situation would be the rotation of the sphere (as Euler angles and/or a quaternion), and some sort of image map for a sphere, as exemplified by this texture for artificial horizon for an airplane:
As you might be guessing, I am trying to essentially show a part of the image above, based on the imagined rotation of a sphere with said image projected on to it.
Excuse my bad explanations here. This problem is somewhat difficult for me to grasp/explain.
I was hoping some kind soul from FreeMathHelp could be of help here, be it anything from detailed explanations to simply pointing me in the right direction.
I'm more than open to all kinds of possible solutions and/or alternative strategies. Please do not hesitate to ask for more information or elaboration.
-FP
I'm trying to solve a mathematical problem for a computer-science related rendering problem.
My desired result is a 2D "image" representation of a view of a 3D sphere. I suppose you could call it a kind of projection, although not the entire sphere is supposed to be shown.
So, imagine looking at a sphere (like the moon). What you'd see is essentially a flat image - a circle. That is what I am trying to achieve.
A simple image representation of the problem follows:

As mentioned, this is a computer science problem which is a result of having little processing power - and thus not being able to simulate a 3D scene with a sphere and a camera. So, my aim is a simple circle image.
My inputs in this situation would be the rotation of the sphere (as Euler angles and/or a quaternion), and some sort of image map for a sphere, as exemplified by this texture for artificial horizon for an airplane:

As you might be guessing, I am trying to essentially show a part of the image above, based on the imagined rotation of a sphere with said image projected on to it.
Excuse my bad explanations here. This problem is somewhat difficult for me to grasp/explain.
I was hoping some kind soul from FreeMathHelp could be of help here, be it anything from detailed explanations to simply pointing me in the right direction.
I'm more than open to all kinds of possible solutions and/or alternative strategies. Please do not hesitate to ask for more information or elaboration.
-FP