Transformation function to get the pixel coordinates from given 3D coordinates of a point

1. A concise explanation of the problem you’re experiencing.

I want to know if I can look at the transformation function used to get the pixel coordinates from given 3D coordinates of a point in real world

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I am trying to train a neural network with an aim to get the 3D coordinates of the point from the pixel information in using Caesium images and it would help me if I know how the transformation 3D coordinates to pixels works and I can then calculate the inverse

4. The Cesium version you’re using, your operating system and browser.

I suppose we are using the latest version

OS: Windows 10

Browser Google Chrome

See this thread on transforming 3D positions to 2D coordinates: https://groups.google.com/forum/#!searchin/cesium-dev/scenetransforms%7Csort:date/cesium-dev/pR7WKlzhZ8w/zX4-6IrLBwAJ

And the reverse can be done with scene.pickPosition.

Would definitely be curious to see the result! Is this part of a university project?