Open codeanticode opened 10 years ago
Hola! Not sure if i get the request correctly, i thought a "standard" dome has a coverage of 180° and this is (in my understanding, at least) the aperture.
So, if this is correct, then i have a solution using a sort of raycasting in the fragment shader, which enables any value for apertures. (TODO-1: make the rendering of the sixth side toggleable) Custom sweet spot (TODO-2) should also be doable, needs some testing though. This approach eliminates the need for a textured sphere (which was imho optically imperfect anyway). TODO-3: make the debug grid also ray-traced.
Work in progress: https://github.com/diroru/planetarium/tree/feature_pixel_shader_endstage
If the time is right, i will make a pull request.
In the meantime, i might ask for some advice trying not to mess up your code and the Processing canon – hope this is ok.
Btw, the current official version is not working due to a change in the signature (logic?) of createShape(SPHERE, ...);
.
Cheers!
@diroru hola, thanks so much for looking into this! You can make a pull request now, and I will take a look at your changes directly from the PR.
@diroru Thanks for your contributions, your PR is already merged into master.
A friend of mine, @janebeta7, is actually testing the new version of the library with the setDomeAperture() functionality at the SAT statosphere dome, which has an aperture of 210 degrees:
She will give us some feedback on how it is working.
Hello all! yes, i am at SAT Montreal http://sat.qc.ca/en/satosphere Here are the specifications:
Modular screen configuration : 180∞, 210∞ and vertical 230∞ by 360∞
18m in diameter
11.5 to 13m high
8 video projectors
157 speakers
tomorrow i will test aperture with dc.setDomeAperture(1.166666667f); lets see! cheers Alba
Hello all! @codeanticode: Thanks for accepting the PR! @janebeta7 that’s great news, keeping my fingers crossed :) Cheers, dimitar
Long time ago about this, but, its worked on SAT montreal with dc.setDomeAperture(1.166666667f);
i.e., where the projection doesn't cover 360 degrees but smaller ranges like 210, etc.