[SOLVED]Model turn black in OpenGL ES 1.x

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
purine
Kobold
Posts: 27
Joined: Thu Nov 15, 2007 4:11 am

[SOLVED]Model turn black in OpenGL ES 1.x

Post by purine »

Hi, I try to port Ogre to a box, witch is linux system and with OpenGL ES support, but no X11 support. I modified the last code of OpenGL ES 1.x RenderSystem to run the demo without X11.
And, I can see the mesh is ok, I can see the ogre head and the jaiqua working, but all the model is black.
I change the ambient and light, but dont work, the model is black, everthing with texture is balck.

the log is below:

Code: Select all

04:27:04: Creating resource group General
04:27:04: Creating resource group Internal
04:27:04: Creating resource group Autodetect
04:27:04: SceneManagerFactory for type 'DefaultSceneManager' registered.
04:27:04: Registering ResourceManager for type Material
04:27:04: Registering ResourceManager for type Mesh
04:27:04: Registering ResourceManager for type Skeleton
04:27:04: MovableObjectFactory for type 'ParticleSystem' registered.
04:27:04: OverlayElementFactory for type Panel registered.
04:27:04: OverlayElementFactory for type BorderPanel registered.
04:27:04: OverlayElementFactory for type TextArea registered.
04:27:04: Registering ResourceManager for type Font
04:27:04: ArchiveFactory for archive type FileSystem registered.
04:27:04: ArchiveFactory for archive type Zip registered.
04:27:04: DDS codec registering
04:27:04: FreeImage version: 3.10.0
04:27:04: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
04:27:04: 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,sgi,exr,j2k,j2c,jp2
04:27:04: PVRTC codec registering
04:27:04: Registering ResourceManager for type HighLevelGpuProgram
04:27:04: Registering ResourceManager for type Compositor
04:27:04: MovableObjectFactory for type 'Entity' registered.
04:27:04: MovableObjectFactory for type 'Light' registered.
04:27:04: MovableObjectFactory for type 'BillboardSet' registered.
04:27:04: MovableObjectFactory for type 'ManualObject' registered.
04:27:04: MovableObjectFactory for type 'BillboardChain' registered.
04:27:04: MovableObjectFactory for type 'RibbonTrail' registered.
04:27:04: Loading library ../lib/RenderSystem_GLES
04:27:04: Installing plugin: OpenGL ES 1.x RenderSystem
04:27:04: OpenGL ES 1.x Rendering Subsystem created.
04:27:04: Plugin successfully installed
04:27:04: Loading library ../lib/Plugin_ParticleFX
04:27:04: Installing plugin: ParticleFX
04:27:04: Particle Emitter Type 'Point' registered
04:27:04: Particle Emitter Type 'Box' registered
04:27:04: Particle Emitter Type 'Ellipsoid' registered
04:27:04: Particle Emitter Type 'Cylinder' registered
04:27:04: Particle Emitter Type 'Ring' registered
04:27:04: Particle Emitter Type 'HollowEllipsoid' registered
04:27:04: Particle Affector Type 'LinearForce' registered
04:27:04: Particle Affector Type 'ColourFader' registered
04:27:04: Particle Affector Type 'ColourFader2' registered
04:27:04: Particle Affector Type 'ColourImage' registered
04:27:04: Particle Affector Type 'ColourInterpolator' registered
04:27:04: Particle Affector Type 'Scaler' registered
04:27:04: Particle Affector Type 'Rotator' registered
04:27:04: Particle Affector Type 'DirectionRandomiser' registered
04:27:04: Particle Affector Type 'DeflectorPlane' registered
04:27:04: Plugin successfully installed
04:27:04: Loading library ../lib/Plugin_BSPSceneManager
04:27:04: Installing plugin: BSP Scene Manager
04:27:04: Plugin successfully installed
04:27:04: Loading library ../lib/Plugin_PCZSceneManager
04:27:04: Installing plugin: Portal Connected Zone Scene Manager
04:27:04: PCZone Factory Type 'ZoneType_Default' registered
04:27:04: Plugin successfully installed
04:27:04: Loading library ../lib/Plugin_OctreeZone
04:27:04: Installing plugin: Octree Zone Factory
04:27:04: Plugin successfully installed
04:27:04: Loading library ../lib/Plugin_OctreeSceneManager
04:27:04: Installing plugin: Octree Scene Manager
04:27:04: Plugin successfully installed
04:27:04: *-*-* OGRE Initialising
04:27:04: *-*-* Version 1.8.0unstable (Byatis)
04:27:04: Creating resource group Essential
04:27:04: Added resource location '../Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
04:27:04: Added resource location '../Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
04:27:04: Added resource location '../Media' of type 'FileSystem' to resource group 'General'
04:27:04: Creating resource group Popular
04:27:04: Added resource location '../Media/fonts' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/materials/programs' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/materials/textures' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/models' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/particle' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/RTShaderLib/materials' of type 'FileSystem' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/Sinbad.zip' of type 'Zip' to resource group 'Popular'
04:27:04: Added resource location '../Media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
04:27:04: CPU Identifier & Features
04:27:04: -------------------------
04:27:04:  *   CPU ID: GenuineIntel: Genuine Intel(R) processor              1.06GHz
04:27:04:  *      SSE: yes
04:27:04:  *     SSE2: yes
04:27:04:  *     SSE3: no
04:27:04:  *      MMX: yes
04:27:04:  *   MMXEXT: yes
04:27:04:  *    3DNOW: no
04:27:04:  * 3DNOWEXT: no
04:27:04:  *     CMOV: yes
04:27:04:  *      TSC: yes
04:27:04:  *      FPU: yes
04:27:04:  *      PRO: no
04:27:04:  *       HT: no
04:27:04: -------------------------
04:27:04: GLESRenderSystem::_createRenderWindow "View", 800x600 windowed  miscParams: 
04:27:04: EGLWindow::create used FBConfigID = 3
04:27:04: GL_VERSION = OpenGL ES-CM 1.1
04:27:04: GL_VENDOR = Intel Corporation
04:27:04: GL_RENDERER = Intel(R) GMA 500 based on PowerVR SGX 535
04:27:04: GL_EXTENSIONS = GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_IMG_texture_stream GL_IMG_vertex_program 
04:27:04: EXT:GL_OES_byte_coordinates
04:27:04: EXT:GL_OES_fixed_point
04:27:04: EXT:GL_OES_single_precision
04:27:04: EXT:GL_OES_matrix_get
04:27:04: EXT:GL_OES_read_format
04:27:04: EXT:GL_OES_compressed_paletted_texture
04:27:04: EXT:GL_OES_point_sprite
04:27:04: EXT:GL_OES_point_size_array
04:27:04: EXT:GL_OES_matrix_palette
04:27:04: EXT:GL_OES_draw_texture
04:27:04: EXT:GL_OES_query_matrix
04:27:04: EXT:GL_OES_texture_env_crossbar
04:27:04: EXT:GL_OES_texture_mirrored_repeat
04:27:04: EXT:GL_OES_texture_cube_map
04:27:04: EXT:GL_OES_blend_subtract
04:27:04: EXT:GL_OES_blend_func_separate
04:27:04: EXT:GL_OES_blend_equation_separate
04:27:04: EXT:GL_OES_stencil_wrap
04:27:04: EXT:GL_OES_extended_matrix_palette
04:27:04: EXT:GL_OES_framebuffer_object
04:27:04: EXT:GL_OES_rgb8_rgba8
04:27:04: EXT:GL_OES_depth24
04:27:04: EXT:GL_OES_stencil8
04:27:04: EXT:GL_OES_compressed_ETC1_RGB8_texture
04:27:04: EXT:GL_OES_mapbuffer
04:27:04: EXT:GL_OES_EGL_image
04:27:04: EXT:GL_EXT_multi_draw_arrays
04:27:04: EXT:GL_EXT_texture_filter_anisotropic
04:27:04: EXT:GL_IMG_read_format
04:27:04: EXT:GL_IMG_texture_compression_pvrtc
04:27:04: EXT:GL_IMG_texture_format_BGRA8888
04:27:04: EXT:GL_IMG_texture_stream
04:27:04: EXT:GL_IMG_vertex_program
04:27:04: **************************************
04:27:04: *** OpenGL ES 1.x Renderer Started ***
04:27:04: **************************************
04:27:04: Registering ResourceManager for type GpuProgram
04:27:04: GL ES: Using GL_OES_framebuffer_object for rendering to textures (best)
04:27:04: FBO PF_UNKNOWN depth/stencil support: D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 
04:27:04: [GLES] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_X8R8G8B8 PF_X8B8G8R8 
04:27:04: RenderSystem capabilities
04:27:04: -------------------------
04:27:04: RenderSystem Name: OpenGL ES 1.x Rendering Subsystem
04:27:04: GPU Vendor: unknown
04:27:04: Device Name: Intel(R) GMA 500 based on PowerVR SGX 535
04:27:04: Driver Version: 0.0.0.0
04:27:04:  * Fixed function pipeline: yes
04:27:04:  * Hardware generation of mipmaps: yes
04:27:04:  * Texture blending: yes
04:27:04:  * Anisotropic texture filtering: yes
04:27:04:  * Dot product texture operation: yes
04:27:04:  * Cube mapping: yes
04:27:04:  * Hardware stencil buffer: yes
04:27:04:    - Stencil depth: 8
04:27:04:    - Two sided stencil support: no
04:27:04:    - Wrap stencil values: yes
04:27:04:  * Hardware vertex / index buffers: yes
04:27:04:  * Vertex programs: no
04:27:04:  * Number of floating-point constants for vertex programs: 0
04:27:04:  * Number of integer constants for vertex programs: 0
04:27:04:  * Number of boolean constants for vertex programs: 0
04:27:04:  * Fragment programs: no
04:27:04:  * Number of floating-point constants for fragment programs: 0
04:27:04:  * Number of integer constants for fragment programs: 0
04:27:04:  * Number of boolean constants for fragment programs: 0
04:27:04:  * Geometry programs: no
04:27:04:  * Number of floating-point constants for geometry programs: 0
04:27:04:  * Number of integer constants for geometry programs: 0
04:27:04:  * Number of boolean constants for geometry programs: 0
04:27:04:  * Supported Shader Profiles:
04:27:04:  * Texture Compression: yes
04:27:04:    - DXT: no
04:27:04:    - VTC: no
04:27:04:    - PVRTC: yes
04:27:04:  * Scissor Rectangle: yes
04:27:04:  * Hardware Occlusion Query: no
04:27:04:  * User clip planes: yes
04:27:04:  * VET_UBYTE4 vertex element type: yes
04:27:04:  * Infinite far plane projection: yes
04:27:04:  * Hardware render-to-texture: yes
04:27:04:  * Floating point textures: no
04:27:04:  * Non-power-of-two textures: no
04:27:04:  * Volume textures: no
04:27:04:  * Multiple Render Targets: 1
04:27:04:    - With different bit depths: no
04:27:04:  * Point Sprites: yes
04:27:04:  * Extended point parameters: yes
04:27:04:  * Max Point Size: 32
04:27:04:  * Vertex texture fetch: no
04:27:04:  * Number of world matrices: 0
04:27:04:  * Number of texture units: 4
04:27:04:  * Stencil buffer depth: 8
04:27:04:  * Number of vertex blend matrices: 0
04:27:04:  * Render to Vertex Buffer : no
04:27:04:  * GL 1.5 without VBO workaround: no
04:27:04:  * Frame Buffer objects: yes
04:27:04:  * Frame Buffer objects (ARB extension): no
04:27:04:  * Frame Buffer objects (ATI extension): no
04:27:04:  * PBuffer support: no
04:27:04:  * GL 1.5 without HW-occlusion workaround: no
04:27:04: Registering ResourceManager for type Texture
04:27:04: Using FSAA OpenGL ES.
04:27:04: DefaultWorkQueue('Root') initialising on thread main.
04:27:04: Particle Renderer Type 'billboard' registered
04:27:04: SceneManagerFactory for type 'BspSceneManager' registered.
04:27:04: Registering ResourceManager for type BspLevel
04:27:04: SceneManagerFactory for type 'PCZSceneManager' registered.
04:27:04: MovableObjectFactory for type 'PCZLight' registered.
04:27:04: MovableObjectFactory for type 'Portal' registered.
04:27:04: MovableObjectFactory for type 'AntiPortal' registered.
04:27:04: PCZone Factory Type 'ZoneType_Octree' registered
04:27:04: SceneManagerFactory for type 'OctreeSceneManager' registered.
04:27:04: Parsing scripts for resource group Autodetect
04:27:04: Finished parsing scripts for resource group Autodetect
04:27:04: Creating resources for group Autodetect
04:27:04: All done
04:27:04: Parsing scripts for resource group Essential
04:27:04: Parsing script SdkTrays.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script SdkTrays.fontdef
04:27:04: Parsing script SdkTrays.overlay
04:27:04: Bad element attribute line: '# you can offset the image to change the cursor "hotspot"' for element SdkTrays/Cursor in overlay 
04:27:04: Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,64x64x1.
04:27:04: Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,128x32x1.
04:27:04: Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,16x32x1.
04:27:04: Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,16x16x1.
04:27:04: Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,64x16x1.
04:27:04: Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,128x64x1.
04:27:04: Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x48x1) with 6 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,64x64x1.
04:27:04: Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8B8G8R8,32x32x1.
04:27:04: Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,8x1x1.
04:27:04: Finished parsing scripts for resource group Essential
04:27:04: Creating resources for group Essential
04:27:04: All done
04:27:04: Parsing scripts for resource group General
04:27:04: Finished parsing scripts for resource group General
04:27:04: Creating resources for group General
04:27:04: All done
04:27:04: Parsing scripts for resource group Internal
04:27:04: Finished parsing scripts for resource group Internal
04:27:04: Creating resources for group Internal
04:27:04: All done
04:27:04: Parsing scripts for resource group Popular
04:27:04: Parsing script StdQuad_vp.program
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples.program
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script deferred_post.program
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ShadowCaster.program
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script DepthShadowmap.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script MotionBlur.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script smoke.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Tiling.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Embossed.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script BlackAndWhite.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script CGSwizzle.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Posterize.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script OldMovie.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ShaderSystem.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Dither.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script SharpenEdges.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script GLSLSwizzle.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script IsoSurf.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ASCII.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Ocean.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples-DynTex.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script RadialBlur.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script instancing.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script sibenik.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples-Advanced.material
04:27:04: ScriptCompiler::compile called
04:27:04: Compiler error: object unsupported by render system in Examples-Advanced.material(526)
04:27:04: Parsing script OldTV.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples-Water.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Hurt.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script HeatVision.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Invert.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script MRTtest.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Penguin.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script DOF.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script hdr.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Example-Water.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Bloom.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Bloom2.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script pssm.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script CompositorDemo.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script shadows.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script NightVision.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script facial.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Halftone.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ASMSwizzle.material
04:27:04: ScriptCompiler::compile called
04:27:04: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
04:27:04: Parsing script Examples.material
04:27:04: ScriptCompiler::compile called
04:27:04: Compiler error: reference to a non existing object in Examples.material(1820)
04:27:04: Compiler error: reference to a non existing object in Examples.material(1831)
04:27:04: Parsing script ParticleGS.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script OffsetMapping.material
04:27:04: ScriptCompiler::compile called
04:27:04: Compiler error: object unsupported by render system in OffsetMapping.material(18)
04:27:04: Parsing script Glass.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Laplace.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script VarianceShadowmap.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script RZR-002.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Ogre.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script deferreddemo.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ShadowCaster.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script deferred_post_minilight.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ssao.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script deferred_post.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ROOM.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script RTShaderSystem.material
04:27:04: ScriptCompiler::compile called
04:27:04: Compiler error: unknown error in RTShaderSystem.material(23): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(52): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(110): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(146): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(162): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(81): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(110): token "rtshader_system" is not recognized
04:27:04: Compiler error: unknown error in RTShaderSystem.material(211): token "rtshader_system" is not recognized
04:27:04: Parsing script RomanBath.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Sinbad.material
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script smoke.particle
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script emitted_emitter.particle
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples-Water.particle
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples.particle
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script Examples.compositor
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script deferred.compositor
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script ssao.compositor
04:27:04: ScriptCompiler::compile called
04:27:04: Parsing script sample.fontdef
04:27:04: Finished parsing scripts for resource group Popular
04:27:04: Creating resources for group Popular
04:27:04: All done
04:27:04: Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,256x256x1.
04:27:04: Texture: rockwall.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,256x256x1.
04:27:04: Skeleton: Loading jaiqua.skeleton
04:27:04: Mesh: Loading jaiqua.mesh.
04:27:04: Texture: blue_jaiqua.jpg: Loading 1 faces(PF_R8G8B8,512x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,512x1024x1.
04:27:04: Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,128x128x1.
Is any reason to cause it?
Thanks.


[Solved] To pass the cmake test ,I disable TestBigEndian , and it set to OGRE_CONFIG_LITTLE_ENDIAN. Change to OGRE_CONFIG_BIG_ENDIAN, meshs likes well.
FlorianGeorge
Halfling
Posts: 86
Joined: Tue Sep 01, 2009 7:15 pm
Location: Cologne, Germany
x 4

Re: [SOLVED]Model turn black in OpenGL ES 1.x

Post by FlorianGeorge »

Sorry for necroing this thread, but

Do you still (or anyone else) have the code/cmake changes that allowed you to use Ogre on an embedded system that doesn't have X11?
Post Reply