POV-Ray : Newsgroups : povray.general : <no subject> Server Time
15 Nov 2025 07:54:40 EST (-0500)
  <no subject> (Message 1 to 6 of 6)  
From: Lourdes
Subject: <no subject>
Date: 12 Nov 2025 06:45:00
Message: <web.69147330c23a6d9145f97e7e6fe6f4e@news.povray.org>
Hello everyone,

I am having clipping image issues with the povray scene I am currently working
on and I would sincerely appreciate the help.

The scene I am working on represents a spacecraft in "space", where the earth
was placed at the center of povrays coordinate system and the sun was at the
corresponding distance in km defined as a single pointlight.

The spacecraft was first modelled in freecad then imported as independent stl
parts to blender where textures were assigned and finally using povray add on,
the pov code defining the different parts as mesh2 was obtained and the
different objects were merged into a single spacecraft one to be capable of
moving it around the scene and place it wherever is wished.

The problem is that when I place the spacecraft on a certain lower orbit and at
a relative distance from the camera of meters, in some cases the object appers
clipped. Here I provide some images examples showing that.

Is not that we are too close, the FOV is enough, and there is no clipping option
defined in the camera, in fact this is how the camera is defined:
camera {

            sky         sky_vector

            right       -(image_width/image_height)*x

            look_at     look

            angle       afov

            location    Cam_pos



}

Maybe it has to do with the meshes and merge of how the spacecraft os defined,
but I tried to check this and I didnt find anything... or maybe the problem is
with the overall scale of the scene??

If anyone has a feeling of what could be happening and knows how to fix it, I
would really appreciate it.


Post a reply to this message


Attachments:
Download 'screenshot_20251112_124351_gmail.jpg' (127 KB)

Preview of image 'screenshot_20251112_124351_gmail.jpg'
screenshot_20251112_124351_gmail.jpg


 

From: Bald Eagle
Subject: Re: <no subject>
Date: 12 Nov 2025 08:10:00
Message: <web.6914860b6f92e85676d02faa25979125@news.povray.org>
If you search the forums, you will likely find that this is due to trying to
model the scene in "realistic units".
(Lookup "Ringworld", for instance)
Also, this ought to still be in the FAQ.

Numbers in a computer can only be so large, and so the numbers themselves "get
clipped" and suffer from floating point accuracy issues.

Scale everything down so that your number are less than maybe 1E9 or so, and I'm
sure that you'll see an improvement.

Welcome.

- BE


Post a reply to this message

From: Bald Eagle
Subject: Re: <no subject>
Date: 12 Nov 2025 08:20:00
Message: <web.6914897e6f92e85676d02faa25979125@news.povray.org>
https://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_24

https://www.infradead.org/~wmp/proj_rings.html


Post a reply to this message

From: Lourdes
Subject: Re: <no subject>
Date: 12 Nov 2025 11:40:00
Message: <web.6914b7426f92e856145f97e7e6fe6f4e@news.povray.org>
"Lourdes" <lou### [at] gmailcom> wrote:
> Hello everyone,
>
> I am having clipping image issues with the povray scene I am currently working
> on and I would sincerely appreciate the help.
>
> The scene I am working on represents a spacecraft in "space", where the earth
> was placed at the center of povrays coordinate system and the sun was at the
> corresponding distance in km defined as a single pointlight.
>
> The spacecraft was first modelled in freecad then imported as independent stl
> parts to blender where textures were assigned and finally using povray add on,
> the pov code defining the different parts as mesh2 was obtained and the
> different objects were merged into a single spacecraft one to be capable of
> moving it around the scene and place it wherever is wished.
>
> The problem is that when I place the spacecraft on a certain lower orbit and at
> a relative distance from the camera of meters, in some cases the object appers
> clipped. Here I provide some images examples showing that.
>
> Is not that we are too close, the FOV is enough, and there is no clipping option
> defined in the camera, in fact this is how the camera is defined:
> camera {
>
>             sky         sky_vector
>
>             right       -(image_width/image_height)*x
>
>             look_at     look
>
>             angle       afov
>
>             location    Cam_pos
>
>
>
> }
>
> Maybe it has to do with the meshes and merge of how the spacecraft os defined,
> but I tried to check this and I didnt find anything... or maybe the problem is
> with the overall scale of the scene??
>
> If anyone has a feeling of what could be happening and knows how to fix it, I
> would really appreciate it.


Just checking if anyone replied...


Post a reply to this message

From: Lourdes
Subject: Re: <no subject>
Date: 12 Nov 2025 11:40:00
Message: <web.6914b7bb6f92e856145f97e7e6fe6f4e@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> https://wiki.povray.org/content/Knowledgebase:Language_Questions_and_Tips#Topic_24
>
> https://www.infradead.org/~wmp/proj_rings.html

Thank you very much for your reply!!


Post a reply to this message

From: Kenneth
Subject: Re: <no subject>
Date: 13 Nov 2025 10:00:00
Message: <web.6915f17b6f92e856e83955656e066e29@news.povray.org>
"Lourdes" <lou### [at] gmailcom> wrote:
>
> I am having clipping image issues with the povray scene I am currently working
> on and I would sincerely appreciate the help.
>

From the appearance of your render examples, it looks like you are using an
orthographic camera(?). Does the clipping of your object still occur if you use
a typical 'perspective' camera instead?

Which version of POV-ray are you running?


Post a reply to this message

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