OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.92k stars 968 forks source link

thread pool creation fails #712

Closed uvguy closed 6 years ago

uvguy commented 6 years ago

System Information

Detailled description

Building ogre for emscripten target is good, but encountering exception error in samplebrowser example is no go :+1: ogre3webbug

I'm testing this with chromium nightly build on windows 7.

Ogre.log


Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
PVRTC codec registering
ETC codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
*-*-* OGRE Initialising
*-*-* Version 1.11.0dev (Rhagorthua)
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
Plugin successfully installed
Installing plugin: Octree Scene Manager
Plugin successfully installed
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Installing plugin: STB Image Codec
stb_image - v2.19 - public domain JPEG/PNG reader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Plugin successfully installed
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
CPU Identifier & Features
-------------------------
 *   CPU ID: Unknown
-------------------------
******************************
*** Starting EGL Subsystem ***
******************************
EGL_VERSION = 1.4 Emscripten EGL
EGL_EXTENSIONS = 
Registering ResourceManager for type Texture
GLES2RenderSystem::_createRenderWindow "OGRE Emscripten Sample", 800x600 windowed  miscParams: FSAA= currentGLContext=true gamma= vsync=Yes 
GL_VERSION = 2.0.0.0
GL_VENDOR = WebKit
GL_RENDERER = WebKit WebGL
GL_EXTENSIONS = GL_ANGLE_instanced_arrays GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_frag_depth GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_WEBKIT_EXT_texture_filter_anisotropic GL_EXT_sRGB GL_OES_element_index_uint GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc GL_WEBKIT_WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture GL_WEBKIT_WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context GL_WEBKIT_WEBGL_lose_context 
**************************************
*** OpenGL ES 2.x Renderer Started ***
**************************************
Shading language version: OpenGL ES GLSL ES 1.00 (WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium))
Registering ResourceManager for type GpuProgram
GL ES 2: Using FBOs for rendering to textures
[GLES2] : detectFBOFormats is disabled on this platform (due performance reasons)
[GLES2] : Valid FBO targets PF_A8B8G8R8 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
GPU Vendor: webkit
Device Name: WebKit WebGL
Driver Version: 2.0.0.0
 * Fixed function pipeline: no
 * Anisotropic texture filtering: yes
 * Cube mapping: yes
 * Hardware stencil buffer: yes
   - Stencil depth: 8
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * 32-bit index buffers: yes
 * Vertex programs: yes
 * Number of floating-point constants for vertex programs: 4096
 * Number of integer constants for vertex programs: 4096
 * Number of boolean constants for vertex programs: 4096
 * Fragment programs: yes
 * Number of floating-point constants for fragment programs: 1024
 * Number of integer constants for fragment programs: 1024
 * Number of boolean constants for fragment programs: 1024
 * Geometry programs: no
 * Number of floating-point constants for geometry programs: 0
 * Number of integer constants for geometry programs: 34644
 * Number of boolean constants for geometry programs: 6
 * Tessellation Hull programs: no
 * Number of floating-point constants for tessellation hull programs: 0
 * Number of integer constants for tessellation hull programs: 0
 * Number of boolean constants for tessellation hull programs: 0
 * Tessellation Domain programs: no
 * Number of floating-point constants for tessellation domain programs: 0
 * Number of integer constants for tessellation domain programs: 0
 * Number of boolean constants for tessellation domain programs: 0
 * Compute programs: no
 * Number of floating-point constants for compute programs: 0
 * Number of integer constants for compute programs: 0
 * Number of boolean constants for compute programs: 0
 * Supported Shader Profiles: glsles
 * Texture Compression: yes
   - DXT: yes
   - VTC: no
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: no
   - BC4/BC5: no
   - BC6H/BC7: no
   - ASTC: no
   - Mipmaps for compressed formats: no
 * Hardware Occlusion Query: no
 * User clip planes: no
 * VET_UBYTE4 vertex element type: yes
 * Infinite far plane projection: yes
 * Hardware render-to-texture: yes
 * Floating point textures: yes
 * Non-power-of-two textures: no
 * 1d textures: yes
 * Volume textures: no
 * Multiple Render Targets: 1
   - With different bit depths: no
 * Point Sprites: yes
 * Hardware Gamma: no
 * Extended point parameters: yes
 * Max Point Size: 0
 * Vertex texture fetch: no
 * Number of texture units: 16
 * Number of vertex attributes: 16
 * Stencil buffer depth: 8
 * Number of vertex blend matrices: 0
 * Render to Vertex Buffer : no
 * Hardware Atomic Counters: no 
 * PBuffer support: no
 * Vertex Array Objects: yes
 * Separate shader objects: no
 * GLSL SSO redeclare interface block: no
 * Debugging/ profiling events: no
 * Map buffer storage: no
DefaultWorkQueue('Root') initialising on thread 106424.

thrown exception here from chromium canary build 
bad name in getProcAddress: glActiveShaderProgramEXT,glActiveShaderProgram 
printErr  @ EmscriptenSample.html:1249

-->

uvguy commented 6 years ago

strange, trying to run from this https://ogrecave.github.io/ogre/emscripten/ is working fine. Is this regression ?

paroj commented 6 years ago

yes this is likely a regression either in ogre or in emscripten. the "bad name in getProcAddress" is likely unrelated as you will also get it at https://ogrecave.github.io/ogre/emscripten/

uvguy commented 6 years ago

could you please tell me which git version commit of that lastest version of official working emscripten target?

paroj commented 6 years ago

emscripten-tag-1.37.22-64bit 00e8d9df957006f2d6e23b75aa58c7ffc48c456c

uvguy commented 6 years ago

emscripten-tag-1.37.22-64bit

That's very old emscripten version, I could not even find a way to install. I get this emsdk list output btw

The following precompiled tool packages are available for download:
           clang-e1.30.0-64bit
           clang-e1.34.1-64bit
           clang-e1.35.0-64bit
           clang-e1.37.1-64bit
           clang-e1.37.35-64bit
           clang-e1.37.36-64bit
           node-4.1.1-32bit
           node-4.1.1-64bit
           node-8.9.1-32bit
           node-8.9.1-64bit
           python-2.7.13.1-32bit        INSTALLED
           python-2.7.13.1-64bit
           python-3.5.4-32bit
           python-3.5.4-64bit
           java-7.45-32bit
           java-7.45-64bit
           java-8.152-32bit
           java-8.152-64bit
           spidermonkey-37.0.1-64bit
           spidermonkey-nightly-2015-04-12-64bit
           git-1.9.4
           emscripten-1.30.0
           emscripten-1.34.1
           emscripten-1.35.0
           emscripten-1.37.1
           emscripten-1.37.35
           emscripten-1.37.36
           vs-tool-0.9.4                Not available: Visual Studio 2010 was not found!
           crunch-1.03
           gnu-2.5.4
           mingw-7.1.0-64bit

The following tools can be compiled from source:
           clang-tag-e1.37.34-32bit
           clang-tag-e1.37.35-32bit
           clang-tag-e1.37.34-64bit
           clang-tag-e1.37.35-64bit
           clang-incoming-32bit
           clang-incoming-64bit
           clang-master-32bit
           clang-master-64bit
           emscripten-tag-1.37.34-32bit
           emscripten-tag-1.37.35-32bit
           emscripten-tag-1.37.34-64bit
           emscripten-tag-1.37.35-64bit
           binaryen-tag-1.37.34-32bit
           binaryen-tag-1.37.35-32bit
           binaryen-tag-1.37.34-64bit
           binaryen-tag-1.37.35-64bit
           emscripten-incoming-32bit
           emscripten-master-32bit
           emscripten-incoming-64bit
           emscripten-master-64bit
           binaryen-master-32bit
           binaryen-master-64bit

The following precompiled SDKs are available for download: (Run "git pull" followed by "./emsdk update-tags" to pull in the latest list)
         sdk-1.30.0-64bit
         sdk-1.34.1-64bit
         sdk-1.35.0-64bit
         sdk-1.37.1-64bit
         sdk-1.37.35-64bit
         sdk-1.37.36-64bit

The following SDKs can be compiled from source:
         sdk-incoming-32bit
         sdk-incoming-64bit
         sdk-master-32bit
         sdk-master-64bit
         sdk-tag-1.37.34-32bit
         sdk-tag-1.37.35-32bit
         sdk-tag-1.37.34-64bit
         sdk-tag-1.37.35-64bit

Which ogre version commit of that official working version?

paroj commented 6 years ago

used current ogre master

paroj commented 6 years ago

most likely the issue is that you are using windows. There is probably a ifdef of the style

#if WIN32
...
#elif EMSCRIPTEN
...
#elif LINUX
...
#endif

somewhere.

Do you have access to a Linux machine for a quick test?

uvguy commented 6 years ago

Do you have access to a Linux machine for a quick test?

Yes but require a lot of work, I only have debian 6 vm disk. Im unable to afford installing another linux distro on my leptop because low hardisk space ( only 1-2 gb free space left). Currently I will try to install sdk-emscripten-tag-1.37.22-64bit on my Windows box firstly and recompilling against master branch. Will post back a result

