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

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Post a reply to this message
Attachments:
Download 'logo.png' (70 KB)
Preview of image 'logo.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"koppi" <jak### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
jr,
"jr" <cre### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"koppi" <jak### [at] gmail com> wrote:
> "jr" <cre### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 2026-06-23 à 13:39, koppi a écrit :
> "jr" <cre### [at] gmail com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> 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)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"koppi" <jak### [at] gmail com> 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)
|
 |
|  |
|  |
|
 |
|
 |
|  |