planetarium icon indicating copy to clipboard operation
planetarium copied to clipboard

support smaller aperture domes

Open codeanticode opened this issue 11 years ago • 6 comments

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

codeanticode avatar Jan 08 '14 16:01 codeanticode

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 avatar Oct 13 '17 20:10 diroru

@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 avatar Oct 23 '17 00:10 codeanticode

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

codeanticode avatar Jan 10 '18 01:01 codeanticode

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

janebeta7 avatar Jan 10 '18 01:01 janebeta7

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

diroru avatar Jan 11 '18 06:01 diroru

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

janebeta7 avatar Apr 18 '19 13:04 janebeta7