paroj commented 6 years ago

I think I could reproduce your problem, try to compile with OGRE_CONFIG_THREADS=0

uvguy commented 6 years ago

try to compile with OGRE_CONFIG_THREADS=0

Re-compiling now again against commit c7106e493e0021445bce8f041af53447c6c78f49

uvguy commented 6 years ago

thanks working now, so is this exactly (ogre side ) threading problem? If yes then it would be better to mention people in some docs to force setting OGRE_CONFIG_THREADS=0 in emscripten target cmake build?

foreground_material_missing

The floor material is missing btw, here is my ogre log

Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
PVRTC codec registering
ETC codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
*-*-* OGRE Initialising
*-*-* Version 1.11.0dev (Rhagorthua)
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
Plugin successfully installed
Installing plugin: Octree Scene Manager
Plugin successfully installed
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Installing plugin: STB Image Codec
stb_image - v2.19 - public domain JPEG/PNG reader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Plugin successfully installed
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
CPU Identifier & Features
-------------------------
 *   CPU ID: Unknown
-------------------------
******************************
*** Starting EGL Subsystem ***
******************************
EGL_VERSION = 1.4 Emscripten EGL
EGL_EXTENSIONS = 
Registering ResourceManager for type Texture
GLES2RenderSystem::_createRenderWindow "OGRE Emscripten Sample", 800x600 windowed  miscParams: FSAA= currentGLContext=true gamma= vsync=Yes 
GL_VERSION = 2.0.0.0
GL_VENDOR = WebKit
GL_RENDERER = WebKit WebGL
GL_EXTENSIONS = GL_ANGLE_instanced_arrays GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_frag_depth GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_WEBKIT_EXT_texture_filter_anisotropic GL_EXT_sRGB GL_OES_element_index_uint GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc GL_WEBKIT_WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture GL_WEBKIT_WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context GL_WEBKIT_WEBGL_lose_context 
**************************************
*** OpenGL ES 2.x Renderer Started ***
**************************************
Shading language version: OpenGL ES GLSL ES 1.00 (WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium))
Registering ResourceManager for type GpuProgram
GL ES 2: Using FBOs for rendering to textures
[GLES2] : detectFBOFormats is disabled on this platform (due performance reasons)
[GLES2] : Valid FBO targets PF_A8B8G8R8 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
GPU Vendor: webkit
Device Name: WebKit WebGL
Driver Version: 2.0.0.0
 * Fixed function pipeline: no
 * Anisotropic texture filtering: yes
 * Cube mapping: yes
 * Hardware stencil buffer: yes
   - Stencil depth: 8
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * 32-bit index buffers: yes
 * Vertex programs: yes
 * Number of floating-point constants for vertex programs: 4096
 * Number of integer constants for vertex programs: 4096
 * Number of boolean constants for vertex programs: 4096
 * Fragment programs: yes
 * Number of floating-point constants for fragment programs: 1024
 * Number of integer constants for fragment programs: 1024
 * Number of boolean constants for fragment programs: 1024
 * Geometry programs: no
 * Number of floating-point constants for geometry programs: 0
 * Number of integer constants for geometry programs: 34380
 * Number of boolean constants for geometry programs: 6
 * Tessellation Hull programs: no
 * Number of floating-point constants for tessellation hull programs: 0
 * Number of integer constants for tessellation hull programs: 0
 * Number of boolean constants for tessellation hull programs: 0
 * Tessellation Domain programs: no
 * Number of floating-point constants for tessellation domain programs: 0
 * Number of integer constants for tessellation domain programs: 0
 * Number of boolean constants for tessellation domain programs: 0
 * Compute programs: no
 * Number of floating-point constants for compute programs: 0
 * Number of integer constants for compute programs: 0
 * Number of boolean constants for compute programs: 0
 * Supported Shader Profiles: glsles
 * Texture Compression: yes
   - DXT: yes
   - VTC: no
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: no
   - BC4/BC5: no
   - BC6H/BC7: no
   - ASTC: no
   - Mipmaps for compressed formats: no
 * Hardware Occlusion Query: no
 * User clip planes: no
 * VET_UBYTE4 vertex element type: yes
 * Infinite far plane projection: yes
 * Hardware render-to-texture: yes
 * Floating point textures: yes
 * Non-power-of-two textures: no
 * 1d textures: yes
 * Volume textures: no
 * Multiple Render Targets: 1
   - With different bit depths: no
 * Point Sprites: yes
 * Hardware Gamma: no
 * Extended point parameters: yes
 * Max Point Size: 0
 * Vertex texture fetch: no
 * Number of texture units: 16
 * Number of vertex attributes: 16
 * Stencil buffer depth: 8
 * Number of vertex blend matrices: 0
 * Render to Vertex Buffer : no
 * Hardware Atomic Counters: no
 * PBuffer support: no
 * Vertex Array Objects: yes
 * Separate shader objects: no
 * GLSL SSO redeclare interface block: no
 * Debugging/ profiling events: no
 * Map buffer storage: no
