How to render Cealum with Ogre HDR ??

spe02001

28-06-2009 11:59:18

How to render Cealum with Ogre HDR ??
The Cealum Can't Display Correctly with My HDR.
The night just dark
The sun and moon Can't Display Correctly.

iNuts

28-06-2009 19:00:57

I've used Caelum with the Ogre HDR example, the thing is compositors can get rather tricky.

1) I have a problem using ANY ogre compositor with ATI cards.. the complete scene stops from being rendered except the compositor at top (I'll post more on this with the correct detail sooner, but I discovered when I got stuck with Caelum Precipitation system.. turns out that Ogre Compositors and ATI (even with all Pixel Shader support and more) gets tricky)

2) I can run it okay, in NVIDA.

3) Notice that, HDR boosts a lot of the scenes light, the first time I used it alongside Caelum (that manages and includes more lights) I got a completely white screen and had to tweak it down. (Try to look also at Caelum components that you are loading and take a look at the Ensure_Lights flag)


Ideas:
- Try to test first the Ogre HDR demo (compositor demo)
- Then insert Caelum in that demo, tweak it until both work correctly.
- Mimic that to your app.


Hope it helps.
I use Mogre (wrapper for Ogre) and CaelumSharp (port of Caelum to the .NET framework) and they work together on every card i have that its not ATI 8)

Vectrex

30-06-2009 13:31:01

I've used Caelum with the Ogre HDR example, the thing is compositors can get rather tricky.

1) I have a problem using ANY ogre compositor with ATI cards.. the complete scene stops from being rendered except the compositor at top (I'll post more on this with the correct detail sooner, but I discovered when I got stuck with Caelum Precipitation system.. turns out that Ogre Compositors and ATI (even with all Pixel Shader support and more) gets tricky)


try setting your vertex shader profiles to use the same as the pixel shader (eg v2.0 and 3.0 to match pixel shaders). I've had this problem before in OGRE which doesn't warn you when they're different.

iNuts

04-07-2009 22:57:33

I'll try it, but I'm pretty sure I've already did it once to try if it was the shader profile.
Thanks for the response :)