|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The include file "screen.inc" can't cope whith a scene (such as some
exported LDraw scenes) where the "right" vector of the camera is
negative. For instance, I'm not sure why, but the program LDView always
outputs the right vector as:
right LDXCamAspect * < -1,0,0 >
The resulting image ends up flipped horizontally compared to what it's
supposed to be.
Michael
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Horvath <mik### [at] gmailcom> wrote:
> The include file "screen.inc" can't cope whith a scene (such as some
> exported LDraw scenes) where the "right" vector of the camera is
> negative. For instance, I'm not sure why, but the program LDView always
> outputs the right vector as:
>
> right LDXCamAspect * < -1,0,0 >
>
> The resulting image ends up flipped horizontally compared to what it's
> supposed to be.
>
> Michael
It's been a while since I've picked through the code of that, but:
Might the solution be as simple as taking all of the screen.inc output (union {}
)
and scaling it <-1, 1, 1> ?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 6/20/2019 6:46 PM, Bald Eagle wrote:
> It's been a while since I've picked through the code of that, but:
>
> Might the solution be as simple as taking all of the screen.inc output (union {}
> )
> and scaling it <-1, 1, 1> ?
>
>
>
Can the camera itself scale by some value? Thanks for the tip.
Michael
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Horvath <mik### [at] gmailcom> wrote:
> Can the camera itself scale by some value? Thanks for the tip.
I'm guessing ... yes?
http://news.povray.org/povray.advanced-users/thread/%3C5a7f9271%241%40news.povray.org%3E/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 6/20/2019 9:16 PM, Bald Eagle wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>
>> Can the camera itself scale by some value? Thanks for the tip.
>
> I'm guessing ... yes?
>
>
http://news.povray.org/povray.advanced-users/thread/%3C5a7f9271%241%40news.povray.org%3E/
>
I tried `scale <-1,1,1>` but it had the incorrect effect. It flipped the
coordinate axes, not the actual image like what should happen.
Michael
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 6/20/2019 9:16 PM, Bald Eagle wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>
>> Can the camera itself scale by some value? Thanks for the tip.
>
> I'm guessing ... yes?
>
>
http://news.povray.org/povray.advanced-users/thread/%3C5a7f9271%241%40news.povray.org%3E/
>
>
>
>
>
I also tried setting the aspect ratio to a negative value.
Set_Camera_Aspect(-4,3)
This flips the image correctly, but the text disappears. You can confirm
this in the demo scene.
Michael
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Sorry, I will post an example scene later in the day when I get the chance.
Michael
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |