POV-Ray : Newsgroups : povray.advanced-users : Shadows on a complex mesh2 object Server Time
23 Nov 2024 22:30:39 EST (-0500)
  Shadows on a complex mesh2 object (Message 1 to 7 of 7)  
From: MadKairon
Subject: Shadows on a complex mesh2 object
Date: 1 Oct 2010 03:30:01
Message: <web.4ca58d64fd89cf9e634b5f100@news.povray.org>
Hello,

I've been having some problems with shadows on a mesh2 obj created on PoseRay
from an .lwo object. The original mesh works fine in Blender, Lightwave and
MeshLab but when I export it as a Mesh2 and render it shadows look hard in
certain areas. Here's the resulting render:

http://www.kungfuzn.com.ar/imagenes/Female_legs_hires_POV_scene.png

I've used a mesh camera type 3 (which rocks) but result is the same for all
camera types so I guess it has something to do with lighting??

Please let me know if theres a way to correct those shadows. THANKS!



Post a reply to this message

From: FlyerX
Subject: Re: Shadows on a complex mesh2 object
Date: 1 Oct 2010 04:04:18
Message: <4ca59602$1@news.povray.org>
On 10/1/2010 2:27 AM, MadKairon wrote:
> Hello,
>
> I've been having some problems with shadows on a mesh2 obj created on PoseRay
> from an .lwo object. The original mesh works fine in Blender, Lightwave and
> MeshLab but when I export it as a Mesh2 and render it shadows look hard in
> certain areas. Here's the resulting render:
>
> http://www.kungfuzn.com.ar/imagenes/Female_legs_hires_POV_scene.png
>
> I've used a mesh camera type 3 (which rocks) but result is the same for all
> camera types so I guess it has something to do with lighting??
>
> Please let me know if theres a way to correct those shadows. THANKS!
>

>
>

I think the normals may have problems. You can recalculate the normals 
in PoseRay's groups tab. Since this is an organic model you may want to 
use a crease angle of 180 deg.

PoseRay reads the normals from the input file even if they are wrong. It 
only automatically calculates them if they are not present.

FlyerX


Post a reply to this message

From: MadKairon
Subject: Re: Shadows on a complex mesh2 object
Date: 1 Oct 2010 04:25:01
Message: <web.4ca59a13da573646634b5f100@news.povray.org>
Thanks FlyerX. I recalculated the normals. It actually improves the final
result. The surface looks better smoothed but the hard shadows are still there.
I've also tried to scale the geometry *100 but the result doesn't vary. I also
ran some test with a 100% reflective surface and the result came out fine.


Post a reply to this message

From: Warp
Subject: Re: Shadows on a complex mesh2 object
Date: 1 Oct 2010 06:14:54
Message: <4ca5b49e@news.povray.org>
Also try:

http://wiki.povray.org/content/Knowledgebase:The_Shadow_Line_Artifact
http://wiki.povray.org/content/Knowledgebase:Smooth_Triangle_Artifact

-- 
                                                          - Warp


Post a reply to this message

From: MadKairon
Subject: Re: Shadows on a complex mesh2 object
Date: 1 Oct 2010 06:30:01
Message: <web.4ca5b7bbda573646634b5f100@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Also try:
>
> http://wiki.povray.org/content/Knowledgebase:The_Shadow_Line_Artifact
> http://wiki.povray.org/content/Knowledgebase:Smooth_Triangle_Artifact
>
> --
>                                                           - Warp

THANKS WARP!!

The first link has an easy solution: make the object shadowless by using
"no_shadow". As I'm just using the mesh camera to bake the mesh surface I really
don't care if it doesn't cast shadows. Actually there's no other objects in my
scene. So this solves it for me!!


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Shadows on a complex mesh2 object
Date: 1 Oct 2010 07:04:23
Message: <4ca5c037$1@news.povray.org>

> The first link has an easy solution: make the object shadowless by using
> "no_shadow". As I'm just using the mesh camera to bake the mesh surface I
> really don't care if it doesn't cast shadows. Actually there's no other
> objects in my scene. So this solves it for me!!

   Actually, this is a very good solution... the only drawback I see is that,
if you are using radiosity, you will get bounces from parts of the scene
that otherwise would have been in the shadow. But you can always use another
instance with the "no_image" flag, I suppose... hmmm, this could be a very
good "general" solution for baking meshes without the "shadow line"
artifact. So, now I've to revise my almost-finished baking tutorial... :)


-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message

From: Jim Holsenback
Subject: Re: Shadows on a complex mesh2 object
Date: 1 Oct 2010 08:47:45
Message: <4ca5d871$1@news.povray.org>
On 10/01/2010 08:04 AM, Jaime Vives Piqueres wrote:
> So, now I've to revise my almost-finished baking tutorial... :)

Is it still your intent to also include your latest in with the
distribution as a sample scene? If so, let me know, and I'll make it happen.

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.