<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have been playing with this a bit form time to time, and i just downloaded this am the head of the subversion tree and rebuilt osg to see if it changed anything. still doesnt work.   i have looked at the event handling and all events are being handled (mouse/keyboard/update) and the values being passed to the viewer are the same as the values passed in the osgviewerGLUT.  So i am pretty sure that there is no problem with events.  That leaves drawing.  is it possible that the graphics context is setup for like double buffering and not swapping or something like that?  Resize works correctly and redraws, but that is the only event that seems to cause a redraw based on events.<div><br></div><div>Attached is the trace from running the program.  it opens up the image, then nothing is reported in the trace in response to mouse click, drag etc.  </div><div><br class="webkit-block-placeholder"></div><div>its like nothing is getting passed to osg.  however the qt events are being received, and they are passing the viewer the correct values for example in mouse press</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" size="2" style="font: 10.0px Monaco">    _gw->getEventQueue()->mouseButtonPress(event->x(), event->y(), button);</font></div>  </div><div>gets correct values or x, y, and button (or at least the values passed it are the same as those from the glut example).</div><div><br class="webkit-block-placeholder"></div><div>in mouse move</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Monaco" size="2" style="font: 10.0px Monaco">    _gw->getEventQueue()->mouseMotion(event->x(), event->y());</font></div> <br class="webkit-block-placeholder"></div><div>is being passed the correct x and y.</div><div><br class="webkit-block-placeholder"></div><div>but from the trace it appears as though nothing is being done inside osg with these values because they don't show up in the trace.</div><div><br class="webkit-block-placeholder"></div><div>so i supposed the trackballmanipulator could also be doing the wrong thing.</div><div><br class="webkit-block-placeholder"></div><div>Any ideas??</div><div><br class="webkit-block-placeholder"></div><div>best jim</div><div><br class="webkit-block-placeholder"></div><div>-----</div><div><br class="webkit-block-placeholder"></div><div><div><br class="webkit-block-placeholder"></div><div>[Session started at 2007-10-03 19:04:29 -0400.]</div><div>GraphicsContext::setWindowingSystemInterface() 0x1e0a290<span class="Apple-tab-span" style="white-space:pre">  </span>0x661740</div><div>itr='/Users/hopper/Development/OSG/osgviewerQT/build/Debug'</div><div>FindFileInPath() : trying /Users/hopper/Development/OSG/osgviewerQT/build/Debug/osgdb_OpenFlight.so ...</div><div>itr='/Users/hopper/Development/OSG/osgviewerQT/build/Debug/osgviewerQT.app/Contents/PlugIns'</div><div><br class="webkit-block-placeholder"></div><div>...</div><div><br class="webkit-block-placeholder"></div><div>Stats after:</div><div>Object Type<span class="Apple-tab-span" style="white-space:pre">  </span>#Unique<span class="Apple-tab-span" style="white-space:pre">     </span>#Instanced</div><div>StateSet      <span class="Apple-tab-span" style="white-space:pre">     </span>6<span class="Apple-tab-span" style="white-space:pre">   </span>21</div><div>Group      <span class="Apple-tab-span" style="white-space:pre">        </span>31<span class="Apple-tab-span" style="white-space:pre">  </span>31</div><div>Transform  <span class="Apple-tab-span" style="white-space:pre">        </span>2<span class="Apple-tab-span" style="white-space:pre">   </span>2</div><div>LOD        <span class="Apple-tab-span" style="white-space:pre"> </span>13<span class="Apple-tab-span" style="white-space:pre">  </span>13</div><div>Switch     <span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">   </span>0</div><div>Geode      <span class="Apple-tab-span" style="white-space:pre"> </span>21<span class="Apple-tab-span" style="white-space:pre">  </span>21</div><div>Drawable   <span class="Apple-tab-span" style="white-space:pre">        </span>21<span class="Apple-tab-span" style="white-space:pre">  </span>21</div><div>Geometry   <span class="Apple-tab-span" style="white-space:pre">        </span>21<span class="Apple-tab-span" style="white-space:pre">  </span>21</div><div>Vertices   <span class="Apple-tab-span" style="white-space:pre">        </span>3646<span class="Apple-tab-span" style="white-space:pre">        </span>3646</div><div>Primitives <span class="Apple-tab-span" style="white-space:pre">      </span>969<span class="Apple-tab-span" style="white-space:pre"> </span>969</div><div>keepExternalReferences not found, so externals will be re-readed</div><div>CullSettings::readEnvironmentalVariables()</div><div>GraphicsContext::createNewContextID() creating contextID=0</div><div>Doing remove all operations</div><div>CullSettings::readEnvironmentalVariables()</div><div>CullSettings::readEnvironmentalVariables()</div><div>CullSettings::readEnvironmentalVariables()</div><div>CullSettings::readEnvironmentalVariables()</div><div>CullSettings::readEnvironmentalVariables()</div><div>CullSettings::readEnvironmentalVariables()</div><div>Doing add</div><div>View::init()</div><div>OpenGL extensions supported by installed OpenGL drivers are:</div><div>    GL_APPLE_client_storage</div><div>    GL_APPLE_element_array</div><div>    GL_APPLE_fence</div><div>    GL_APPLE_float_pixels</div><div>    GL_APPLE_flush_buffer_range</div><div>    GL_APPLE_flush_render</div><div>    GL_APPLE_packed_pixels</div><div>    GL_APPLE_pixel_buffer</div><div>    GL_APPLE_specular_vector</div><div>    GL_APPLE_texture_range</div><div>    GL_APPLE_transform_hint</div><div>    GL_APPLE_vertex_array_object</div><div>    GL_APPLE_vertex_array_range</div><div>    GL_APPLE_vertex_program_evaluators</div><div>    GL_APPLE_ycbcr_422</div><div>    GL_ARB_depth_texture</div><div>    GL_ARB_draw_buffers</div><div>    GL_ARB_fragment_program</div><div>    GL_ARB_fragment_program_shadow</div><div>    GL_ARB_fragment_shader</div><div>    GL_ARB_imaging</div><div>    GL_ARB_multisample</div><div>    GL_ARB_multitexture</div><div>    GL_ARB_occlusion_query</div><div>    GL_ARB_pixel_buffer_object</div><div>    GL_ARB_point_parameters</div><div>    GL_ARB_point_sprite</div><div>    GL_ARB_shader_objects</div><div>    GL_ARB_shader_texture_lod</div><div>    GL_ARB_shading_language_100</div><div>    GL_ARB_shadow</div><div>    GL_ARB_shadow_ambient</div><div>    GL_ARB_texture_border_clamp</div><div>    GL_ARB_texture_compression</div><div>    GL_ARB_texture_cube_map</div><div>    GL_ARB_texture_env_add</div><div>    GL_ARB_texture_env_combine</div><div>    GL_ARB_texture_env_crossbar</div><div>    GL_ARB_texture_env_dot3</div><div>    GL_ARB_texture_float</div><div>    GL_ARB_texture_mirrored_repeat</div><div>    GL_ARB_texture_non_power_of_two</div><div>    GL_ARB_texture_rectangle</div><div>    GL_ARB_transpose_matrix</div><div>    GL_ARB_vertex_blend</div><div>    GL_ARB_vertex_buffer_object</div><div>    GL_ARB_vertex_program</div><div>    GL_ARB_vertex_shader</div><div>    GL_ARB_window_pos</div><div>    GL_ATI_blend_equation_separate</div><div>    GL_ATI_blend_weighted_minmax</div><div>    GL_ATI_separate_stencil</div><div>    GL_ATI_text_fragment_shader</div><div>    GL_ATI_texture_compression_3dc</div><div>    GL_ATI_texture_env_combine3</div><div>    GL_ATI_texture_float</div><div>    GL_ATI_texture_mirror_once</div><div>    GL_EXT_abgr</div><div>    GL_EXT_bgra</div><div>    GL_EXT_blend_color</div><div>    GL_EXT_blend_equation_separate</div><div>    GL_EXT_blend_func_separate</div><div>    GL_EXT_blend_minmax</div><div>    GL_EXT_blend_subtract</div><div>    GL_EXT_clip_volume_hint</div><div>    GL_EXT_compiled_vertex_array</div><div>    GL_EXT_draw_range_elements</div><div>    GL_EXT_fog_coord</div><div>    GL_EXT_framebuffer_object</div><div>    GL_EXT_gpu_program_parameters</div><div>    GL_EXT_multi_draw_arrays</div><div>    GL_EXT_packed_depth_stencil</div><div>    GL_EXT_rescale_normal</div><div>    GL_EXT_secondary_color</div><div>    GL_EXT_separate_specular_color</div><div>    GL_EXT_shadow_funcs</div><div>    GL_EXT_stencil_two_side</div><div>    GL_EXT_stencil_wrap</div><div>    GL_EXT_texture_compression_dxt1</div><div>    GL_EXT_texture_compression_s3tc</div><div>    GL_EXT_texture_env_add</div><div>    GL_EXT_texture_filter_anisotropic</div><div>    GL_EXT_texture_lod_bias</div><div>    GL_EXT_texture_mirror_clamp</div><div>    GL_EXT_texture_rectangle</div><div>    GL_IBM_rasterpos_clip</div><div>    GL_NV_blend_square</div><div>    GL_NV_fog_distance</div><div>    GL_NV_light_max_exponent</div><div>    GL_NV_texgen_reflection</div><div>    GL_SGIS_generate_mipmap</div><div>    GL_SGIS_texture_edge_clamp</div><div>    GL_SGIS_texture_lod</div><div>    GL_SGI_color_matrix</div><div>OpenGL extension 'GL_ARB_vertex_program' is supported.</div><div>OpenGL extension 'GL_EXT_secondary_color' is supported.</div><div>OpenGL extension 'GL_EXT_fog_coord' is supported.</div><div>OpenGL extension 'GL_ARB_multitexture' is supported.</div><div>OpenGL extension 'GL_NV_occlusion_query' is not supported.</div><div>OpenGL extension 'GL_ARB_occlusion_query' is supported.</div><div>OpenGL extension 'GL_EXT_timer_query' is not supported.</div><div>Uniform Adding parent</div><div>Uniform Adding parent</div><div>Uniform Adding parent</div><div>Uniform Adding parent</div><div>Uniform Adding parent</div><div>Uniform Adding parent</div><div>Uniform Adding parent</div><div>OpenGL extension '' is not supported.</div><div>OpenGL extension 'GL_EXT_framebuffer_object' is supported.</div><div>OpenGL extension 'GL_ARB_vertex_program' is supported.</div><div>OpenGL extension 'GL_ARB_fragment_program' is supported.</div><div>OpenGL extension 'GL_ARB_shader_objects' is supported.</div><div>OpenGL extension 'GL_ARB_vertex_shader' is supported.</div><div>OpenGL extension 'GL_ARB_fragment_shader' is supported.</div><div>OpenGL extension 'GL_ARB_shading_language_100' is supported.</div><div>glVersion=2, isGlslSupported=YES, glslLanguageVersion=1.1</div><div>OpenGL extension 'GL_ARB_pixel_buffer_object' is supported.</div><div>Setting up osg::Camera::FRAME_BUFFER</div><div>OpenGL extension 'GL_EXT_texture_filter_anisotropic' is supported.</div><div>OpenGL extension 'GL_EXT_texture_compression_s3tc' is supported.</div><div>OpenGL extension 'GL_ARB_shadow' is supported.</div><div>OpenGL extension 'GL_ARB_shadow_ambient' is supported.</div><div>OpenGL extension 'GL_APPLE_client_storage' is supported.</div><div>Disabling _isNonPowerOfTwoTextureMipMappedSupported for ATI hardware.</div><div>OpenGL extension 'GL_EXT_secondary_color' is supported.</div><div>OpenGL extension 'GL_EXT_fog_coord' is supported.</div><div>Closing DynamicLibrary osgdb_OpenFlight.so</div><div>Closing DynamicLibrary osgdb_rgb.so</div><div>GraphicsContext::setWindowingSystemInterface() 0<span class="Apple-tab-span" style="white-space:pre">    </span>0x661740</div><div><br class="webkit-block-placeholder"></div><div>osgviewerQT has exited with status 0.</div></div></body></html>