Hi there!
After some time of coding and restructuring I finally managed to clean
up the repaint-code using the property-tree as interface for the data
between fg and sg. Now everything is calculated where it's supposed to
be: Environmental data in fg's environment, positional data in the
repos
Hi Durk,
The previous sun implementation was very fine. Actually I only changed
maybe 20%.
Finetuning, if you like. So you did a great job on that.
I also made the same observation with the halo turning to be more of an
ellipse at the horizon.
Actually the sun gets squeezed too and this is rela
Great! I wasn't aware that the property tree could also trigger
functions after they are bound.
So now I'll have to see how I can integrate my code with fg's environment.
I hope i'll have some time for this on the weekend.
Thanks alot,
Mark
Melchior FRANZ wrote:
> * Melchior FRANZ -- Monday 10
On Sunday 09 July 2006 19:03, Mark wrote:
> Hello everybody,
>
> I've been experimenting with a redone implementation of the sun in simgear.
> My goal is to create a more acurate looking sun that also has more
> variability in its appearance.
> I'm pretty much done and like to ask for comments and
* Melchior FRANZ -- Monday 10 July 2006 20:24:
> If you let fgfs tell sg which node to get the density from, and
> make this a node with tied getter function, [...]
Or, illustrated with some code:
fgfs:
static double calc_density() {
// stuff
return density;
}
void Whatever::bi
* Mark -- Monday 10 July 2006 20:14:
> However, as it appears you can only read and set the information in the
> property tree. But what I would need is a function I could call that
> calculates some values. So even when I would use the set-methods to put
> my data in the property tree, this wou
Hi,
I looked at the rain code and it seems a more elegant solution than what
I've done so far.
I just passed the needed info as elements of a struct which I filled
with the same get-methods in renderer.cxx.
However, as it appears you can only read and set the information in the
property tree.
Thank you!
Yes, I agree the border looks somewhat displaced but this is actually
because the fogcolor and the skydome don't match the sun (yet ;-).
It's noticeable especially in the picture with the Citation or if the
sun gets orange-red while the sky's blue and the fog is pinkish.
If the sky/fo
Beautiful. Thank you very much for doing this.
The screens eluded gasps from my 2 elder sons watching over the shoulder;
one even asked if it's a real photo or a FGFS capture - and said he was
asking because the sun is usually much more dull in FG :-) (I was silent
all the way and didn't introduce
* Mark -- Sunday 09 July 2006 19:03:
Looks beautiful, indeed. (Only the outer halo border is a bit too
obvious. :-)
> Right now i'm doing alot of calculations in the repaint-method that
> deals with enviromental values, such as humidity, visibility and density.
> This is necessary, since this
> Hello everybody,
>
> I've been experimenting with a redone implementation of the sun
> in simgear.
> My goal is to create a more acurate looking sun that also has more
> variability in its appearance.
> I'm pretty much done and like to ask for comments and advice.
>
> For those of you who'd l
Hello everybody,
I've been experimenting with a redone implementation of the sun in simgear.
My goal is to create a more acurate looking sun that also has more
variability in its appearance.
I'm pretty much done and like to ask for comments and advice.
For those of you who'd like to take a look
12 matches
Mail list logo