POV-Ray : Newsgroups : povray.general : Strange cuts on rendered objects : Re: Strange cuts on rendered objects Server Time
25 Apr 2024 10:01:59 EDT (-0400)
  Re: Strange cuts on rendered objects  
From: Francescodario Cuzzocrea
Date: 4 Feb 2020 04:15:00
Message: <web.5e3935266f77a7a5c30604810@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 03/02/2020 om 19:24 schreef Bald Eagle:
> >
> >
> > "Francescodario Cuzzocrea" <fra### [at] mailpolimiit> wrote:
> >
> >> Specifically, I'm using POVRay to generate images of a spacecraft in random
> >> position into a generic orbit, which subsequently I'll analyze with different
> >> computer vision algorithms to try to recognize the spacecraft into the scene.
> >
> > Sounds very cool - what computer vision algorithms are you using?
> > And welcome to the forum.  :)
> >
> >> Here two pictures of the problem :
> >>   - https://gitlab.com/bosconovic/spacacecraft-pov/blob/master/tango_102.png
> >>   - https://gitlab.com/bosconovic/spacacecraft-pov/blob/master/tango_30.png
> >>
> >> In the first one almost half of the spacecraft is cutted, in the second on the
> >> left a piece of the solar panel is cutted.
> >>
> >> Can anyone help me out to understand what I'm doing wrong ?
> >
> > Without seeing the code for your scene --- it could be almost anything.
> >
> > With that said, if I had to simply guess, I'd say that maybe what you're seeing
> > is a hard shadow from something, if you have other objects in your scene.
> > Adding finish {diffuse 0.5} and maybe adding a white sky_sphere to your scene
> > would help you determine if you're just not reflecting any light from occluded
> > surfaces.
> >
> >
> > - Bill
> >
>
> I tested the scene a bit (not extensively, alas) and I also guess that
> there is a hard shadow, possibly Earth? In tango_102 you translate your
> light_source quite a bit along the x-axis! Does it get partly /behind/
> the Earth?
>
> --
> Thomas

Hi Thomas, thank you for taking your time to poke with my scene !!!

The light source is translated by (more or less) the "true" distance between the
Earth and the Sun.
Said that, I also was guessing that the spacecraft could be partly behind the
Earth before and I tried removing the Earth from the scene as well as nearing
the light source to the object (for istance I putted 1.4723e2) and moving the
light source also along y and z, but none of those worked unfortunately :(

This weird rendering issue was also happening when I was using point lights.
It is very strange because if the object is right front of the camera and the
camera is pointing at the object itself then the object should be rendered in
its entirety :(


Post a reply to this message

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