Hi again,

I'm pretty sure it's not a problem with Simgear. After all the code has 
been this way for 3-4 years.

I've had analog problems when developing the sun code in cvs.
When there isn't a file for the texture or the file is defective, the 
texture is displayed as a solid square.
Or it's filled with a red-white checkerboard (depending on platform).
If you have Gimp, please take a look at 
<FG-base-dir>/Textures/Sky/halo.rgba and see if it's ok.

Also make sure your not using the data-package from cvs because the 
sun-textures were redone/renamed.
And of course the GL/GLUT versions should be up to date (which they 
probably are - didn't check that :-)

Are there any errors on the console when running?

Mark

Tatsuhiro Nishioka wrote:
> On Nov 18, 2006, at 9:34 AM, Martin Spott wrote:
>   
>> PLIB 1.8.4 is very old and was released with known bugs, some of the
>> features in FlightGear require PLIB CVS in order to work correctly.  
>> I'm
>> completely uncertain if this relates in any way to the geometry of the
>> sun, but you could at least have a try,
>>     
>
> Thanks!
> I checked out the plib cvs and built fgfs, which made me to change  
> GUI/dialog.c a bit but it's OK.
> I compiled everything and ran it.... finding the same rectangle... sigh.
>
> On Nov 18, 2006 at 10:42 PM, ppm wrote:
>   
>> This might not be 'help'..., but certainly same thing happens here:
>>      iBook G4 with ATI Mobility Radeon 9200
>>
>> I tested both 0.9.10 PPC / Universal. Sun itself seems rendered same
>> on two versions.
>> But surrounding light ('flare'?) doesn't seem rendered correctly.
>>
>> Thank you for your work on Universal version, Tat!
>>     
>
> You're welcome and thanks for the report. it helps me a lot!
> What you said is exactly the same as I see here, so this is not the  
> hardware specific problem.
> Now I'm searching a target to lock on. so let me give some more time ;-)
>
>
> On Nov 19, 2006, at 1:09 AM, Mark wrote:
>   
>> in 0.9.10 the sun was represented by a sphere and a square texture for
>> the halo.
>> So what your seeing is actually the halo texture. At sundown the whole
>> object is tilted and so it looks like a triangle, because you just  
>> don't
>> see the the other half of the texture. There's nothing wrong with  
>> this.
>>
>> However there seems to be a problem with transparency / alpha  
>> channel in
>> your build. Normally the halo blends in smoothly and the edges aren't
>> visible.
>> Maybe this helps to point you in the right direction.
>>
>> I'd also check the PLIB version used, as Martin already said.
>>     
>
> I really appreciate your help. I've read SimGear / PLIB source and  
> now have the same opinion.
> This rendering is done at simgear/scene/sky/oursun.cxx, especially in  
> halo related methods / funcs.
> Weird thing about this is that it draws the sun as almost big solid  
> color rectangle.
>
> As two different versions of PLIB have the same result, I think it  
> has something to do with SimGear.
> I'm changing some code so I can try and error about this.
> Or should I try another version of SimGear?
>
> -------------------------------------------
> Tatsuhiro Nishioka
> Mail: [EMAIL PROTECTED]
> -------------------------------------------
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to