Imagination PowerVR SDK Blog

Skybox Print3D


#1

Hi,





I was playing with the SkyBox2 demo and I realized that if I comment the m_Print3D.Flush() statement, the skybox is not showed. Tough the ballon is still visible.


Is there any dependence between cube_map textures and Print3D class?


#2

Print3D sets a number of render states so that its draw calls execute correctly, but does not return them to their previous state afterwards. It sounds like the skybox render relies on one of these render states to be set. As the source code for our tools is provided in the SDK, it should be very straight forward to look though the Print3D code and determine which render state the skybox relies on :slight_smile:


#3

Ok, thanks. I’ll take a look on it :slight_smile: