Advanced compilers for Ogre's scripts

Threads related to Google Summer of Code
User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3

Post by Praetor »

I've now tried CelShading and Compositor demos to check other demos based around shaders. Both work. So, it either has something to do with shadows, something special is happening in that shadow demo's program definitions, or the shadowing system itself in HEAD is going through a hiccup. I'll tried disabling the new compilers and re-running all the demos again. In the mean time, anyone have any input?
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

Just looking at those shots, standard texture shadows is incorrect too, since the Athene model is missing the albedo texture (she's far too smooth looking - there's supposed to be a subtle stoney texture on her). HEAD shadow demo is fine here.

Here's what I would suggest - re-serialise the material using MaterialSerializer and see what it looks like. You might want to do the same from HEAD so that any differences just from the serialization process are normalised out. It will be much easier to compare them side by side that way and pick out what's different about what's parsed in.

My guess is that it's to do with multiple passes or even techniques, since neither CelShading or the compositor shaders use multiple passes.
User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3

Post by Praetor »

When I went back to the old material compiler there were problems with the shadows demo as well. I'll try reserializing from both compilers. Maybe there's something wrong somewhere else.
User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3

Post by Praetor »

After hunting down a small bug in the grammar I have committed a completed (an minimally tested) compositor compiler. It is integrated with the CompositorManager in the same way as the particle and material compilers have been (OGRE_USE_NEW_COMPILERS switch).

I will be running some preliminary performance tests this week. I'll let you all know how that goes and what, if anything, can be done to speed these things up.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2

Post by Kencho »

Cool!

By the way, an off-topic suggestion. As the GSoC has ended, what about moving this thread to another section? (obviously, leaving a shadow thread here) Developer talk maybe?
Image
User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3

Post by Praetor »

That would be fine with me. I'll start a new thread with a link back when I get information from the performance tests.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

Sounds great. As things are starting to settle down more, it's probably time to ask people to try it out in more varied platforms / compilers too.