How to get main viewport as a texture in plugin?

Asked by hessi kaveh

Hi , I wanted to know how can I get the stellarium main view (the sky and everything) as an opengl texture in a custom plugin?

Question information

Language:
English Edit question
Status:
Answered
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
gzotti (georg-zotti) said :
#1

You solved that question already by asking how to use Spout.
That question should be answered in the Spout forum.
A few pointers: See src/core/StelApp and StelViewportEffect classes. It may be possible to get the framebuffer and make that available via Spout.

Good luck!

Can you help with this problem?

Provide an answer of your own, or ask hessi kaveh for more information if necessary.

To post a message you must log in.