 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Lourdes" <lou### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bald Eagle" <cre### [at] netscape net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |