POV-Ray : Newsgroups : povray.newusers : problem with orthographic camera : Re: problem with orthographic camera Server Time
29 Jul 2024 18:18:49 EDT (-0400)
  Re: problem with orthographic camera  
From: Chris B
Date: 8 Jun 2005 04:38:05
Message: <42a6ae6d$1@news.povray.org>
"Zeta777" <neo### [at] caramailcom> wrote in message
news:web.42a69e07995d66a9ec9af3200@news.povray.org...
> Hello,
>
> I'm trying to export data from an opengl application into povray files.
> In fact, I recreate programmatically the objects in a pov files ( the
> objects are simple : only spheres and cylinders ) and then process the
file
> with povray.
>
> To do this , I use an orthographic camera ( the previous programmer used
it
> to design the opengl app ) in order to reproduce the same view as I have
in
> the application.
> But I'm having a few problem with it.
> Notably ervery object of the scene doesn't display itself correctly ( they
> don't appear in fact ).
>
> Although I read something about that problem in the ocumentation (
> http://www.povray.org/documentation/view/3.6.1/247/ ), I still can't
manage
> to display all the objects of the scene.
>
> If you could advise me on how to solve this problem, I would be grateful.
>
> Thanks
>
> Bye
>
>

Hi,

There could be a whole bunch of reasons.

Are you sure the generated code is good?
Have you checked the messages generated by POV-Ray when you run the scene to
see if it complains about anything?
Have you tried with the perspective camera? Do the objects all appear with
that?
Some generators apply random colours to objects. One that I use regularly
uses black, which doesn't show up on a black background, so that usually
needs changing by hand.

Can you say anything about which objects are not being displayed? Could they
be off the edge of the image? Are they too close to the camera i.e. the
wrong side of the look_at point?

If none of this helps, why not post a sample scene file on
'povray.binaries.scene-files'  - maybe trimmed down to show a small set of
objects - a couple that appear as you would expect and one or two that
don't.

Hope that helps,

Chris B.


Post a reply to this message

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