|
![](/i/fill.gif) |
Le 23/03/2012 17:12, clipka nous fit lire :
> They call it Aitoff, so I guess it's Aitoff.
>
The true formula for Aitoff is painfull to generate a map (camera); at
least, I get confused by sinc-function enhanced formula (see english
wikipedia), as of course to make a camera, we are going from x,y to
spherical coordinate (and of course, that is not provided by the
documentation, and I did not intend to use a solver)
>
> We definitely need custom-projection warps and cameras. You know, with
> functions defining the projection.
For custom-camera, you would need a way to output 2 vectors (origin,
direction) from the inputs of 4 vectors (location, up, right,
direction), 2 doubles between 0 and 1, and whatever you do with them as
hard-coded/SDL-coded formulas (including other SDL data and hard-coded
values).(you might see it as a function of 2 doubles which must provides
2 3D-vectors)
Some formula are easy in one direction and nightmare/impossible in
opposite (camera vs projection).
Did you say projection warps ? I would have thought about projection
map_type. (from a 3D point, some others data (assume origin & other ?),
provide a couple of doubles : integer part can be used to isolate the
"once" (0.x,0.y) and the part after the dot is the coordinate on
map/picture (scale to 0 to 1 in both direction)
Post a reply to this message
|
![](/i/fill.gif) |