On Mi, 6.11.2013, 23:19, Fabien Chéreau wrote:

>> Another thought involves sampling the landscape texture if it is
>> transparent at a location. (It may allow better true-landscape sunrise
>> etc. predictions) Can this be done via a StelTexture?
>>
>
> Not very easy via a StelTexture, since the data resides already in the
> graphic card. But the values could be computed at landscape load time I
> guess.
>
> Fabien

OK, I feared this. Then I will likely keep the same image in a QImage for
sampling, this should be possible with pixel(u,v) and qAlpha().

G.


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to