[osg-users] osgEphemeris

Adrian Egli OpenSceneGraph (3D) 3dhelp at gmail.com
Wed Sep 10 03:09:53 PDT 2008


Thanks,but now i have texture, but the texture is not updated each frame,
delayed :-(

mm,
:-(

2008/9/10 Mi Haotian <haotian at dwx.com.sg>

> Hi Filip,
>
> The method suggested in your email does slove the problem.Thank you very
> much.
>
> regards,
> Mi Haotian
>
> On Wed, September 10, 2008 2:39 pm, Filip Holm wrote:
> > Hi Mi,
> >
> >
> > If you have a look at my previous email on this subject you'll find the
> > answer to this problem. It's a bug in osgEphemeris. After re-calculating
> > the skydome image ephemeris fails to set the dirty bit on the result,
> > hence the texture is not updated.
> >
> > Filip
> >
> >
> > On Wed, Sep 10, 2008 at 3:07 AM, <haotian at dwx.com.sg> wrote:
> >
> >
> >> Hei,
> >>
> >>
> >> I've tried running the osgEphemeris example with OSG2.6 and I could not
> >>  get it working properly, the stars were alright but the sun never
> >> appeared.but the same example works perfectly on osg2.4. So does anyone
> >>  have any idea what could be the reason for this?
> >>
> >>
> >> regards, Mi Haotian
> >>
> >>
> >>
> >>
> >> On Tue, September 9, 2008 9:17 pm, Adrian Egli OpenSceneGraph (3D)
> >> wrote:
> >>
> >>> Ok,
> >>> i will be more precises.
> >>>
> >>> * nothings strange found with osg notify level set
> >>> * i am working with latest svn osg
> >>> * the texture gets calculated, but not displayed on the sky dome
> >>> * if you wish i can upload the osgEmph. with all my changes. there are
> >>>  some bugs in the osgEmph. VC 7 project. i am working with vc 2005
> >>>
> >>> / adrian
> >>>
> >>>
> >>>
> >>> ###############################################################
> >>> C:\Users\adrian>set OSG
> >>> OSG_FILE_PATH=F:\dev\OpenSceneGraph\Data;.;F:\data\models;
> >>> OSG_LIBRARY_PATH=.;F:\dev\OpenSceneGraph\Deployment\bin
> >>> OSG_WINDOW=256 256 512 512
> >>> #####################################
> >>>
> >>>
> >>>
> >>>
> >>> F:\dev\OpenSceneGraph\osgEphemeris\bin>set OSG_NOTIFY_LEVEL=DEBUG
> >>>
> >>>
> >>>
> >>> F:\dev\OpenSceneGraph\osgEphemeris\bin>EphemerisViewer.exe park.ive
> >>> GraphicsContext::setWindowingSystemInterface() 010A1C40 101A0F9C
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> itr='.' FindFileInPath() : trying
> >>> F:\dev\OpenSceneGraph\osgEphemeris\bin\osgPlugins-2.7.2\osgdb_ive.dll
> >>> ...
> >>> itr='F:\dev\OpenSceneGraph\Deployment\bin'
> >>> FindFileInPath() : trying
> >>> F:\dev\OpenSceneGraph\Deployment\bin\osgPlugins-2.7.2\osgdb_ive.dll
> >>> ...
> >>> FindFileInPath() : USING
> >>> F:\dev\OpenSceneGraph\Deployment\bin\osgPlugins-2.7.2\osgdb_ive.dll
> >>> Opened DynamicLibrary osgPlugins-2.7.2/osgdb_ive.dll
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\park.ive ...
> >>> itr='.' FindFileInPath() : trying
> >>> F:\dev\OpenSceneGraph\osgEphemeris\bin\park.ive
> >>> ...
> >>> itr='F:\data\models'
> >>> FindFileInPath() : trying F:\data\models\park.ive ...
> >>> FindFileInPath() : USING F:\data\models\park.ive
> >>> ive::DataInputStream.setLoadExternalReferenceFiles()=1
> >>> Font 0199B608, numberOfTexturesAllocated 1
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='.' FindFileInPath() : trying
> >>>
> >> F:\dev\OpenSceneGraph\osgEphemeris\bin\osgPlugins-2.7.2\osgdb_freetype.
> >> dll
> >>> ...
> >>> itr='F:\dev\OpenSceneGraph\Deployment\bin'
> >>> FindFileInPath() : trying
> >>> F:\dev\OpenSceneGraph\Deployment\bin\osgPlugins-2.7.2\osgdb_freetype.d
> >>> ll ...
> >>> FindFileInPath() : USING
> >>> F:\dev\OpenSceneGraph\Deployment\bin\osgPlugins-2.7.2\osgdb_freetype.d
> >>> ll Opened DynamicLibrary osgPlugins-2.7.2/osgdb_freetype.dll
> >>> FindFileInPath(F:\dev\OpenSceneGraph\Data\fonts\arial.ttf): returning
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> FreeTypeLibrary::FreeTypeLibrary()
> >>> Adding to object cache F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> Font 019A5F58, numberOfTexturesAllocated 2
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> itr='F:\dev\OpenSceneGraph\Data'
> >>> FindFileInPath() : trying F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> ...
> >>> FindFileInPath() : USING F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> returning cached instanced of
> >>> F:\dev\OpenSceneGraph\Data\fonts\arial.ttf
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>>
> >>>
> >>>
> >>> Stats before:
> >>> Object Type     #Unique #Instanced
> >>> StateSet        46      221
> >>> Group           10      12
> >>> Transform       8       11
> >>> LOD             0       0
> >>> Switch          0       0
> >>> Geode           194     197
> >>> Drawable        218     227
> >>> Geometry        206     215
> >>> Vertices        120348  128864
> >>> Primitives      42348   46640
> >>> Optimizer::optimize() doing REMOVE_LOADED_PROXY_NODES
> >>> Optimizer::optimize() doing COMBINE_ADJACENT_LODS
> >>> Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS
> >>> Optimizer::optimize() doing SHARE_DUPLICATE_STATE
> >>> Num of StateSet=28
> >>> state attribute list 01929EA8  ClipPlane 01A12DF0  LightModel
> >>> 010AFDB8  LineWidth
> >>> 0118FE40  Material
> >>> 0187E430  Material
> >>> 0187D6A0  Material
> >>> 0187E240  Material
> >>> 0187E148  Material
> >>> 0187DD68  Material
> >>> 0187DE60  Material
> >>> 0187DF58  Material
> >>> 010B60D0  Material
> >>> 0112C100  Material
> >>> 01170900  Material
> >>> 011711B8  Material
> >>> 01172348  Material
> >>> 011752D8  Material
> >>> 01178B60  Material
> >>> 0187D890  Material
> >>> 0187E338  Material
> >>> 01807C50  Material
> >>> 0118FC20  Material
> >>> 0187DC70  Material
> >>> 0187DA80  Material
> >>> 0187D798  Material
> >>> 0187E050  Material
> >>> 0118F818  Material
> >>> 0187D988  Material
> >>> 01807D48  Texture2D
> >>> 01889FB0  Texture2D
> >>> 01170DF8  Texture2D
> >>> 01172440  Texture2D
> >>> 011712B0  Texture2D
> >>> 01178C58  Texture2D
> >>> 0112C1F8  Texture2D
> >>> 011753D0  Texture2D
> >>> 010B61C8  Texture2D
> >>> 01970048  Texture2D
> >>> 018E8B08  Viewport
> >>> searching for duplicate attributes found duplicate Material
> >> first=010B60D0
> >>> current=0112C100 replace duplicate 0112C100 with 010B60D0 found
> >>> duplicate Material  first=010B60D0  current=01170900
> >>> replace duplicate 01170900 with 010B60D0 found duplicate Material
> >>> first=010B60D0  current=011711B8 replace duplicate 011711B8 with
> >>> 010B60D0
> >>> found duplicate Material  first=010B60D0  current=01172348 replace
> >>> duplicate 01172348 with 010B60D0 found duplicate Material
> >>> first=010B60D0 current=011752D8 replace duplicate 011752D8 with
> >>> 010B60D0 found duplicate
> >>> Material  first=010B60D0  current=01178B60
> >>> replace duplicate 01178B60 with 010B60D0 found duplicate Material
> >>> first=010B60D0  current=0187D890 replace duplicate 0187D890 with
> >>> 010B60D0
> >>> found duplicate Material  first=010B60D0  current=0187E338 replace
> >>> duplicate 0187E338 with 010B60D0 found duplicate Material
> >>> first=010B60D0 current=01807C50 replace duplicate 01807C50 with
> >>> 010B60D0 searching for
> >>> duplicate attributes Optimizer::optimize() doing
> >> FLATTEN_STATIC_TRANSFORMS
> >>
> >>> ** RemoveStaticTransformsVisitor *** Pass 0
> >>> Optimizer::optimize() doing CHECK_GEOMETRY
> >>> Optimizer::optimize() doing MERGE_GEOMETRY
> >>> MERGE_GEOMETRY took 0.000276083
> >>> Optimizer::optimize() doing REMOVE_REDUNDANT_NODES
> >>>
> >>>
> >>>
> >>> Stats after:
> >>> Object Type     #Unique #Instanced
> >>> StateSet        46      221
> >>> Group           10      12
> >>> Transform       8       11
> >>> LOD             0       0
> >>> Switch          0       0
> >>> Geode           194     197
> >>> Drawable        218     227
> >>> Geometry        206     215
> >>> Vertices        120348  128864
> >>> Primitives      42348   46640
> >>> View::setSceneData() Reusing exisitng scene010A6358
> >>> DriveManipulator::_height set to ==1.5
> >>> DriveManipulator::_height set to ==1.5
> >>> getCoordinateFrame(0 0 0) no coordinate system found, using default
> >>> orientation Setting terrain manipulator _minimumDistance to 0.627576
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> CullSettings::readEnvironmentalVariables()
> >>> Viewer::realize() - No valid contexts found, setting up view across
> >>> all screens. GraphicsContext::registerGraphicsContext 0187EA00
> >>> GraphicsContext::createNewContextID() creating contextID=0
> >>> Updating the MaxNumberOfGraphicsContexts to 1
> >>> View::setUpViewOnSingleScreen - GraphicsWindow has been created
> >>> successfully. Viewer::startThreading() - starting threading
> >>> Viewer::startThreading() - contexts.size()=1
> >>> Making scene thread safe
> >>> Doing add
> >>> Doing add
> >>> Doing add
> >>> gc->getGraphicsThread()->startThread() 01A01060 Set up threading
> >>> View::init()
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Doing run 01A01060 isRunning()=1
> >>> OpenGL extensions supported by installed OpenGL drivers are:
> >>> GL_ARB_color_buffer_float
> >>> GL_ARB_depth_texture
> >>> GL_ARB_draw_buffers
> >>> GL_ARB_fragment_program
> >>> GL_ARB_fragment_program_shadow
> >>> GL_ARB_fragment_shader
> >>> GL_ARB_half_float_pixel
> >>> GL_ARB_imaging
> >>> GL_ARB_multisample
> >>> GL_ARB_multitexture
> >>> GL_ARB_occlusion_query
> >>> GL_ARB_pixel_buffer_object
> >>> GL_ARB_point_parameters
> >>> GL_ARB_point_sprite
> >>> GL_ARB_shader_objects
> >>> GL_ARB_shading_language_100
> >>> GL_ARB_shadow
> >>> GL_ARB_texture_border_clamp
> >>> GL_ARB_texture_compression
> >>> GL_ARB_texture_cube_map
> >>> GL_ARB_texture_env_add
> >>> GL_ARB_texture_env_combine
> >>> GL_ARB_texture_env_dot3
> >>> GL_ARB_texture_float
> >>> GL_ARB_texture_mirrored_repeat
> >>> GL_ARB_texture_non_power_of_two
> >>> GL_ARB_texture_rectangle
> >>> GL_ARB_transpose_matrix
> >>> GL_ARB_vertex_buffer_object
> >>> GL_ARB_vertex_program
> >>> GL_ARB_vertex_shader
> >>> GL_ARB_window_pos
> >>> GL_ATI_draw_buffers
> >>> GL_ATI_texture_float
> >>> GL_ATI_texture_mirror_once
> >>> GL_EXTX_framebuffer_mixed_formats
> >>> GL_EXT_Cg_shader
> >>> GL_EXT_abgr
> >>> GL_EXT_bgra
> >>> GL_EXT_bindable_uniform
> >>> GL_EXT_blend_color
> >>> GL_EXT_blend_equation_separate
> >>> GL_EXT_blend_func_separate
> >>> GL_EXT_blend_minmax
> >>> GL_EXT_blend_subtract
> >>> GL_EXT_compiled_vertex_array
> >>> GL_EXT_depth_bounds_test
> >>> GL_EXT_draw_buffers2
> >>> GL_EXT_draw_instanced
> >>> GL_EXT_draw_range_elements
> >>> GL_EXT_fog_coord
> >>> GL_EXT_framebuffer_blit
> >>> GL_EXT_framebuffer_multisample
> >>> GL_EXT_framebuffer_object
> >>> GL_EXT_framebuffer_sRGB
> >>> GL_EXT_geometry_shader4
> >>> GL_EXT_gpu_program_parameters
> >>> GL_EXT_gpu_shader4
> >>> GL_EXT_multi_draw_arrays
> >>> GL_EXT_packed_depth_stencil
> >>> GL_EXT_packed_float
> >>> GL_EXT_packed_pixels
> >>> GL_EXT_pixel_buffer_object
> >>> GL_EXT_point_parameters
> >>> GL_EXT_rescale_normal
> >>> GL_EXT_secondary_color
> >>> GL_EXT_separate_specular_color
> >>> GL_EXT_shadow_funcs
> >>> GL_EXT_stencil_two_side
> >>> GL_EXT_stencil_wrap
> >>> GL_EXT_texture3D
> >>> GL_EXT_texture_array
> >>> GL_EXT_texture_buffer_object
> >>> GL_EXT_texture_compression_latc
> >>> GL_EXT_texture_compression_rgtc
> >>> GL_EXT_texture_compression_s3tc
> >>> GL_EXT_texture_cube_map
> >>> GL_EXT_texture_edge_clamp
> >>> GL_EXT_texture_env_add
> >>> GL_EXT_texture_env_combine
> >>> GL_EXT_texture_env_dot3
> >>> GL_EXT_texture_filter_anisotropic
> >>> GL_EXT_texture_integer
> >>> GL_EXT_texture_lod
> >>> GL_EXT_texture_lod_bias
> >>> GL_EXT_texture_mirror_clamp
> >>> GL_EXT_texture_object
> >>> GL_EXT_texture_sRGB
> >>> GL_EXT_texture_shared_exponent
> >>> GL_EXT_timer_query
> >>> GL_EXT_vertex_array
> >>> GL_IBM_rasterpos_clip
> >>> GL_IBM_texture_mirrored_repeat
> >>> GL_KTX_buffer_region
> >>> GL_NVX_conditional_render
> >>> GL_NV_blend_square
> >>> GL_NV_conditional_render
> >>> GL_NV_copy_depth_to_color
> >>> GL_NV_depth_buffer_float
> >>> GL_NV_depth_clamp
> >>> GL_NV_fence
> >>> GL_NV_float_buffer
> >>> GL_NV_fog_distance
> >>> GL_NV_fragment_program
> >>> GL_NV_fragment_program2
> >>> GL_NV_fragment_program_option
> >>> GL_NV_framebuffer_multisample_coverage
> >>> GL_NV_geometry_shader4
> >>> GL_NV_gpu_program4
> >>> GL_NV_half_float
> >>> GL_NV_light_max_exponent
> >>> GL_NV_multisample_filter_hint
> >>> GL_NV_occlusion_query
> >>> GL_NV_packed_depth_stencil
> >>> GL_NV_parameter_buffer_object
> >>> GL_NV_pixel_data_range
> >>> GL_NV_point_sprite
> >>> GL_NV_primitive_restart
> >>> GL_NV_register_combiners
> >>> GL_NV_register_combiners2
> >>> GL_NV_texgen_reflection
> >>> GL_NV_texture_compression_vtc
> >>> GL_NV_texture_env_combine4
> >>> GL_NV_texture_expand_normal
> >>> GL_NV_texture_rectangle
> >>> GL_NV_texture_shader
> >>> GL_NV_texture_shader2
> >>> GL_NV_texture_shader3
> >>> GL_NV_transform_feedback
> >>> GL_NV_vertex_array_range
> >>> GL_NV_vertex_array_range2
> >>> GL_NV_vertex_program
> >>> GL_NV_vertex_program1_1
> >>> GL_NV_vertex_program2
> >>> GL_NV_vertex_program2_option
> >>> GL_NV_vertex_program3
> >>> GL_S3_s3tc
> >>> GL_SGIS_generate_mipmap
> >>> GL_SGIS_texture_lod
> >>> GL_SGIX_depth_texture
> >>> GL_SGIX_shadow
> >>> GL_SUN_slice_accum
> >>> GL_WIN_swap_hint
> >>> WGL_ARB_buffer_region
> >>> WGL_ARB_extensions_string
> >>> WGL_ARB_make_current_read
> >>> WGL_ARB_multisample
> >>> WGL_ARB_pbuffer
> >>> WGL_ARB_pixel_format
> >>> WGL_ARB_pixel_format_float
> >>> WGL_ARB_render_texture
> >>> WGL_ATI_pixel_format_float
> >>> WGL_EXT_extensions_string
> >>> WGL_EXT_framebuffer_sRGB
> >>> WGL_EXT_pixel_format_packed_float
> >>> WGL_EXT_swap_control
> >>> WGL_I3D_genlock
> >>> WGL_NV_float_buffer
> >>> WGL_NV_gpu_affinity
> >>> WGL_NV_render_depth_texture
> >>> WGL_NV_render_texture_rectangle
> >>> WGL_NV_swap_group
> >>> OpenGL extension 'GL_ARB_vertex_program' is supported.
> >>> OpenGL extension 'GL_EXT_secondary_color' is supported.
> >>> OpenGL extension 'GL_EXT_fog_coord' is supported.
> >>> OpenGL extension 'GL_ARB_multitexture' is supported.
> >>> OpenGL extension 'GL_NV_occlusion_query' is supported.
> >>> OpenGL extension 'GL_ARB_occlusion_query' is supported.
> >>> OpenGL extension 'GL_EXT_timer_query' is supported.
> >>> OpenGL extension 'GL_EXT_secondary_color' is supported.
> >>> OpenGL extension 'GL_EXT_fog_coord' is supported.
> >>> OpenGL extension 'GL_EXT_texture_filter_anisotropic' is supported.
> >>> OpenGL extension 'GL_EXT_texture_compression_s3tc' is supported.
> >>> OpenGL extension 'GL_ARB_shadow' is supported.
> >>> OpenGL extension 'GL_ARB_shadow_ambient' is not supported.
> >>> OpenGL extension 'GL_APPLE_client_storage' is not supported.
> >>> OpenGL extension 'GL_EXT_texture_integer' is supported.
> >>> OpenGL extension 'GL_ARB_shader_objects' is supported.
> >>> OpenGL extension 'GL_ARB_vertex_shader' is supported.
> >>> OpenGL extension 'GL_ARB_fragment_shader' is supported.
> >>> OpenGL extension 'GL_ARB_shading_language_100' is supported.
> >>> OpenGL extension 'GL_EXT_geometry_shader4' is supported.
> >>> OpenGL extension 'GL_EXT_gpu_shader4' is supported.
> >>> glVersion=2.1, isGlslSupported=YES, glslLanguageVersion=1.2
> >>>
> >>> Compiling VERTEX source:
> >>> attribute vec3 Tangent;    uniform vec3 light;    varying vec2 uv;
> >> varying
> >>> vec3 lightVec;    varying vec3 halfVec;    varying vec3 eyeVec; void
> >>> main()    {        gl_ClipVertex = gl_ModelViewMatrix * gl_Vertex;
> >>> gl_Position = ftransform(); gl_FrontColor = vec4(1,1,1,1);        uv
> >>> =
> >>> gl_MultiTexCoord0.st;        vec3 n = normalize( gl_Normal);
> >>> vec3 t = normalize( Tangent);        vec3 bi = normalize(cross(n, t));
> >>>  mat3 tangentBasis = mat3 (t, bi, n);        lightVec = light *
> >>> tangentBasis;    }
> >>>
> >>> Compiling FRAGMENT source:
> >>> uniform sampler2D baseMap;uniform sampler2D normalMap;varying vec2
> >>> uv;varying vec3 lightVec;const float diffuseCoeff = 2.5;void main(
> >>> void
> >> ){
> >>
> >>> vec2 texUV = uv;    vec3 normal = 2.0 * (texture2D(normalMap,
> >>> texUV).rgb
> >> -
> >>
> >>> 0.5);    normal = normalize(normal);
> >>> float diffuse = max(dot(lightVec, normal), 0.0) * diffuseCoeff;
> >>> vec3 decalColor = texture2D(baseMap, texUV).rgb;    gl_FragColor =
> >>> vec4(vec3(diffuse) * decalColor, 1.0);} Linking osg::Program "" id=3
> >>> contextID=0 Uniform "baseMap" loc=0 size=1 type=sampler2D Uniform
> >>> "light" loc=1 size=1 type=vec3
> >>> Uniform "normalMap" loc=2 size=1 type=sampler2D
> >>> Attrib "Tangent" loc=1 size=1
> >>>
> >>>
> >>>
> >>>
> >>> Compiling VERTEX source:
> >>> uniform float starAlpha;uniform float pointSize;varying vec4
> >>> starColor;void main(){    starColor = gl_Color - 1.0 + starAlpha;
> >>> gl_PointSize = pointSize;    gl_ClipVertex = gl_ModelViewMatrix *
> >>> gl_Vertex;    gl_Position = ftransform();}
> >>>
> >>>
> >>> Compiling FRAGMENT source:
> >>> varying vec4 starColor;void main( void ){    gl_FragColor =
> >>> starColor;} Linking osg::Program "" id=6 contextID=0
> >>> Uniform "pointSize" loc=0 size=1 type=float
> >>> Uniform "starAlpha" loc=1 size=1 type=float
> >>>
> >>>
> >>>
> >>> OpenGL extension '' is not supported.
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> OpenGL extension 'GL_ARB_pixel_buffer_object' is supported.
> >>> OpenGL extension 'GL_ARB_fragment_program' is supported.
> >>> OpenGL extension 'GL_EXT_framebuffer_object' is supported.
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> Uniform Adding parent
> >>> OpenGL extension 'GL_EXT_framebuffer_blit' is supported.
> >>> OpenGL extension 'GL_EXT_framebuffer_multisample' is supported.
> >>> OpenGL extension 'GL_NV_framebuffer_multisample_coverage' is
> >>> supported. OpenGL extension 'GL_ARB_vertex_program' is supported.
> >>> Setting up osg::Camera::FRAME_BUFFER
> >>> glGetString(GL_RENDERER)==Quadro FX 570M/PCI/SSE2
> >>> Font::Glyph::subload():
> >>> texture sub-image width and/or height of 0, ignoring operation. OpenGL
> >>>  extension '' is not supported. Setting up osg::Camera::FRAME_BUFFER
> >>> ViewerBase::stopThreading() - stopping threading
> >>> Renderer::release()
> >>> Cancelling OperationThread 01A01060 isRunning()=1
> >>> Doing cancel 01A01060
> >>> Waiting for OperationThread to cancel 01A01060
> >>> Waiting for OperationThread to cancel 01A01060
> >>> Waiting for OperationThread to cancel 01A01060
> >>> exit loop 01A01060 isRunning()=1 Waiting for OperationThread to cancel
> >>>  01A01060
> >>> OperationThread::cancel() thread cancelled 01A01060 isRunning()=0
> >>> Cancelling OperationThread 01A01060 isRunning()=0
> >>> OperationThread::cancel() thread cancelled 01A01060 isRunning()=0
> >>> Viewer::stopThreading() - stopped threading.
> >>> close(1)0187EA00 Releasing GL objects for Camera=010A5FD8
> >>> _state=01A78E20
> >>> Closing still viable window 0 _state->getContextID()=0
> >>> Doing Flush
> >>> Done Flush
> >>> Doing discard of deleted OpenGL objects.
> >>> decrementUsageCount()0
> >>> GraphicsContext::decrementContextIDUsageCount(0)
> >>>
> >> to
> >>> 0
> >>> Viewer::startThreading() - starting threading
> >>> Viewer::startThreading() - contexts.size()=0
> >>> Making scene thread safe
> >>> Set up threading
> >>> ViewerBase::stopThreading() - stopping threading
> >>> Viewer::stopThreading() - stopped threading.
> >>> Viewer::~Viewer():: start destructor getThreads = 0
> >>> Viewer::~Viewer() end destrcutor getThreads = 0
> >>> Destructing osgViewer::View
> >>> Destructing osg::View
> >>> close(1)0187EA00 close(0)0187EA00
> >> GraphicsContext::unregisterGraphicsContext
> >>
> >>> 0187EA00
> >>> Done destructing osg::View
> >>> GraphicsContext::setWindowingSystemInterface() 00000000 101A0F9C
> >>> Closing DynamicLibrary osgPlugins-2.7.2/osgdb_ive.dll
> >>> Closing DynamicLibrary osgPlugins-2.7.2/osgdb_freetype.dll
> >>>
> >>>
> >>>
> >>> F:\dev\OpenSceneGraph\osgEphemeris\bin>
> >>>
> >>>
> >>>
> >>>
> >>> 2008/9/9 Gordon Tomlinson <gordon at gordon-tomlinson.com>
> >>>
> >>>
> >>>
> >>>> Adrian your question is just way to ambiguous to answer with any
> >>>> clarity or hope of really helping  it provides zero information on
> >>>> how you are attempting use the ephemeris code, what version of OSG,
> >>>> etc, You need to
> >>>> supply more information.
> >>>>
> >>>>
> >>>>
> >>>> First guess would be your using the code incorrectly or your data
> >>>> paths are in correct
> >>>>
> >>>>
> >>>>
> >>>> Have you turned the debug notification of OSG up to see if any
> >>>> warning ,
> >>>> errors are being generated to give you a clue as to what you have
> >>>> done wrong, have you compiled and run the examples provided with the
> >>>> module?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> __________________________________________________________
> >>>> *Gordon Tomlinson *
> >>>>
> >>>>
> >>>>
> >>>> *gordon at GordonTomlinson.com*
> >>>> IM: *gordon3dBrit at 3dscenegraph.com*
> >>>> *www.vis-sim.com www.gordontomlinson.com*
> >>>>
> >>>>
> >>>>
> >>>> __________________________________________________________
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> *From:* osg-users-bounces at lists.openscenegraph.org [mailto:
> >>>> osg-users-bounces at lists.openscenegraph.org] *On Behalf Of *Adrian
> >>>> Egli
> >>>> OpenSceneGraph (3D)
> >>>> *Sent:* Tuesday, September 09, 2008 8:29 AM
> >>>> *To:* OpenSceneGraph Users
> >>>> *Subject:* [osg-users] osgEphemeris
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Hi just come back to the good old osgEphemeris, i can not see any
> >>>> sky texture, what is wrong. do someone know the bug.
> >>>>
> >>>> adrian
> >>>>
> >>>> --
> >>>> ********************************************
> >>>> Adrian Egli
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> osg-users mailing list osg-users at lists.openscenegraph.org
> >>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegra
> >>>> ph.o rg
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> ********************************************
> >>> Adrian Egli
> >>> _______________________________________________
> >>> osg-users mailing list osg-users at lists.openscenegraph.org
> >>>
> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.o
> >> rg
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> osg-users mailing list osg-users at lists.openscenegraph.org
> >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.o
> >> rg
> >>
> > _______________________________________________
> > osg-users mailing list osg-users at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080910/bcc8ec7b/attachment-0003.htm>


More information about the osg-users mailing list