I tried doing this. i got the debug logs but it does not seem that the loader
is loading any texture! It is searching for the 3ds file and the 3ds plugin.
but nothing else.
Code:
GraphicsContext::setWindowingSystemInterface() 01E58E10 1055D01C
CullSettings::readEnvironmentalVariables()
DatabasePager::addDatabaseThread() HANDLE_NON_HTTP
DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
DriveManipulator::_height set to ==1.5
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
itr='C:\OpenSceneGraph-2.8.0\build2\bin'
FindFileInPath() : trying
C:\OpenSceneGraph-2.8.0\build2\bin\osgPlugins-2.8.0\osgdb_3dsd.dll ...
FindFileInPath() : USING
C:\OpenSceneGraph-2.8.0\build2\bin\osgPlugins-2.8.0\osgdb_3dsd.dll
Opened DynamicLibrary osgPlugins-2.8.0/osgdb_3dsd.dll
FindFileInPath(girl.3ds): returning girl.3ds
NODE TRAVERSAL of 3ds file XD Soft
node name [$$$DUMMY]
node id 0
node parent id 65535
node matrix:
0.1 0 0 0
0 0 0.1 0
0 -0.1 0 0
-20.8967 -2.02229 -77.348 1
node data:
objectdata instance [FS_2Figure]
pivot 0 0 0
pos -20.8967 -2.02229 -77.348
scl 0.1 0.1 0.1
rot 0.707107 0 0 0.707107
user data
node name [sub01]
node id 1
node parent id 0
node matrix:
0.1 0 0 0
0 0 0.1 0
0 -0.1 0 0
-20.8967 -2.02229 -77.348 1
node data:
objectdata instance []
pivot 0 0 0
pos 0 0 0
scl 1 1 1
rot -0 -0 -0 1
user data
node name [sub02]
node id 2
node parent id 0
node matrix:
0.1 0 0 0
0 0 0.1 0
0 -0.1 0 0
-20.8967 -2.02229 -77.348 1
node data:
objectdata instance []
pivot 0 0 0
pos 0 0 0
scl 1 1 1
rot -0 -0 -0 1
user data
node name [sub03]
node id 3
node parent id 0
node matrix:
0.1 0 0 0
0 0 0.1 0
0 -0.1 0 0
-20.8967 -2.02229 -77.348 1
node data:
objectdata instance []
pivot 0 0 0
pos 0 0 0
scl 1 1 1
rot -0 -0 -0 1
user data
node name [sub04]
node id 4
node parent id 0
node matrix:
0.1 0 0 0
0 0 0.1 0
0 -0.1 0 0
-20.8967 -2.02229 -77.348 1
node data:
objectdata instance []
pivot 0 0 0
pos 0 0 0
scl 1 1 1
rot -0 -0 -0 1
user data
node name [sub05]
node id 5
node parent id 0
node matrix:
0.1 0 0 0
0 0 0.1 0
0 -0.1 0 0
-20.8967 -2.02229 -77.348 1
node data:
objectdata instance []
pivot 0 0 0
pos 0 0 0
scl 1 1 1
rot -0 -0 -0 1
user data
MESH TRAVERSAL of 3ds file XD Soft
mesh name sub01
0.1 0 0 0
0 -4.37114e-009 0.1 0
0 -0.1 -4.37114e-009 0
-20.8967 -2.02229 -77.348 1
mesh name sub02
0.1 0 0 0
0 -4.37114e-009 0.1 0
0 -0.1 -4.37114e-009 0
-20.8967 -2.02229 -77.348 1
mesh name sub03
0.1 0 0 0
0 -4.37114e-009 0.1 0
0 -0.1 -4.37114e-009 0
-20.8967 -2.02229 -77.348 1
mesh name sub04
0.1 0 0 0
0 -4.37114e-009 0.1 0
0 -0.1 -4.37114e-009 0
-20.8967 -2.02229 -77.348 1
mesh name sub05
0.1 0 0 0
0 -4.37114e-009 0.1 0
0 -0.1 -4.37114e-009 0
-20.8967 -2.02229 -77.348 1
Final OSG node structure looks like this:
Group
Group
Geode
Geode
Geode
Geode
Geode
Stats before:
Object Type #Unique #Instanced
StateSet 1 5
Group 2 2
Transform 0 0
LOD 0 0
Switch 0 0
Geode 5 5
Drawable 5 5
Geometry 5 5
Vertices 158517 158517
Primitives 291010 291010
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=1
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 5.34016e-005
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES
Stats after:
Object Type #Unique #Instanced
StateSet 1 5
Group 2 2
Transform 0 0
LOD 0 0
Switch 0 0
Geode 5 5
Drawable 5 5
Geometry 5 5
Vertices 158517 158517
Primitives 291010 291010
View::setSceneData() Reusing exisitng scene01E5BDA0
DriveManipulator::_height set to ==1.5
getCoordinateFrame(-1.19421 -1.85937 -1.13549)
no coordinate system found, using default orientation
Setting terrain manipulator _minimumDistance to 0.0821107
Viewer::realize() - No valid contexts found, setting up view across all screens.
GraphicsContext::registerGraphicsContext 01E70088
listening to TUIO messages on UDP port 3333
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() 034CE500
Set up threading
View::init()
Done DatabasePager::addLoadedDataToSceneGraph0.00358266ms, 0.0031541ms
objects0
Doing run 034CE500 isRunning()=1
OpenGL extensions supported by installed OpenGL drivers are:
GL_AMDX_vertex_shader_tessellator
GL_AMD_performance_monitor
GL_AMD_texture_texture4
GL_ARB_color_buffer_float
GL_ARB_depth_buffer_float
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_draw_instanced
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_framebuffer_object
GL_ARB_framebuffer_sRGB
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_instanced_arrays
GL_ARB_map_buffer_range
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_shader_texture_lod
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_shadow_ambient
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
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_texture_rg
GL_ARB_transpose_matrix
GL_ARB_vertex_array_object
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_envmap_bumpmap
GL_ATI_fragment_shader
GL_ATI_meminfo
GL_ATI_separate_stencil
GL_ATI_texture_compression_3dc
GL_ATI_texture_env_combine3
GL_ATI_texture_float
GL_EXT_abgr
GL_EXT_bgra
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_copy_texture
GL_EXT_draw_buffers2
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_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_point_parameters
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_EXT_subtexture
GL_EXT_texgen_reflection
GL_EXT_texture3D
GL_EXT_texture_array
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_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_rectangle
GL_EXT_texture_sRGB
GL_EXT_texture_shared_exponent
GL_EXT_transform_feedback
GL_EXT_vertex_array
GL_KTX_buffer_region
GL_NV_blend_square
GL_NV_conditional_render
GL_NV_texgen_reflection
GL_SGIS_generate_mipmap
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_WIN_swap_hint
WGL_ARB_buffer_region
WGL_ARB_create_context
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_ATI_render_texture_rectangle
WGL_EXT_extensions_string
WGL_EXT_framebuffer_sRGB
WGL_EXT_pixel_format_packed_float
WGL_EXT_swap_control
WGL_I3D_genlock
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 not supported.
OpenGL extension 'GL_ARB_occlusion_query' is supported.
OpenGL extension 'GL_EXT_timer_query' is not supported.
OpenGL extension 'GL_EXT_secondary_color' is supported.
OpenGL extension 'GL_EXT_fog_coord' is supported.
OpenGL extension '' is not supported.
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.
Done DatabasePager::addLoadedDataToSceneGraph0.00370296ms, 0.00328943ms
objects0
OpenGL extension 'GL_EXT_framebuffer_multisample' is supported.
OpenGL extension 'GL_NV_framebuffer_multisample_coverage' is not supported.
OpenGL extension 'GL_EXT_packed_depth_stencil' 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 not supported.
OpenGL extension 'GL_EXT_gpu_shader4' is supported.
glVersion=2.18395, isGlslSupported=YES, glslLanguageVersion=1.2
OpenGL extension 'GL_ARB_vertex_program' is supported.
Setting up osg::Camera::FRAME_BUFFER
OpenGL extension '' is not supported.
Setting up osg::Camera::FRAME_BUFFER
Done DatabasePager::addLoadedDataToSceneGraph0.0123044ms, 0.0234358ms
objects0
...
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12371#12371
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org