Stencil Shadow with open mesh?

Posted By: Espér

Stencil Shadow with open mesh? - 01/16/10 00:24

Hi..

I´ve a little problem. I got a Link 3DS model (Zelda) from a friend. But the Model has 356 Open Meshs. That´s becaue everything is made as single part.

Now i need stencil Shadow in the project.. but with open meshs, it looks aweful...

Any way to fix that (without remodeling everything)?


Edit: tried with Unitx3D and it worked.. what´s with A7?
Posted By: Lion_Ts

Re: Stencil Shadow with open mesh? - 01/17/10 10:55

from the manual:
Quote:
Stencil shadows require models consisting of closed meshes. The meshes must have no holes, and no polygons must intersect each other or touch each other with their flat side. Otherwise rendering errors (dark lines projecting from the model to the shadow) can be visible. In a closed mesh, every edge is shared by exactly two triangles. If the model's mesh is not closed, create a closed mesh LOD model or shadow model for shadow casting. The MED mesh tester can be used for determining whether a mesh is closed or not.

I think, you have two choices:
- close the meshes
- try other shadowing technique (decal shadow, for example)
Posted By: FBL

Re: Stencil Shadow with open mesh? - 01/17/10 10:56

Can't you just select the whole mesh and merge the vertices using MED?
Posted By: alibaba

Re: Stencil Shadow with open mesh? - 01/17/10 11:03

no, then it will merge all vertices to one vertice
Posted By: Quad

Re: Stencil Shadow with open mesh? - 01/17/10 11:20

@ali,
that is weld, not merge.
Posted By: Espér

Re: Stencil Shadow with open mesh? - 01/17/10 13:38

i can´t, becasue some of the vertexes overlap with merging.. and than the skinning is destroyd ^^ ( tried it with link and Tail )
Posted By: Redeemer

Re: Stencil Shadow with open mesh? - 01/17/10 14:20

If you can't close the mesh up, then you have no choice but to use a different kind of shadow, like a z-buffer shadow or a decal.
Posted By: Cowabanga

Re: Stencil Shadow with open mesh? - 01/17/10 15:16

When I export my model to 3DS, the mesh gets opened. But, when I export the model to FBX, the mesh is just fine. Then, simply export to FBX.
Posted By: Espér

Re: Stencil Shadow with open mesh? - 01/17/10 16:10

tried fbx too.
still open
Posted By: darkinferno

Re: Stencil Shadow with open mesh? - 01/17/10 16:26

well you could use a low poly closed mesh as an LOD and let that draw the shadows, would have to have the same anims though... not sure how it'd work but it should
Posted By: Helghast

Re: Stencil Shadow with open mesh? - 01/18/10 08:37

duplicate the model, invert poly's, merge polygons together... doubles the poly's, but closes your mesh laugh
Posted By: jcl

Re: Stencil Shadow with open mesh? - 01/18/10 11:07

First check why your model has so many open meshes. It is unusual for professional models to have open meshes.

If its meshes are really broken and can't be fixed, create LOD models. With the Pro Edition, MED does this automatically, with lower editions you have to create such a model manually. Make sure that the meshes of the LOD models are closed.
© 2023 lite-C Forums