Show
Ignore:
Timestamp:
03/25/09 12:17:21 (4 years ago)
Author:
robert
Message:

Added new virtual reseveElements, setElement, getElment and addElement methods to DrawElements?
to make is easier to write code that can work on DrawElementUByte, UShort or UInt.

Changed the osgTerrain::GeometryTechnique? so that it automatically chooses
the use of DrawElementUShort or DrawElementsUInt accordining to the size of the tile.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp

    r9869 r9969  
    5555            formatParams.channel = 0; 
    5656            formatParams.standard = 0; 
     57#if 1 
    5758            formatParams.width = 640; 
    5859            formatParams.height = 480; 
     60#else 
     61            formatParams.width = 640; 
     62            formatParams.height = 480; 
     63#endif             
    5964            formatParams.time_base.num = 1; 
    60             formatParams.time_base.den = 50; 
     65            formatParams.time_base.den = 15; 
    6166 
    6267            iformat = av_find_input_format("video4linux2");