Ogre parse Exceptions

Contribute models, textures, concepts and sounds here.

Moderator: PPS-Leaders

Post Reply
User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Ogre parse Exceptions

Post by 1337 » Wed Mar 26, 2008 8:46 pm

Ogre.log reveals that there are 3 Exceptions while parsing the resources.

The first I could fix (added program folder and added 3 files in there since they're used in Examples.program)

The next two are of the same kind. Lines 30 and 50 in Orxonox.material

scene_blend 0.5 0.5 // --> invalid

valid arguments are: add, modulate, alpha_blend, colour_blend
(source: http://www.ogre3d.org/docs/manual/manual_16.html#SEC41)

I would've taken the alpha_blend since that's what's being used else in this file. But what could've possibly been meant with 0.5 0.5 ?
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Wed Mar 26, 2008 9:59 pm

Must be some values or parameters for the blend. From whom is this file anyway? Maybe this is the cause for the problems with the media on some machines.
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Post by 1337 » Wed Mar 26, 2008 10:07 pm

Ogre seems to just 'throw away' such errors, but you never know...

about the author: I have no idea.
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Wed Mar 26, 2008 10:37 pm

According to SVN the file was last changed at r790 and last edited at r661 both times by nico.

The changes on line 30 and 50 have been made at r588 by... me. Great :D.

Surely this is the stuff from Superegg for the HUD. We gotta ask him what this means.
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Post by 1337 » Wed Mar 26, 2008 10:46 pm

We could simply replace it with alpha_blend, or whatever seems to fit...

edit: I replaced the numbers with colour_blend for now.
That at least doesn't trigger any exceptions in Ogre.
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests