Protective Texture Mapping support in Cesium

Hi ,

Is there any source code / tutorial in cesium on protective texture mapping as done in opengl.

How do I calculate the perspective matrix at selected location in world space.

Thanks

Hi Amit,

Could we have more details on what you need to do?

Best,

  • Rachel

Hi Rachel,

Is there any source code / tutorial in cesium on protective texture mapping as done in opengl.

I would like to place a opengl object or entity at a latitude , longitude and project an image on 3 d terrain . All areas visible from the location can be colored with an color , image .

Hi there,

Unfortunately, we don’t have direct support for projective texture mapping, but it’s similar to shadow mapping. See an explanation on that here: http://cesiumjs.org/presentations/ShadowsAndCesiumImplementation.pdf