[2.1] Hlms editor

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
nic96
Gnoblar
Posts: 12
Joined: Tue May 23, 2017 3:57 am
x 1

Re: [2.1] Hlms editor

Post by nic96 »

More errors. When I double click on the cube in the 3d viewport I get:

Code: Select all

Shader Compiler:error(high) 40: 0:174(35): error: syntax error, unexpected SAMPLER2DARRAY, expecting ',' or ';'
GLSL compile log: 537002112PixelShader_ps
0:174(35): error: syntax error, unexpected SAMPLER2DARRAY, expecting ',' or ';'
terminate called after throwing an instance of 'Ogre::InvalidStateException'
  what():  OGRE EXCEPTION(1:InvalidStateException): Mapping the buffer twice within the same frame detected! This is not allowed. in BufferPacked::map at /home/user/Documents/cpp/ogre/OgreMain/src/Vao/OgreBufferPacked.cpp (line 180)
Aborted (core dumped)
But I'm wondering if there might be an issue related to this output:

Code: Select all

Error loading texture SkyBoxNone.dds. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(9:UnimplementedException): pack to PF_UNKNOWN not implemented in PixelUtil::packColour at /home/user/Documents/cpp/ogre/OgreMain/src/OgrePixelFormat.cpp (line 712)
Mesh: Loading cube.mesh.
Corrupted chunk detected! Stream name: 'cube.mesh' Chunk id: 36864
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/Documents/cpp/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/Documents/cpp/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/Documents/cpp/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Can't find HLMS datablock material 'UVMM5432123456'. It may not be visible to this manager, try finding it by retrieving getHlms()->getDatablock()
Can't find HLMS datablock material ''. It may not be visible to this manager, try finding it by retrieving getHlms()->getDatablock()
Mesh: Loading axis.mesh.
Corrupted chunk detected! Stream name: 'axis.mesh' Chunk id: 16384
Corrupted chunk detected! Stream name: 'axis.mesh' Chunk id: 16384
Corrupted chunk detected! Stream name: 'axis.mesh' Chunk id: 36864
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/Documents/cpp/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/Documents/cpp/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/Documents/cpp/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Edit: If I click "Apply current material to (sub)mesh." nothing happens.
Edit2: I think I'm getting somewhere. I don't think the problem is in HLMS Editor. I think the problem is that I didn't correctly link some of the plugins while compiling.
Edit3: Things are starting to work.
Image
nic96
Gnoblar
Posts: 12
Joined: Tue May 23, 2017 3:57 am
x 1

Re: [2.1] Hlms editor

Post by nic96 »

Still have some problems I haven't been able to figure out today. The first one is that changing the mesh from the 3d viewport right click menu doesn't actually change the mesh.
Image

The second problem I have is that using the same menu to change the skybox doesn't change it either.
Image

Here is part of the log related to the mesh:

Code: Select all

Mesh: Loading barrel.mesh.
Corrupted chunk detected! Stream name: 'barrel.mesh' Chunk id: 36864
Mesh: Loading cube.mesh.
Corrupted chunk detected! Stream name: 'cube.mesh' Chunk id: 36864
Mesh: Loading knot.mesh.
Corrupted chunk detected! Stream name: 'knot.mesh' Chunk id: 36864
Mesh: Loading rock.mesh.
Corrupted chunk detected! Stream name: 'rock.mesh' Chunk id: 36864
Mesh: Loading sphere.mesh.
Corrupted chunk detected! Stream name: 'sphere.mesh' Chunk id: 36864
And the part related to the skybox:

Code: Select all

Error loading texture SkyBoxNone.dds. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(9:UnimplementedException): pack to PF_UNKNOWN not implemented in PixelUtil::packColour at /home/user/workspace/ogre/OgreMain/src/OgrePixelFormat.cpp (line 712)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Can't find HLMS datablock material 'UVMM5432123456'. It may not be visible to this manager, try finding it by retrieving getHlms()->getDatablock()
And the entire log in case the above is not enough:

Code: Select all

