codeanticode / planetarium

A Processing library for dome projection.
http://processing.andrescolubri.net/libraries/planetarium/
Other
50 stars 13 forks source link

support smaller aperture domes #1

Open codeanticode opened 10 years ago

codeanticode commented 10 years ago

i.e., where the projection doesn't cover 360 degrees but smaller ranges like 210, etc.

diroru commented 7 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!

codeanticode commented 7 years ago

@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.

codeanticode commented 6 years ago

@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:

image

She will give us some feedback on how it is working.

janebeta7 commented 6 years ago

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

diroru commented 6 years ago

Hello all! @codeanticode: Thanks for accepting the PR! @janebeta7 that’s great news, keeping my fingers crossed :) Cheers, dimitar

janebeta7 commented 5 years ago

Long time ago about this, but, its worked on SAT montreal with dc.setDomeAperture(1.166666667f); photo_2019-04-18_15-23-01 photo_2019-04-18_15-22-46 photo_2019-04-18_15-22-54