POV-Ray : Newsgroups : povray.newusers : Povray and Blender Server Time
29 Jul 2024 02:34:34 EDT (-0400)
  Povray and Blender (Message 11 to 20 of 21)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 1 Messages >>>
From: pdg
Subject: Re: Povray and Blender
Date: 16 Jul 2007 03:45:01
Message: <web.469b21e3dedc19f1ed639e290@news.povray.org>
"Tim Attwood" <tim### [at] comcastnet> wrote:
> The faces are inverted, normals pointing inward,
> they should point outward.

hmmm. i've tried to swap the normals, but the black area remains.


Post a reply to this message

From: Grassblade
Subject: Re: Povray and Blender
Date: 16 Jul 2007 04:00:02
Message: <web.469b248cdedc19f1d79c3b620@news.povray.org>
IMO you hit the shadow line artifact:
http://www.povray.org/documentation/view/3.6.1/193/

If you subdivide your mesh the shadow line artifact should move further out
and occur in a deeper grey area, but you won't get rid of it.


Post a reply to this message

From: Warp
Subject: Re: Povray and Blender
Date: 16 Jul 2007 06:07:43
Message: <469b436f@news.povray.org>
PdG <pdg### [at] intermerdagmailcom> wrote:
> the first has an ireealistic black zone, the second has a smoot gradient
> from light to dark, and if i use a cylinder statement instead of the mesh,
> pov renders it like blender.

  I still see no difference in the images.

  Anyways, just out of curiosity, what happens if you speficy "no_shadow"
in the mesh when you render it with povray?

-- 
                                                          - Warp


Post a reply to this message

From: PdG
Subject: Re: Povray and Blender
Date: 16 Jul 2007 13:33:00
Message: <15x0c9dj6nzxn.a2l0jfxdd7os$.dlg@40tude.net>
Il 16 Jul 2007 06:07:43 -0400, Warp ha scritto:

> PdG <pdg### [at] intermerdagmailcom> wrote:
>> the first has an ireealistic black zone, the second has a smoot gradient
>> from light to dark, and if i use a cylinder statement instead of the mesh,
>> pov renders it like blender.
> 
>   I still see no difference in the images.

i think you've some problem with the contrast on your monitor :)
 
>   Anyways, just out of curiosity, what happens if you speficy "no_shadow"
> in the mesh when you render it with povray?

i'll try, but i think it's the same: there's no other object in the scene,
so there's nothing that could make shadows over the cylinder.


Post a reply to this message

From: Warp
Subject: Re: Povray and Blender
Date: 16 Jul 2007 15:08:08
Message: <469bc217@news.povray.org>
PdG <pdg### [at] intermerdagmailcom> wrote:
> >   Anyways, just out of curiosity, what happens if you speficy "no_shadow"
> > in the mesh when you render it with povray?

> i'll try, but i think it's the same: there's no other object in the scene,
> so there's nothing that could make shadows over the cylinder.

  Yes, there is: The cylinder itself.

-- 
                                                          - Warp


Post a reply to this message

From: Tim Attwood
Subject: Re: Povray and Blender
Date: 16 Jul 2007 16:59:51
Message: <469bdc47$1@news.povray.org>
Blender isn't my prefered tool...
I think you need to tell it to export
the normals and to calculate them at
high quality in the export dialog.
(Blender ignores normals by default)


Post a reply to this message

From: nemesis
Subject: Re: Povray and Blender
Date: 18 Jul 2007 10:05:02
Message: <web.469e1d6adedc19f138a7d1420@news.povray.org>
PdG <pdg### [at] INTERMERDAgmailcom> wrote:
> if i use a cylinder statement instead of the mesh,

good thing you've seen the light! :)

really, is there any reason for using a gigantic mesh to represent a
cylinder when the builtin pov cylinder is much more reasonable and better
looking?


Post a reply to this message

From: PdG
Subject: Re: Povray and Blender
Date: 18 Jul 2007 14:26:07
Message: <qzp8qbe7lzdi.8cx4hsuww0w6.dlg@40tude.net>
Il Wed, 18 Jul 2007 10:02:18 EDT, nemesis ha scritto:

> PdG <pdg### [at] INTERMERDAgmailcom> wrote:
>> if i use a cylinder statement instead of the mesh,
> 
> good thing you've seen the light! :)
> 
> really, is there any reason for using a gigantic mesh to represent a
> cylinder when the builtin pov cylinder is much more reasonable and better
> looking?

the cylinder is only an example, i wonder if the cylinder makes all these
problems, a more complex mesh could have more?


Post a reply to this message

From: Warp
Subject: Re: Povray and Blender
Date: 18 Jul 2007 15:03:11
Message: <469e63ef@news.povray.org>
PdG <pdg### [at] intermerdagmailcom> wrote:
> >   Anyways, just out of curiosity, what happens if you speficy "no_shadow"
> > in the mesh when you render it with povray?

> i'll try

  So what happened?

-- 
                                                          - Warp


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Povray and Blender
Date: 18 Jul 2007 16:30:02
Message: <web.469e7741dedc19f1c150d4c10@news.povray.org>
PdG <pdg### [at] INTERMERDAgmailcom> wrote:
> I'm going mad!
> I want to use blender to model some mesh, and then render it using pov.
> Now i've tried to export it using wavefront, using povanim, using a lot of
> tools but every time i get awful results, especially with the normals.
>
> For example: consider a cylinder. I've made it in blender, i've smoothed,
> and render it. It goes well.
> Now, every exports i made, the results is like this:
>
> http://img370.imageshack.us/img370/6343/mainfg4.jpg
>
> Something is a little better, something not, anyway there's always an ugly
> black area away from the light source.
>
> Any Idea? How can i use shaded mesh from blender to pov?
>
> Thanks.

I've had a look at this and deconstructed the mesh.
First of all, the normals all point inward, which isn't such a big deal, as
they all point inward, not just some.

What is causing your problem though is the normals for the sides are not
normal to the cylinder, they are oriented as if there is a smooth
transition from the sides to the cap instead of being a sharp edge.  This
causes POV to treat the mesh as being curved more like a sphere and shades
it as such.  I don't use Blender, so I don't know how exporting works, but
you need to limit the angle at which the normals are smoothed for, so the
side meshes are smoothed around the cylinder, but not up and down the
cylinder.

-tgq


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 1 Messages >>>

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