POV-Ray : Newsgroups : povray.newusers : patterns + White, Black, alpha : patterns + White, Black, alpha Server Time
28 Apr 2024 19:47:32 EDT (-0400)
  patterns + White, Black, alpha  
From: Bald Eagle
Date: 5 Sep 2014 20:55:01
Message: <web.540a5b4f68b280f25e7df57c0@news.povray.org>
I'm trying to muddle through the process of using an image file to create a
3D-ish looking ornate picture frame.

I kinda 'get' that I'll probably have to nest 1 or 2 of these
image/pigment/pattern/map(s) together in order to get this to work, but I'm
getting all twisted up.
I finally figured out how to FILL the border and center of the frame with a
transparent color in Paint.Net, so I have a frame composed of white, black, and
the transparent parts that I don't wish to be visible when rendered.

I haven't done much with these commands, but I've seen that folks reference
their use a lot, so they seem like a powerful tool.

Can someone give me a clue?

height_field {png "Frame2.png" smooth
 translate<-0.5,-0.0,-0.5>
 scale <946, 15, 799>/5
 rotate -x*90

texture {
  image_pattern { png "Frame2.png" once}
  texture_map {
    [0 MyGold]
    [1 pigment { transmit 1 } ]
    }
 }
}


Post a reply to this message

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