-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Feature Request] Be able to hook/render Sunflare on different cameras #169
Comments
I will fix it so that it works automatically in the next version. |
Awesome Thanks! |
Just a quick question, how far apart do you expect the different camera views to be? Can one camera be in orbit and the other on the launchpad? Or are they usually very close together like in the video? |
So I'd say that 500 km distance could be a reasonable limit (at > 500 km from the floating origin the shaking is too bad) |
I haven't tried this yet but I think maybe switching the sunflare code to use Camera.current instead of the ScaledSpace camera might work? Just guessing really. |
@JonnyOThan there is that, then the hooks have to be generalized to other cameras, extinction calculation should be moved from skynode to sunflare class and done before every camera renders, then make sure to avoid rendering twice when in opengl (2 local cameras) |
Hi @LGhassen Do you have any updates regarding this topic? |
Not yet, sorry |
no problem! just wondering ;) |
Hi. I have a KSP mods which allows to render different cameras at the same time https://youtu.be/Y_JzKbNrnvw?t=306
The problem that I have is that I don't have a way to render all the Scatterer beautiful things in the new cameras. I was wondering if it would be possible for Scatteter to provide an API to inject more cameras apart from the main one. Like an array of NearCameras and ScaledSpace cameras, and camera transforms to apply all the effects etc to those cameras as well?
Thanks in advance
The text was updated successfully, but these errors were encountered: