Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images not distorted in spheric-mirror mode #445

Closed
alex-w opened this issue Sep 26, 2018 · 1 comment
Closed

images not distorted in spheric-mirror mode #445

alex-w opened this issue Sep 26, 2018 · 1 comment
Labels
enhancement Improve existing functionality opinion OP thinks something should behave differently

Comments

@alex-w
Copy link
Member

alex-w commented Sep 26, 2018

Original report by Pawel Rudawy: https://bugs.launchpad.net/stellarium/+bug/1558148

I'm using Stellarium in spheric-mirror mode. It works fine.

However, the images created from a file and displayed with "ScreenImageMgr.createScreenImage" function are not distorted, so the resulting compound image seen on the screen (and also projected via a mirror) looks strange.

My code is as follows:

core.setSphericMirror(true);
projmod="Stereographic";
core.setProjectionMode(projmod);
core.setGuiVisible(true);
screenx=core.getScreenWidth();
screeny=core.getScreenHeight();
core.clear("natural");
szerilustr=966;
skala=0.8;
xpos=(screenx/2)-(szerilustr*skala/2);
ypos=(screeny/2);
ScreenImageMgr.createScreenImage("aaa","../pics/aaa.png",xpos,ypos,skala,true,1.0,0.03);
core.wait(100.0);
core.exit();
@alex-w alex-w added enhancement Improve existing functionality opinion OP thinks something should behave differently labels Sep 26, 2018
@gzotti
Copy link
Member

gzotti commented Sep 26, 2018

Final hint from original discussion:

You must use some SkyImage for images to be shown on your planetarium dome.

@gzotti gzotti closed this as completed Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality opinion OP thinks something should behave differently
Projects
None yet
Development

No branches or pull requests

2 participants