POV-Ray : Newsgroups : povray.newusers : image_map > solid object : image_map > solid object Server Time
15 Jul 2024 07:41:12 EDT (-0400)
  image_map > solid object  
From: Paul
Date: 3 May 2016 07:55:00
Message: <web.5728916fbf15e33d7b8901bc0@news.povray.org>
I have a simple box with image_map pigment, transparent PNG.

#include "colors.inc"

light_source { <0,0,-200> White*1.5 shadowless }

camera { location <0,0,-35> look_at <0,0,0>  }

box {   <0, 0, 0>  < 50,  50,  10 >
    texture {pigment {
image_map
{
  png "logo2.png"
  once } } }

scale <30, 20, 1>
translate <-15,-10,0>
rotate <0,45,0>  }


The result image looks like 2 very thin sheets, just surfaces (left side, see
attachment below).
I need a solid object, the 2 surfaces joined - the transparent yellow things on
the right side.
Of course, the "joining" part should be same color (green, red) and not
transparent - that is just for demonstration purposes.

Transparent PNG: https://www.dropbox.com/s/mbsuv2ti1x9g6f6/logo2.png?dl=0
Images: https://www.dropbox.com/s/jysf8dtzcfwnqul/Image2.jpg?dl=0


Post a reply to this message

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