POV-Ray : Newsgroups : povray.binaries.images : Jaimes Box of Oranges Server Time
24 Jun 2026 15:57:04 EDT (-0400)
  Jaimes Box of Oranges (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: koppi
Subject: Jaimes Box of Oranges
Date: 23 Jun 2026 11:45:00
Message: <web.6a3aa889aa4e5dbeb4100fef199194f2@news.povray.org>
Hi, the texture in the box of oranges scene is sonehow flipped from right to
left. I want to fix this but do not know how. Can anybody give me a hint how to
flip the logo image_map texture?

#declare m_madera_cajon=
material{
  texture{
    pigment{
      image_map{jpeg "flat_wood_4022164.JPG" interpolate 2}
    }
    normal{
      bump_map{jpeg "flat_wood_4022164.JPG" bump_size 1}
    }
    rotate 90*z
    scale .5
  }
  texture{
    pigment{
      image_map{png "logo" interpolate 2}
    }
  }
}

--
koppi


Post a reply to this message


Attachments:
Download 'bpp-20260623-173652-box-w-oranges-00049.png' (1659 KB)

Preview of image 'bpp-20260623-173652-box-w-oranges-00049.png'
bpp-20260623-173652-box-w-oranges-00049.png


 

From: koppi
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 11:55:00
Message: <web.6a3aabd227d77b1fb4100fef199194f2@news.povray.org>


Post a reply to this message


Attachments:
Download 'logo.png' (70 KB)

Preview of image 'logo.png'
logo.png


 

From: jr
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 12:20:00
Message: <web.6a3ab1b727d77b1f22ad5b506cde94f1@news.povray.org>
hi,

"koppi" <jak### [at] gmailcom> wrote:
> Hi, the texture in the box of oranges scene is sonehow flipped from right to
> left. I want to fix this but do not know how. Can anybody give me a hint how to
> flip the logo image_map texture?

negatively scaling a given axis can often do the trick, eg '<-1,1,1>' to flip X,
unsure about your situation.


regards, jr.


Post a reply to this message

From: koppi
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 13:40:00
Message: <web.6a3ac3e927d77b1fb4100fef199194f2@news.povray.org>
jr,

"jr" <cre### [at] gmailcom> wrote:
> negatively scaling a given axis can often do the trick, eg '<-1,1,1>' to flip X,
> unsure about your situation.

I tried scale <-1,1,1>, and scale <1,-1,1> and scale <1,1,-1>, but that did not
work.


Post a reply to this message

From: koppi
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 13:40:00
Message: <web.6a3ac4c827d77b1fb4100fef199194f2@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> negatively scaling a given axis can often do the trick, eg '<-1,1,1>' to flip X,
> unsure about your situation.

Maybe I need to change the camera settings? - :

// Include file generated by Bullet Physics Playground
// 2026-06-23 19:33:14 by koppi
#declare use_focal_blur = 0; // 0=off 1=low quality 10=high quality

camera {
  location < -47.0793, 40.3916, -2.00584 >
  right - image_width/image_height*x
  look_at <816111, -576540, 37955.3>   angle 66.2759
  sky <0.576982, 0.816757, 0.000449072>
#if(use_focal_blur)
  aperture 0
  blur_samples 10*use_focal_blur
  focal_point <0, 0, 0>   confidence 0.9+(use_focal_blur*0.0085)
  variance 1/(2000*use_focal_blur)
#end
}


Post a reply to this message

From: jr
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 14:20:00
Message: <web.6a3ace3027d77b1f22ad5b506cde94f1@news.povray.org>
hi,

"koppi" <jak### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > negatively scaling a given axis ...
>
> Maybe I need to change the camera settings? - :

please post a zip with scene, logo, etc.  will make time tonight.  tia.


regards, jr.


Post a reply to this message

From: Alain Martel
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 14:36:07
Message: <6a3ad217$1@news.povray.org>
Le 2026-06-23 à 11:42, koppi a écrit :
> Hi, the texture in the box of oranges scene is sonehow flipped from right to
> left. I want to fix this but do not know how. Can anybody give me a hint how to
> flip the logo image_map texture?
> 
> #declare m_madera_cajon=
> material{
>    texture{
>      pigment{
>        image_map{jpeg "flat_wood_4022164.JPG" interpolate 2}
>      }
>      normal{
>        bump_map{jpeg "flat_wood_4022164.JPG" bump_size 1}
>      }
>      rotate 90*z
>      scale .5
>    }
>    texture{
>      pigment{
>        image_map{png "logo" interpolate 2}
>      }
>    }
> }
> 
> --
> koppi
> 
I see 2 easy ways :
1) Change rotate 90*z for rotate -90*z
2) Change image_map{png "logo" interpolate 2} to image_map{png "logo" 
interpolate 2 scale <-1, 1, -1>}


Post a reply to this message

From: Alain Martel
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 14:38:52
Message: <6a3ad2bc$1@news.povray.org>
Le 2026-06-23 à 13:39, koppi a écrit :
> "jr" <cre### [at] gmailcom> wrote:
>> negatively scaling a given axis can often do the trick, eg '<-1,1,1>' to flip X,
>> unsure about your situation.
> 
> Maybe I need to change the camera settings? - :
> 
> // Include file generated by Bullet Physics Playground
> // 2026-06-23 19:33:14 by koppi
> #declare use_focal_blur = 0; // 0=off 1=low quality 10=high quality
> 
> camera {
>    location < -47.0793, 40.3916, -2.00584 >
>    right - image_width/image_height*x
>    look_at <816111, -576540, 37955.3>   angle 66.2759
>    sky <0.576982, 0.816757, 0.000449072>
> #if(use_focal_blur)
>    aperture 0
>    blur_samples 10*use_focal_blur
>    focal_point <0, 0, 0>   confidence 0.9+(use_focal_blur*0.0085)
>    variance 1/(2000*use_focal_blur)
> #end
> }
> 
> 
> 

This line flips the whole image :
right - image_width/image_height*x
Change to :
right image_width/image_height*x


Post a reply to this message

From: koppi
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 14:40:00
Message: <web.6a3ad28e27d77b1fb4100fef199194f2@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> please post a zip with scene, logo, etc.  will make time tonight.  tia.

Ok. Render with "povray +D box-w-oranges.ini +K49 +KFI49 +KFF49 +KI49 +KF49"


Post a reply to this message


Attachments:
Download 'box-w-oranges.zip' (2269 KB)

From: koppi
Subject: Re: Jaimes Box of Oranges
Date: 23 Jun 2026 14:45:00
Message: <web.6a3ad33027d77b1fb4100fef199194f2@news.povray.org>
"koppi" <jak### [at] gmailcom> wrote:
> Ok. Render with "povray +D box-w-oranges.ini +K49 +KFI49 +KFF49 +KI49 +KF49"

Forgot to include 3 files. updated zip.


Post a reply to this message


Attachments:
Download 'box-w-oranges.zip' (472 KB)

Goto Latest 10 Messages Next 1 Messages >>>

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