Stencil Shadow graphics error

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
alelink
Halfling
Posts: 54
Joined: Sun May 16, 2004 11:59 am
Location: Italy
Contact:

Stencil Shadow graphics error

Post by alelink »

Hi to all,
I've this problem when enable stencil shadow modulative or additive,
please see the image.

Image

I've enabled debug information...
How can I solve this errors?

I've exported the building model both from maya6.5 and blender...
but the result are the same.

thanks
User avatar
Robomaniac
Hobgoblin
Posts: 508
Joined: Tue Feb 03, 2004 6:39 am

Post by Robomaniac »

Disable debug information, it looks like its rendering the shadow volumes which would classify as debug info
phear hingo

My Webpage
alelink
Halfling
Posts: 54
Joined: Sun May 16, 2004 11:59 am
Location: Italy
Contact:

Post by alelink »

Hello Robomaniac,
I haven't understand...
I show the debug infos to render more visible the shadow's errors.

I must post a pics without the debug infos?


thanks
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia
Contact:

Post by monster »

I think you probably need to explain in a bit more detail what the errors are. And, yeah, post some pictures with debugging off, I can't tell whether there are errors in that image or it just looks weird 'cos of the debugging!

Any errors are probably down to your mesh not being compatible with stencil shadows. It used to have to be manifold, that's no longer strictly true. But it's still got to be more or less manifold, i think.
qsilver
OGRE Community Helper
OGRE Community Helper
Posts: 198
Joined: Sat Oct 02, 2004 9:11 am
Location: San Francisco, California, USA

Post by qsilver »

To the original poster: what video card do you have? It's not by any chance an ATI card, is it? Do you have the latest drivers?
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

The error he is getting is the same that happened with non-manifolded meshes.

Which OGRE version are you using?
Image
alelink
Halfling
Posts: 54
Joined: Sun May 16, 2004 11:59 am
Location: Italy
Contact:

Post by alelink »

Helo to all!

1)I've tryed the shadow on a ATI igp340 64mb and on a GeForceFX 5200 128mb, and the result are the same.

2)I'm on Ogre 1.0

3)this a picture with debug infos turned off:
Image

In maya I've cleanup my mesh, and it don't find non-manifolded parts.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Post by Kencho »

Since OGRE 1.0 non-manifolded meshes shouldn't be a problem. Maybe it's an exporting problem :?
Image
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia
Contact:

Post by monster »

IIRC They don't have to be completely manifold, but they still have to be more or less manifold. I think the shadow building stuff needs to be able to work out the silhouette or something. It's still possible to create meshes that break the stencil shadows if you try hard. Take a look at the helicopter that's in the OgreOde demos for another example!
alelink
Halfling
Posts: 54
Joined: Sun May 16, 2004 11:59 am
Location: Italy
Contact:

Post by alelink »

Hi to all,
thanks for the reply,
I've tryed with other mesh of mine, and I've no problem...

The previus building mesh have some stranges in it...


Thanks again
alelink
Post Reply