Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 01:02

All times are UTC + 1 hour




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 29.01.2011, 10:39 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
I'm talking about the samples that ship with the release packages or provided by the SVN. If there are no resources in them, you must have deleted them in some way, because they are definetly present. Maybe you should post the log file that will be created when starting the samples.


Top
 Profile  
Reply with quote  
PostPosted: 02.02.2011, 00:21 
Offline

Joined: 11.01.2011, 18:36
Posts: 13
Location: England
Ok, when trying to include sphere.scene.xml it doesn't show up and it says this on the log:

Code:
0.001    

Initializing GL2 backend using OpenGL driver '2.1.7417 Release' by 'ATI Technologies Inc.' on 'ATI Radeon 3100 Graphics'

0.002    

Renderer: No multisampling for render targets available

0.054    

Loading resource 'pipelines/forward.pipeline.xml'

0.055    

Loading resource 'models/sphere/sphere.scene.xml'

0.055    

Loading resource 'models/skybox/skybox.scene.xml'

0.056    

Loading resource 'pipelines/globalSettings.material.xml'

0.056    

Loading resource 'models/sphere/sphere.geo'

0.058    

Loading resource 'models/sphere/stones.material.xml'

0.058    

Loading resource 'models/skybox/skybox.geo'

0.058    

Loading resource 'models/skybox/skybox.material.xml'

0.061    

Loading resource 'textures/ambientMap.dds'

0.063    

Loading resource 'shaders/model.shader'

0.064    

Loading resource 'textures/models/layingrock.jpg'

0.107    

Loading resource 'textures/models/layingrockBump.tga'

0.130    

Loading resource 'shaders/skybox.shader'

0.137    

Loading resource 'models/skybox/skybox.dds'

0.141    

Loading resource 'shaders/utilityLib/vertCommon.glsl'

0.141    

---- C O M P I L I N G  . S H A D E R . shaders/skybox.shader@AMBIENT[0] ----

0.151    

Shader resource 'shaders/skybox.shader': ShaderLog: [Linking]

Fragment shader(s) linked, vertex shader(s) linked.
 


0.152    

Loading resource 'shaders/utilityLib/vertSkinning.glsl'

0.152    

---- C O M P I L I N G  . S H A D E R . shaders/model.shader@SHADOWMAP[0] ----

0.166    

Shader resource 'shaders/model.shader': ShaderLog: [Linking]

Fragment shader(s) linked, vertex shader(s) linked.
 


0.167    

Loading resource 'shaders/utilityLib/fragDeferredWrite.glsl'

0.167    

---- C O M P I L I N G  . S H A D E R . shaders/model.shader@ATTRIBPASS[4] ----

0.197    

Shader resource 'shaders/model.shader': ShaderLog: [Linking]

Fragment shader(s) linked, vertex shader(s) linked.
 


0.197    

---- C O M P I L I N G  . S H A D E R . shaders/skybox.shader@ATTRIBPASS[0] ----

0.208    

Shader resource 'shaders/skybox.shader': ShaderLog: [Linking]

Fragment shader(s) linked, vertex shader(s) linked.
 


0.209    

Loading resource 'shaders/utilityLib/fragLighting.glsl'

0.209    

---- C O M P I L I N G  . S H A D E R . shaders/model.shader@LIGHTING[4] ----

0.259    

Shader resource 'shaders/model.shader': ShaderLog: [Linking]

Fragment shader(s) linked, vertex shader(s) linked.
 Validation failed - samplers of different types are bound to the same texture image unit.


0.259    

---- C O M P I L I N G  . S H A D E R . shaders/model.shader@AMBIENT[4] ----

0.289    

Shader resource 'shaders/model.shader': ShaderLog: [Linking]

Fragment shader(s) linked, vertex shader(s) linked.
 Validation failed - samplers of different types are bound to the same texture image unit.




What's wrong?

_________________
\James


Top
 Profile  
Reply with quote  
PostPosted: 02.02.2011, 09:11 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Seems like your problem is somewhere else, there's no error in the log and the sphere.scene.xml seems to be loaded too. Did you already tried to use the debug mode. Maybe the validation error in the shaders is the source for the problems (although I doubt it). Is anything showing on the screen? Or is it completly black? What OS and compiler are you using?


Top
 Profile  
Reply with quote  
PostPosted: 02.02.2011, 20:52 
Offline

Joined: 11.01.2011, 18:36
Posts: 13
Location: England
I'm using windows and I am building it with MinGW gcc/g++ 4.4.1. I am using v 1.0.0beta4 of horde. I have managed to get a skybox to show on the screen but the sphere or the platform (which I tried before) do not show up. My application is built with -g but I do not think this is what you mean. Is debug mode an option you set in horde?

_________________
\James


Top
 Profile  
Reply with quote  
PostPosted: 03.02.2011, 23:52 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Yes you can enable it with F7


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group