Starting /home/user/workspace/git/build-HLMSEditor-Debug/HLMSEditor...
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 Mesh2
Registering ResourceManager for type OldSkeleton
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
FreeImage version: 3.17.0
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
Registering ResourceManager for type HighLevelGpuProgram
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Item' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject2' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
MovableObjectFactory for type 'WireAabb' registered.
Loading library /usr/local/lib/OGRE/RenderSystem_GL3Plus_d
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/local/lib/OGRE/Plugin_ParticleFX_d
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
Loading library /usr/local/lib/OGRE/ZipExport_d
Installing plugin: HlmsEditorPlugin
Plugin successfully installed
Loading library /usr/local/lib/OGRE/ProjectImportExport_d
Installing plugin: HlmsEditorPlugin
Plugin successfully installed
Loading library /usr/local/lib/OGRE/AssImpPlugin_d
Installing plugin: HlmsEditorPlugin
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 2.1.0unstable (Tindalos)
CPU Identifier & Features
-------------------------
 *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
 *   Logical cores: 4
 *      SSE: yes
 *     SSE2: yes
 *     SSE3: yes
 *      MMX: yes
 *   MMXEXT: yes
 *    3DNOW: no
 * 3DNOWEXT: no
 *     CMOV: yes
 *      TSC: yes
 *      FPU: yes
 *      PRO: yes
 *       HT: no
