Is there a way to export a 360° image from my PlayCanvas project?

Hi, can anyone tell me how to get a 360° render?
I’ve created a project with a room and I need to get a 360° view of it, from its center. I want to download this view as a png or jpeg image (I have to upload the final image to a 360° photo viewer). Is it possible? Do I need any plugin or something else?


This is exactly the result I want to get.

This example demonstrates how this can be done: PlayCanvas Examples

It uses cubemap-renderer script to render the scene into a cubemap (from any position you need). Then it uses pc.reprojectTexture to change it from a cubemap to equirect projection (see TEXTUREPROJECTION_EQUIRECT). You can see this image in the top left in the example.

The last step (not in this example) would be to save it - there are some examples on how to do that too, but I don’t have one handy.

4 Likes