ogre

Ogre material scripts; how do I give a technique multiple lod_indexes?

I have an Ogre material script that defines 4 rendering techniques. 1 using GLSL shaders, then 3 others that just use textures of different resolutions. I want to use the GLSL shader unconditionally if the graphics card supports it, and the other 3 textures depending on camera distance. At the moment my script is; material foo { lod_...

I need help with this ogre dependent header (Qgears)

I'm 2 errors away from compiling Qgears. (Hacked Version of the Final Fantasy VII Engine) I've messed with the preprocessors to load the actual location of the ogre header files. Here are the errors: ||=== qgears, Debug ===| /home/cj/Desktop/qgears/trunk/project/linux/src/core/TextManager.h|48|error: invalid use of ‘::’| /home/cj/Desk...

Integrating OGRE 1.7 in Qt

...

How to get a windowless application in Ogre?

Hello, I'm trying to create a windowless Ogre application, but it seems that the method RenderWindow::setVisible(false) is completely ignored by the application. Is there a way to accomplish that? Thank you Tommaso ...

HLSL How can one pass data between shaders / read existing colour value?

Hello all, I have 2 HLSL ps2.0 shaders. Simplified, they are: Shader 1 Reads texture Outputs colour value based on this texture Shader 2 Problem: Need to read in the colour from Shader 1 Outputs the final colour which is a function of the input colour (They need to be different shaders as I've reached the maximum vertex-shader ...

How to build a sample Ogre / Xcode template for iphone??

Hi I have installed Ogre 1.7 , Copied iphone dependencies and the project is running in simulator with around 25 sample projects. I need to build a template with only one sample example. Can you please guide me to do so... ...