Menu

#317 3D clouds not working with OSG >= 2.9.1x

Fixed
nobody
osg (4)
High
2011-05-31
2011-05-17
Anonymous
No

Originally created by: bre... (code.google.com)@gmail.com

What steps will reproduce the problem?
1. Use latest OSG trunk (i.e. rev 12419).
2. Start FlightGear and observe 3D clouds

What is the expected output? What do you see instead?
Expect to see 3D clouds. But none are visible.
Using an older OSG revision (2.8.3, 2.9.9 or rev 11900) 3D clouds work fine.

What version (or GIT date / Hudson build number)?
May 17th, 2011 - but FG version doesn't matter. It's an OSG issue.

What operating system and graphics card?
Linux, NVidia

Discussion

  • Anonymous

    Anonymous - 2011-05-17

    Originally posted by: frbo... (code.google.com)@gmail.com

    I can see 3D clouds on Windows with OSG 2.9.14 (rev 12384)

     
  • Anonymous

    Anonymous - 2011-05-18

    Originally posted by: bre... (code.google.com)@gmail.com

    Csaba (thanks to him!): OSG rev12300 works while [r12330] doesn't.

     
  • Anonymous

    Anonymous - 2011-05-19

    Originally posted by: bre... (code.google.com)@gmail.com

    => It's an OSG bug, but tracking it here anyway.

    From devel-list/Csaba:

    Turns out 12303 is the cause for the constant sunshine ;)

    Specifically, the GLSL version parsing has been broken:

    Original code: _glslLanguageVersion = asciiToFloat( langVerStr );
    New code: _glslLanguageVersion = ( asciiToFloat( glslvs.substr(
    glslvs.find( "GLSL "+5 ) ).c_str() ) );

    The version string for me here is simply "3.30" (using fglrx 11.4), so
    the old code works but the new one doesn't.
    Incidentally, the GL version parsing doesn't work either, because
    version string is "3.3.10666 Compatibility Profile Context" and the
    code (both the old and the new) expect a decimal number before the
    space.

    Labels: Priority-High

     
  • Anonymous

    Anonymous - 2011-05-29

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Testing

     
  • Anonymous

    Anonymous - 2011-05-31

    Originally posted by: bre... (code.google.com)@gmail.com

    Fixed (OSG>=2.9.15).

    Status: Fixed

     

Log in to post a comment.

MongoDB Logo MongoDB