DefaultWorkQueue('Root') initialising on thread main.
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'OctreeSceneManager' registered.
Creating resource group Essential
Added resource location '/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
Added resource location '' of type 'FileSystem' to resource group 'General'
Added resource location '/Sinbad.zip' of type 'Zip' to resource group 'General'
Added resource location '/materials/programs/GLSLES' of type 'FileSystem' to resource group 'General'
Added resource location '/RTShaderLib/materials' of type 'FileSystem' to resource group 'General'
Added resource location '/RTShaderLib/GLSL' of type 'FileSystem' to resource group 'General'
Added resource location '/RTShaderLib/GLSLES' of type 'FileSystem' to resource group 'General'
Parsing scripts for resource group Autodetect
Finished parsing scripts for resource group Autodetect
Creating resources for group Autodetect
All done
Parsing scripts for resource group Essential
Parsing script SdkTrays.material
Parsing script SdkTrays.fontdef
Parsing script SdkTrays.overlay
Texture: sdk_cursor.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_tray.png: Loading 1 faces(PF_A8B8G8R8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x64x1.
Texture: sdk_button_up.png: Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x32x1.
Texture: sdk_text_box.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_track.png: Loading 1 faces(PF_A8B8G8R8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x32x1.
Texture: sdk_handle.png: Loading 1 faces(PF_A8B8G8R8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x16x1.
Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_label.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_separator.png: Loading 1 faces(PF_A8B8G8R8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x16x1.
Texture: sdk_logo.png: Loading 1 faces(PF_A8B8G8R8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x64x1.
Texture: sdk_shade.png: Loading 1 faces(PF_A8B8G8R8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x64x1.
Texture: sdk_frame.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture: sdk_pulse.png: Loading 1 faces(PF_B8G8R8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,8x1x1.
Finished parsing scripts for resource group Essential
Creating resources for group Essential
All done
Parsing scripts for resource group General
Parsing script sample.material
Parsing script Sinbad.material
Finished parsing scripts for resource group General
Creating resources for group General
All done
Parsing scripts for resource group Internal
Finished parsing scripts for resource group Internal
Creating resources for group Internal
All done
Texture: rockwall.tga: Loading 1 faces(PF_B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,256x256x1.
Mesh: Loading Sinbad.mesh.
Skeleton: Loading Sinbad.skeleton
Texture: sinbad_body.tga: Loading 1 faces(PF_B8G8R8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,512x512x1.
Texture: sinbad_clothes.tga: Loading 1 faces(PF_B8G8R8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,512x512x1.
Texture: sinbad_sword.tga: Loading 1 faces(PF_B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,256x256x1.
Creating swords
Mesh: Loading Sword.mesh.
Creating the chains
Texture: ribbonband.png: Loading 1 faces(PF_B8G8R8,128x1x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x1x1.
Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Font SdkTrays/Value using texture size 512x256
Texture: SdkTrays/ValueTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) Internal format is PF_BYTE_LA,512x256x1.
Font SdkTrays/Caption using texture size 256x256
Texture: SdkTrays/CaptionTexture: Loading 1 faces(PF_BYTE_LA,256x256x1) Internal format is PF_BYTE_LA,256x256x1.

Any pointers towards missing floor material texture background, why is that black?

paroj commented 6 years ago

thanks working now, so is this exactly (ogre side ) threading problem? If yes then it would be better to mention people in some docs to force setting OGRE_CONFIG_THREADS=0 in emscripten target cmake build?

might also be the Spectre mitigation: https://kripken.github.io/emscripten-site/docs/porting/pthreads.html

will just disable threading on emscripten - with 1.37.22 they did not even get detected

paroj commented 6 years ago

Any pointers towards missing floor material texture background, why is that black?

I can reproduce this, see #715. Try pressing 'T' to cycle through the filtering modes.

uvguy commented 6 years ago

I can reproduce this, see #715. Try pressing 'T' to cycle through the filtering modes.

Thanks it works.