I do not know if this is a papercut but i dropped cg support on my side and saw now that many Compositor programs are not available in hlsl (we can reuse the *.cg files maybe rename it to *.cg_hlsl) its just a matter of adding the *_program defs.
So could this be a papercut too?
Compositor programs
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
-
- OGRE Retired Team Member
- Posts: 2903
- Joined: Thu Jan 18, 2007 2:48 pm
- x 58
Re: Compositor programs
You mean the compositors from the sample?
This is not exactly what I had in mind with a papercut, but perhaps it is one What exactly is your goal? That the Ogre SampleBrowser and the samples should work without the Cg plugin? Or that you could reuse the compositors for your own non-cg project? The former could be a worthwhile change, although it's a little time-consuming
This is not exactly what I had in mind with a papercut, but perhaps it is one What exactly is your goal? That the Ogre SampleBrowser and the samples should work without the Cg plugin? Or that you could reuse the compositors for your own non-cg project? The former could be a worthwhile change, although it's a little time-consuming
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
Re: Compositor programs
I just looked at the compositor again to recreate (i tried at least) a bug but i encountered that the scripts are unorganized and missing hlsl support at all.
If we restructure some materials(+shaders) and clean them (remove dead code..he we have a DVCS so we dont loose dead beef) it would be easier to reuse them in their own projects (if thats something OGRE would aim) as a base.
Something like that:
/Compositor/Base -- which contains the base vertex programs
/Compositor/Bloom -- which contains the effects (one folder for an effect)
...
..
and so on.
So it is easier to extract a desired effect.
Is this something the community is interested in?
If we restructure some materials(+shaders) and clean them (remove dead code..he we have a DVCS so we dont loose dead beef) it would be easier to reuse them in their own projects (if thats something OGRE would aim) as a base.
Something like that:
/Compositor/Base -- which contains the base vertex programs
/Compositor/Bloom -- which contains the effects (one folder for an effect)
...
..
and so on.
So it is easier to extract a desired effect.
Is this something the community is interested in?
-
- Halfling
- Posts: 81
- Joined: Wed Jan 05, 2011 2:57 pm
- x 1
Re: Compositor programs
In the existing samples (or maybe just in your head ) do you have a list of the effects like Bloom that could be supported "out of the box"? I'd be interested in things like Bloom, Border, Sepia, Reflection (not sure if this can be done via an effect).
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
Re: Compositor programs
Bloom and other effects are already supported in ogre i just meant to restructure it (folder wise) so that new users canextract the effects which the want to use.