-------------------------
******************************
*** Starting GLX Subsystem ***
******************************
Added resource location 'common/ogre3' of type 'FileSystem' to resource group 'General'
Added resource location 'common/skybox' of type 'FileSystem' to resource group 'General'
Added resource location 'common/brushes' of type 'FileSystem' to resource group 'General'
Added resource location 'examples' of type 'FileSystem' to resource group 'General'
Added resource location 'import' of type 'FileSystem' to resource group 'General'
Added resource location '/home/user/workspace/git/build-HLMSEditor-Debug/common/ogre3' of type 'FileSystem' to resource group 'General'
Added resource location '/home/user/workspace/git/build-HLMSEditor-Debug/common/skybox' of type 'FileSystem' to resource group 'General'
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot MainWindow::doNewEditLayerMenuAction() in ../HLMSEditor/source/src/mainwindow.cpp:251
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such signal TextureTreeDockWidget::resourcesDeleted() in ../HLMSEditor/source/src/texture_main.cpp:102
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
GL3PlusRenderSystem::_createRenderWindow "325664", 100x100 windowed  miscParams: currentGLContext=false externalWindowHandle=52428852 gamma=true parentWindowHandle=52428852 
Created GL 4.3 context
GLXWindow::create used FBConfigID = 121
GL_VERSION = 4.5.0.0
GL_VENDOR = Intel Open Source Technology Center
GL_RENDERER = Mesa DRI Intel(R) Haswell Mobile 
GL_EXTENSIONS = 
GL_3DFX_texture_compression_FXT1
GL_AMD_conservative_depth
GL_AMD_draw_buffers_blend
GL_AMD_seamless_cubemap_per_texture
GL_AMD_shader_trinary_minmax
GL_AMD_vertex_shader_layer
GL_AMD_vertex_shader_viewport_index
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_APPLE_object_purgeable
GL_ARB_ES2_compatibility
GL_ARB_ES3_1_compatibility
GL_ARB_ES3_compatibility
GL_ARB_arrays_of_arrays
GL_ARB_base_instance
GL_ARB_blend_func_extended
GL_ARB_buffer_storage
GL_ARB_clear_buffer_object
GL_ARB_clear_texture
GL_ARB_clip_control
GL_ARB_compressed_texture_pixel_storage
GL_ARB_compute_shader
GL_ARB_conditional_render_inverted
GL_ARB_conservative_depth
GL_ARB_copy_buffer
GL_ARB_copy_image
GL_ARB_cull_distance
GL_ARB_debug_output
GL_ARB_depth_buffer_float
GL_ARB_depth_clamp
GL_ARB_derivative_control
GL_ARB_direct_state_access
GL_ARB_draw_buffers
GL_ARB_draw_buffers_blend
GL_ARB_draw_elements_base_vertex
GL_ARB_draw_indirect
GL_ARB_draw_instanced
GL_ARB_enhanced_layouts
GL_ARB_explicit_attrib_location
GL_ARB_explicit_uniform_location
GL_ARB_fragment_coord_conventions
GL_ARB_fragment_layer_viewport
GL_ARB_fragment_shader
GL_ARB_framebuffer_no_attachments
GL_ARB_framebuffer_object
GL_ARB_framebuffer_sRGB
GL_ARB_get_program_binary
GL_ARB_get_texture_sub_image
GL_ARB_gpu_shader5
GL_ARB_gpu_shader_fp64
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_internalformat_query2
GL_ARB_invalidate_subdata
GL_ARB_map_buffer_alignment
GL_ARB_map_buffer_range
GL_ARB_multi_bind
GL_ARB_multi_draw_indirect
GL_ARB_occlusion_query2
GL_ARB_pipeline_statistics_query
GL_ARB_pixel_buffer_object
GL_ARB_point_sprite
GL_ARB_program_interface_query
GL_ARB_provoking_vertex
GL_ARB_query_buffer_object
GL_ARB_robust_buffer_access_behavior
GL_ARB_robustness
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_seamless_cube_map
GL_ARB_seamless_cubemap_per_texture
GL_ARB_separate_shader_objects
GL_ARB_shader_atomic_counter_ops
GL_ARB_shader_atomic_counters
GL_ARB_shader_bit_encoding
GL_ARB_shader_clock
GL_ARB_shader_draw_parameters
GL_ARB_shader_image_load_store
GL_ARB_shader_image_size
GL_ARB_shader_objects
GL_ARB_shader_precision
GL_ARB_shader_storage_buffer_object
GL_ARB_shader_subroutine
GL_ARB_shader_texture_image_samples
GL_ARB_shader_texture_lod
GL_ARB_shader_viewport_layer_array
GL_ARB_shading_language_420pack
GL_ARB_shading_language_packing
GL_ARB_stencil_texturing
GL_ARB_sync
GL_ARB_tessellation_shader
GL_ARB_texture_barrier
GL_ARB_texture_buffer_object
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_buffer_range
GL_ARB_texture_compression_bptc
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map_array
GL_ARB_texture_float
GL_ARB_texture_gather
GL_ARB_texture_mirror_clamp_to_edge
GL_ARB_texture_multisample
GL_ARB_texture_non_power_of_two
GL_ARB_texture_query_levels
GL_ARB_texture_query_lod
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_stencil8
GL_ARB_texture_storage
GL_ARB_texture_storage_multisample
GL_ARB_texture_swizzle
GL_ARB_texture_view
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_transform_feedback_instanced
GL_ARB_transform_feedback_overflow_query
GL_ARB_uniform_buffer_object
GL_ARB_vertex_array_bgra
GL_ARB_vertex_array_object
GL_ARB_vertex_attrib_64bit
GL_ARB_vertex_attrib_binding
GL_ARB_vertex_shader
GL_ARB_vertex_type_10f_11f_11f_rev
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_ATI_blend_equation_separate
GL_ATI_texture_float
GL_EXT_abgr
GL_EXT_blend_equation_separate
GL_EXT_draw_buffers2
GL_EXT_draw_instanced
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_multisample
GL_EXT_framebuffer_multisample_blit_scaled
GL_EXT_framebuffer_sRGB
GL_EXT_packed_depth_stencil
GL_EXT_packed_float
GL_EXT_pixel_buffer_object
GL_EXT_polygon_offset_clamp
GL_EXT_provoking_vertex
GL_EXT_shader_integer_mix
GL_EXT_shader_samples_identical
GL_EXT_texture_array
GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc
GL_EXT_texture_compression_s3tc
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_integer
GL_EXT_texture_sRGB
GL_EXT_texture_sRGB_decode
GL_EXT_texture_shared_exponent
GL_EXT_texture_snorm
GL_EXT_texture_swizzle
GL_EXT_timer_query
GL_EXT_transform_feedback
GL_EXT_vertex_array_bgra
GL_IBM_multimode_draw_arrays
GL_INTEL_performance_query
GL_KHR_blend_equation_advanced
GL_KHR_context_flush_control
GL_KHR_debug
GL_KHR_robust_buffer_access_behavior
GL_KHR_robustness
GL_MESA_pack_invert
GL_MESA_shader_integer_functions
GL_MESA_texture_signed_rgba
GL_NV_conditional_render
GL_NV_depth_clamp
GL_NV_packed_depth_stencil
GL_NV_texture_barrier
GL_OES_EGL_image
GL_S3_s3tc
Supported GLX extensions: GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_import_context GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_MESA_copy_sub_buffer GLX_MESA_multithread_makecurrent GLX_MESA_query_renderer GLX_MESA_swap_control GLX_OML_swap_method GLX_OML_sync_control GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_EXT_texture_from_pixmap GLX_INTEL_swap_event GLX_EXT_buffer_age 
**************************************
***   OpenGL 3+ Renderer Started   ***
**************************************
Registering ResourceManager for type GpuProgram
GL3+: Using FBOs for rendering to textures
FBO PF_UNKNOWN depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_DEPTH_DEPRECATED depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R11G11B10_FLOAT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16A16_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32A32_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16A16_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32A32_SINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_RG8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16A16_SNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D24_UNORM_S8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D24_UNORM_X8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_X24_S8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D24_UNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D16_UNORM depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D32_FLOAT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D32_FLOAT_X24_S8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_D32_FLOAT_X24_X8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
FBO PF_X32_X24_S8_UINT depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8 Packed-D32S8 
[GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_R8G8B8A8 PF_DEPTH_DEPRECATED PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB PF_R11G11B10_FLOAT PF_R8_UINT PF_R8G8_UINT PF_R8G8B8_UINT PF_R8G8B8A8_UINT PF_R16_UINT PF_R16G16_UINT PF_R16G16B16_UINT PF_R16G16B16A16_UINT PF_R32_UINT PF_R32G32_UINT PF_R32G32B32_UINT PF_R32G32B32A32_UINT PF_R8_SINT PF_R8G8_SINT PF_R8G8B8_SINT PF_R8G8B8A8_SINT PF_R16_SINT PF_R16G16_SINT PF_R16G16B16_SINT PF_R16G16B16A16_SINT PF_R32_SINT PF_R32G32_SINT PF_R32G32B32_SINT PF_R32G32B32A32_SINT PF_RG8 PF_R8_SNORM PF_R8G8_SNORM PF_R8G8B8_SNORM PF_R8G8B8A8_SNORM PF_R16_SNORM PF_R16G16_SNORM PF_R16G16B16_SNORM PF_R16G16B16A16_SNORM PF_D24_UNORM_S8_UINT PF_D24_UNORM_X8 PF_X24_S8_UINT PF_D24_UNORM PF_D16_UNORM PF_D32_FLOAT PF_D32_FLOAT_X24_S8_UINT PF_D32_FLOAT_X24_X8 PF_X32_X24_S8_UINT 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL 3+ Rendering Subsystem
GPU Vendor: intel
Device Name: Mesa DRI Intel(R) Haswell Mobile 
Driver Version: 4.5.0.0
 * Fixed function pipeline: no
 * Hardware generation of mipmaps: no
 * Texture blending: yes
 * Anisotropic texture filtering: yes
 * Dot product texture operation: yes
 * Cube mapping: yes
 * Hardware stencil buffer: yes
   - Stencil depth: 8
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * Hardware vertex / index buffers: yes
 * 32-bit index buffers: yes
 * Vertex programs: yes
 * Number of floating-point constants for vertex programs: 16384
 * Number of integer constants for vertex programs: 16384
 * Number of boolean constants for vertex programs: 16384
 * Fragment programs: yes
 * Number of floating-point constants for fragment programs: 16384
 * Number of integer constants for fragment programs: 16384
 * Number of boolean constants for fragment programs: 16384
 * Geometry programs: yes
 * Number of floating-point constants for geometry programs: 16384
 * Number of integer constants for geometry programs: 16384
 * Number of boolean constants for geometry programs: 16384
 * Tessellation Hull programs: yes
 * Number of floating-point constants for tessellation hull programs: 16384
 * Number of integer constants for tessellation hull programs: 16384
 * Number of boolean constants for tessellation hull programs: 16384
 * Tessellation Domain programs: yes
 * Number of floating-point constants for tessellation domain programs: 16384
 * Number of integer constants for tessellation domain programs: 16384
 * Number of boolean constants for tessellation domain programs: 16384
 * Compute programs: yes
 * Number of floating-point constants for compute programs: 16384
 * Number of integer constants for compute programs: 16384
 * Number of boolean constants for compute programs: 16384
 * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 glsl420 glsl430 glsl440
 * Texture Compression: yes
   - DXT: yes
   - VTC: no
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: yes
   - BC4/BC5: yes
   - BC6H/BC7: yes
 * Hardware Occlusion Query: yes
 * User clip planes: yes
 * 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: yes
 * 1d textures: yes
 * Volume textures: yes
 * Max Texture resolution (2D) 16384
 * Max Texture resolution (3D) 2048
 * Max Texture resolution (Cubemaps) 16384
 * Multiple Render Targets: 8
   - With different bit depths: yes
 * Point Sprites: yes
 * Extended point parameters: yes
 * Max Point Size: 255
 * Vertex texture fetch: yes
 * Number of world matrices: 0
 * Number of texture units: 16
 * Stencil buffer depth: 8
 * Number of vertex blend matrices: 0
   - Max vertex textures: 32
   - Vertex textures shared: yes
 * Render to Vertex Buffer : yes
 * Hardware Atomic Counters: yes
 * GL 1.5 without VBO workaround: no
 * Frame Buffer objects: yes
 * Frame Buffer objects (ARB extension): no
 * Frame Buffer objects (ATI extension): no
 * PBuffer support: no
 * GL 1.5 without HW-occlusion workaround: no
 * Vertex Array Objects: yes
 * Separate shader objects: no
Registering ResourceManager for type Texture
DefaultWorkQueue('Root') initialising on thread main.
Particle Renderer Type 'billboard' registered
Mesh: Loading barrel.mesh.
Corrupted chunk detected! Stream name: 'barrel.mesh' Chunk id: 36864
Mesh: Loading cube.mesh.
Corrupted chunk detected! Stream name: 'cube.mesh' Chunk id: 36864
Mesh: Loading knot.mesh.
Corrupted chunk detected! Stream name: 'knot.mesh' Chunk id: 36864
Mesh: Loading rock.mesh.
Corrupted chunk detected! Stream name: 'rock.mesh' Chunk id: 36864
Mesh: Loading sphere.mesh.
Corrupted chunk detected! Stream name: 'sphere.mesh' Chunk id: 36864
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
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 General
Parsing script SkyPostprocess.material
Parsing script SkyPostprocess.material
Parsing script SkyPostprocess.compositor
Parsing script SkyPostprocess.compositor
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Supported Qt formats: bmp, bw, cur, eps, epsf, epsi, exr, gif, icns, ico, jp2, jpeg, jpg, kra, mng, ora, pbm, pcx, pgm, pic, png, ppm, psd, ras, rgb, rgba, sgi, svg, svgz, tga, tif, tiff, wbmp, webp, xbm, xcf, xpm, 
Error loading texture SkyBoxNone.dds. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(9:UnimplementedException): pack to PF_UNKNOWN not implemented in PixelUtil::packColour at /home/user/workspace/ogre/OgreMain/src/OgrePixelFormat.cpp (line 712)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Can't find HLMS datablock material 'UVMM5432123456'. It may not be visible to this manager, try finding it by retrieving getHlms()->getDatablock()
OpenGL:performance(medium) 17: CPU mapping a busy "bufferobj" BO stalled and took 8.828 ms.

Shader Compiler:message(high) 18: 0:168(28): warning: `nNormal' used uninitialized
Shader Compiler:message(high) 19: 0:169(28): warning: `nNormal' used uninitialized
Shader Compiler:message(high) 20: 0:172(14): warning: `material' used uninitialized
Shader Compiler:message(high) 21: 0:172(30): warning: `material' used uninitialized
Shader Compiler:message(high) 22: 0:190(19): warning: `material' used uninitialized
Shader Compiler:message(high) 23: 0:190(68): warning: `material' used uninitialized
Shader Compiler:message(high) 24: 0:193(37): warning: `material' used uninitialized
Shader Compiler:message(high) 25: 0:197(21): warning: `material' used uninitialized
Shader Compiler:message(high) 26: 0:198(45): warning: `material' used uninitialized
Shader Compiler:message(high) 27: 0:199(50): warning: `material' used uninitialized
Shader Compiler:message(high) 28: 0:206(69): warning: `diffuseCol' used uninitialized
GLSL compiled: 536870912PixelShader_ps
0:168(28): warning: `nNormal' used uninitialized
0:169(28): warning: `nNormal' used uninitialized
0:172(14): warning: `material' used uninitialized
0:172(30): warning: `material' used uninitialized
0:190(19): warning: `material' used uninitialized
0:190(68): warning: `material' used uninitialized
0:193(37): warning: `material' used uninitialized
0:197(21): warning: `material' used uninitialized
0:198(45): warning: `material' used uninitialized
0:199(50): warning: `material' used uninitialized
0:206(69): warning: `diffuseCol' used uninitialized
OpenGL:error(high) 29: GL_INVALID_VALUE in glBindAttribLocation(16 >= 16)
Can't find HLMS datablock material ''. It may not be visible to this manager, try finding it by retrieving getHlms()->getDatablock()
Mesh: Loading axis.mesh.
Corrupted chunk detected! Stream name: 'axis.mesh' Chunk id: 16384
Corrupted chunk detected! Stream name: 'axis.mesh' Chunk id: 16384
Corrupted chunk detected! Stream name: 'axis.mesh' Chunk id: 36864
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
OGRE EXCEPTION(3:RenderingAPIException): Fixed Function pipeline is no longer allowed nor supported. The material BaseWhite must use shaders in HlmsLowLevel::calculateHashFor at /home/user/workspace/ogre/OgreMain/src/OgreHlmsLowLevel.cpp (line 155)
Texture: loading uv_mapping.png as uv_mapping.png
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
Couldn't apply datablock '[Value 0x00000001]' to this renderable. Using default one. Check previous log messages to see if there's more information.
OpenGL:performance(medium) 17: CPU mapping a busy "bufferobj" BO stalled and took 0.691 ms.

OpenGL:performance(medium) 17: CPU mapping a busy "bufferobj" BO stalled and took 0.171 ms.

OpenGL:performance(medium) 17: CPU mapping a busy "bufferobj" BO stalled and took 0.047 ms.

OpenGL:performance(medium) 17: CPU mapping a busy "bufferobj" BO stalled and took 0.012 ms.

QXcbConnection: XCB error: 5 (BadAtom), sequence: 1358, resource id: 0, major code: 19 (DeleteProperty), minor code: 0
OpenGL:error(high) 29: GL_INVALID_VALUE in glBindAttribLocation(16 >= 16)
OpenGL:error(high) 29: GL_INVALID_VALUE in glBindAttribLocation(16 >= 16)
Vertex Shader: 1610678400VertexShader_vs
Fragment Shader: 1610678400PixelShader_ps
 GLSL validation result : 
active samplers with a different type refer to the same texture image unit
Shader Compiler:message(high) 40: 0:170(28): warning: `nNormal' used uninitialized
Shader Compiler:message(high) 41: 0:171(28): warning: `nNormal' used uninitialized
Shader Compiler:message(high) 42: 0:174(14): warning: `material' used uninitialized
Shader Compiler:message(high) 43: 0:174(30): warning: `material' used uninitialized
Shader Compiler:message(high) 44: 0:192(19): warning: `material' used uninitialized
Shader Compiler:message(high) 45: 0:192(68): warning: `material' used uninitialized
Shader Compiler:message(high) 46: 0:195(37): warning: `material' used uninitialized
Shader Compiler:message(high) 47: 0:199(21): warning: `material' used uninitialized
Shader Compiler:message(high) 48: 0:200(45): warning: `material' used uninitialized
Shader Compiler:message(high) 49: 0:201(50): warning: `material' used uninitialized
Shader Compiler:message(high) 50: 0:208(69): warning: `diffuseCol' used uninitialized
GLSL compiled: 536871168PixelShader_ps
0:170(28): warning: `nNormal' used uninitialized
0:171(28): warning: `nNormal' used uninitialized
0:174(14): warning: `material' used uninitialized
0:174(30): warning: `material' used uninitialized
0:192(19): warning: `material' used uninitialized
0:192(68): warning: `material' used uninitialized
0:195(37): warning: `material' used uninitialized
0:199(21): warning: `material' used uninitialized
0:200(45): warning: `material' used uninitialized
0:201(50): warning: `material' used uninitialized
0:208(69): warning: `diffuseCol' used uninitialized
OpenGL:error(high) 29: GL_INVALID_VALUE in glBindAttribLocation(16 >= 16)
QXcbConnection: XCB error: 8 (BadMatch), sequence: 16420, resource id: 52429548, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 16430, resource id: 52429548, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 16433, resource id: 52429548, major code: 130 (Unknown), minor code: 3
nic96
Gnoblar
Posts: 12
Joined: Tue May 23, 2017 3:57 am
x 1

Re: [2.1] Hlms editor

Post by nic96 »

I think I know now why the skybox doesn't update. I modified renderwindow_dockwidget.cpp for debugging purposes and changed:

Code: Select all

            for (unsigned int i = 0; i < numberOfSkyboxes; ++i)
            {
                key = SETTINGS_PREFIX_SKYBOX + QVariant(i).toString();
                value = settings.value(key).toString();
                if (value == action->text())
                {
                    // A skybox was selected; create it
                    mOgreWidget->updateSkyBoxMaterial(value.toStdString());
                    return;
                }
            }
To this:

Code: Select all

            for (unsigned int i = 0; i < numberOfSkyboxes; ++i)
            {
                key = SETTINGS_PREFIX_SKYBOX + QVariant(i).toString();
                value = settings.value(key).toString();
                qDebug() << "Settings value:" << QString(value);
                qDebug() << "Action    text:" << QString(action->text());
                if (value == action->text())
                {
                    // A skybox was selected; create it
                    mOgreWidget->updateSkyBoxMaterial(value.toStdString());
                    return;
                }
            }
And found that I got output like this:

Code: Select all

QSettings::value: Empty key passed
Settings value: ""
Action    text: "&FortPoint.dds"
Settings value: "FortPoint.dds"
Action    text: "&FortPoint.dds"
Settings value: "Tantolunden.dds"
Action    text: "&FortPoint.dds"
Settings value: "Teide.dds"
Action    text: "&FortPoint.dds"
So I think the problem is that for some reason an ampersand is prepended to each action text.

Edit: I found that it's not always prepended. Sometimes there's an ampersand just in front of .dds

Code: Select all

Settings value: "FortPoint.dds"
Action    text: "Teide.&dds"
Settings value: "Tantolunden.dds"
Action    text: "Teide.&dds"
Settings value: "Teide.dds"
Action    text: "Teide.&dds"
Settings value: "Lundagatan.dds"
Action    text: "Teide.&dds"
nic96
Gnoblar
Posts: 12
Joined: Tue May 23, 2017 3:57 am
x 1

Re: [2.1] Hlms editor

Post by nic96 »

Since I'm posting so much stuff on debugging, development, and for help I feel like this might no longer be the right place to post and maybe should ask and admin to move the last couple of posts from the first post I posted in this topic to one of the development forums, but anyway

I now fixed the bug where the action text contains an ampersand by removing it like this:

Code: Select all

QString actionText = action->text().replace("&","");
You can see my git commit here: 2078b45
I'm not sure if it is the cleanest fix, but now it works for me on Linux. :roll:

I can't figure out why the ampersand gets there, but I know a reason you'd want it there cause I read in the Qt Documentation that it is used to make a shortcut by placing the ampersand in front of the character you want as a shortcut key: http://doc.qt.io/qt-5.8/qpushbutton.html#details

Edit: I like this project and I'm interested in improving my programming skills. So maybe once everything works nicely for me on Linux I could try to help you out with some of the issues.
User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1141
Joined: Tue Jul 06, 2004 5:57 am
x 151
Contact:

Re: [2.1] Hlms editor

Post by spookyboo »

As soon as I have some time I will add your changes (strange bug with the ampersand. Never seen it before). Beware that there a few known bugs (see https://github.com/spookyboo/HLMSEditor/issues). Good to see you came this far :D
User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1141
Joined: Tue Jul 06, 2004 5:57 am
x 151
Contact:

Re: [2.1] Hlms editor

Post by spookyboo »

Updated with Blinn-Phong
_Creeps_United_
Gnoblar
Posts: 2
Joined: Wed Aug 02, 2017 1:05 am

Re: [2.1] Hlms editor

Post by _Creeps_United_ »

For those who got it working in Linux, any advice?
nic96
Gnoblar
Posts: 12
Joined: Tue May 23, 2017 3:57 am
x 1

Re: [2.1] Hlms editor

Post by nic96 »

I figured out why the ampersand gets added to the menus:
This is a “feature” in KDE's platform theme. It automatically adds ampersand (&) characters to on-screen text to allow you to trigger an action by pressing Alt+HOTKEY on your keyboard. You can disable it by adding the following two lines to ~/.config/kdeglobals:

Code: Select all

[Development]
AutoCheckAccelerators=false
User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1141
Joined: Tue Jul 06, 2004 5:57 am
x 151
Contact:

Re: [2.1] Hlms editor

Post by spookyboo »

Update of the HLMS Editor. I've added a gLTF import plugin. It is not the fastest importer (be patient with big models), but it pretty much loads all gLTF models (both .gltf and .glb) and supports the KHR_MaterialsPbrSpecularGlossiness extension. See my signature for download of the latest version.

There is only one BUT:
Animations does not work properly yet. The created skeleton is there but the <bone> elements still contains incorrect bone pose position/rotation/scale. I've tried a simple model, but basicly I'm stuck and need help with this (see also https://github.com/spookyboo/glTFImportPlugin/issues/1)

Image
User avatar
Ybalrid
Halfling
Posts: 89
Joined: Thu Jul 10, 2014 6:52 pm
Location: France
x 31
Contact:

Re: [2.1] Hlms editor

Post by Ybalrid »

Hey, nice to see that!

If I have some free time, I'll check if everything is still working good on the CMake and Linux front! (and fix that if it's not the case anymore)

Keep up with the good work! I'm pretty hyped with your project, since we really need a good material editor for HLMS :-)
Ogre_glTF Ogre v2-1 GLTF2 loader : topic link github repo
BtOgre21 Fork of btOgre, for Ogre v2-1 : topic link github repo
OIS Current maintainer : Official repository
Annwvyn VR focused game engine using Ogre : https://github.com/Ybalrid/Annwvyn https://annwvyn.org/
User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1141
Joined: Tue Jul 06, 2004 5:57 am
x 151
Contact:

Re: [2.1] Hlms editor

Post by spookyboo »

I've added Ogre emissive map. The gLTF import plugin also uses it from now on (instead of the 'faked' one)
User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1141
Joined: Tue Jul 06, 2004 5:57 am
x 151
Contact:

Re: [2.1] Hlms editor

Post by spookyboo »

HLMS editor is updated to latest Ogre commit (8863ddf20ded)
Binary download: https://github.com/spookyboo/HLMSEditor ... e?raw=true
Slicky
Bronze Sponsor
Bronze Sponsor
Posts: 614
Joined: Mon Apr 14, 2003 11:48 pm
Location: Was LA now France
x 25

Re: [2.1] Hlms editor

Post by Slicky »

Thanks for this. Just downloaded, installed and ran. I'm getting into 2.1 so looking forward to playing around.
DontPeek
Gnoblar
Posts: 4
Joined: Mon Sep 24, 2018 10:01 pm

Re: [2.1] Hlms editor

Post by DontPeek »

Having an issue with mirrored UVs and normal maps. The normal map is being flipped on the half of the geometry with the flipped UVs. Is this an issue with the HLMS editor or Ogre?
xrgo
OGRE Expert User
OGRE Expert User
Posts: 1148
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 168

Re: [2.1] Hlms editor

Post by xrgo »

DontPeek wrote: Mon Sep 24, 2018 10:17 pm Having an issue with mirrored UVs and normal maps. The normal map is being flipped on the half of the geometry with the flipped UVs. Is this an issue with the HLMS editor or Ogre?
Sometimes it's neither... Might be the texture, try to flip the R channel or the G channel, or both
DontPeek
Gnoblar
Posts: 4
Joined: Mon Sep 24, 2018 10:01 pm

Re: [2.1] Hlms editor

Post by DontPeek »

xrgo wrote: Tue Sep 25, 2018 1:45 pm
DontPeek wrote: Mon Sep 24, 2018 10:17 pm Having an issue with mirrored UVs and normal maps. The normal map is being flipped on the half of the geometry with the flipped UVs. Is this an issue with the HLMS editor or Ogre?
Sometimes it's neither... Might be the texture, try to flip the R channel or the G channel, or both
I had tried that. Flipping the green channel just switches which side is messed up. I've also tried baking in different programs with no luck.
DontPeek
Gnoblar
Posts: 4
Joined: Mon Sep 24, 2018 10:01 pm

Re: [2.1] Hlms editor

Post by DontPeek »

DontPeek wrote: Mon Sep 24, 2018 10:17 pm Having an issue with mirrored UVs and normal maps. The normal map is being flipped on the half of the geometry with the flipped UVs. Is this an issue with the HLMS editor or Ogre?
Looking at some other threads this appears to be an issue with Ogre and mirrored UVs that is solved by storing a parity in the .mesh file? I don't see a way to do that in HLMS Editor since I'm using a .obj.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5292
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: [2.1] Hlms editor

Post by dark_sylinc »

Sounds like the mesh is being imported (by hlms editor?) Without bitangents nor the bitangents' flipping sign. Or that information is somehow lost.

Flipped bitangents is what prevents this artifact during normal mapping
DontPeek
Gnoblar
Posts: 4
Joined: Mon Sep 24, 2018 10:01 pm

Re: [2.1] Hlms editor

Post by DontPeek »

dark_sylinc wrote: Wed Sep 26, 2018 4:21 am Sounds like the mesh is being imported (by hlms editor?) Without bitangents nor the bitangents' flipping sign. Or that information is somehow lost.

Flipped bitangents is what prevents this artifact during normal mapping
Would this be the same thing as binormals? I tried to export the model using the 3ds max "game exporter" which has a checkbox for "tangents and binormals". Didn't fix the issue though. So maybe this information is being lost? Just a heads up I am not a dev, just a lowly artist lol.
Slicky
Bronze Sponsor
Bronze Sponsor
Posts: 614
Joined: Mon Apr 14, 2003 11:48 pm
Location: Was LA now France
x 25

Re: [2.1] Hlms editor

Post by Slicky »

I saw in an earlier post some example materials but the link is no longer valid. Is there an archive or share of materials that we can use and play around with?
User avatar
spookyboo
Silver Sponsor
Silver Sponsor
Posts: 1141
Joined: Tue Jul 06, 2004 5:57 am
x 151
Contact:

Re: [2.1] Hlms editor

Post by spookyboo »

Slicky
Bronze Sponsor
Bronze Sponsor
Posts: 614
Joined: Mon Apr 14, 2003 11:48 pm
Location: Was LA now France
x 25

Re: [2.1] Hlms editor

Post by Slicky »

Thanks for the link. I'm learning how to use the editor and making some progress.
Slicky
Bronze Sponsor
Bronze Sponsor
Posts: 614
Joined: Mon Apr 14, 2003 11:48 pm
Location: Was LA now France
x 25

Re: [2.1] Hlms editor

Post by Slicky »

Is there a way for presets to load automatically. I was able to create one and I think it was saved with the project. For instance the presets you put in the file how best to get access to them?
Post Reply