|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Greetings, all.
I've got a set of poker chips that I want to model and use in a scene.
They're essentially smooth, but have a small "ring" subtracted from each
face. That's not the hard part - the hard part is figuring out how to
apply the cool contrasting-colored stripes.
Essentially, each chip has two stripes every 120 degrees around the
edge. The two stripes extend from the edge to the small inner groove
(about 25% the radius), and are visible on the edge of the chip as well
as the face. The two stripes are parallel to each other - they do *not*
angle toward the center of the face. The space between the stripes is
as wide as one of the stripes themselves.
How can I best render this color pattern? It seems too simple and
(relatively) easily defined to have to bother with a full-fledged
imagemap. I've been toying with some weird combination of CSG objects
in opposing colors, but can't quite think it through.
I feel like the fact that I can't figure this out points out some gap in
my POV-Ray knowledge - can anyone help?
Thanks in advance,
-Scott
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Scott wrote:
>
> Greetings, all.
>
> I've got a set of poker chips that I want to model and use in a scene.
> They're essentially smooth, but have a small "ring" subtracted from each
> face. That's not the hard part - the hard part is figuring out how to
> apply the cool contrasting-colored stripes.
>
> Essentially, each chip has two stripes every 120 degrees around the
> edge. The two stripes extend from the edge to the small inner groove
> (about 25% the radius), and are visible on the edge of the chip as well
> as the face. The two stripes are parallel to each other - they do *not*
> angle toward the center of the face. The space between the stripes is
> as wide as one of the stripes themselves.
>
> How can I best render this color pattern? It seems too simple and
> (relatively) easily defined to have to bother with a full-fledged
> imagemap. I've been toying with some weird combination of CSG objects
> in opposing colors, but can't quite think it through.
>
> I feel like the fact that I can't figure this out points out some gap in
> my POV-Ray knowledge - can anyone help?
>
> Thanks in advance,
>
> -Scott
I'm posting a small file in povray.text.scene-files called chips.pov
that should answer your question for you. Drop by povray.binaries.images
for a preview to see it that is what you had in mind.
Regards,
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> How can I best render this color pattern? It seems too simple and
> (relatively) easily defined to have to bother with a full-fledged
> imagemap. I've been toying with some weird combination of CSG objects
> in opposing colors, but can't quite think it through.
There are probably a dozen ways to do anything but if the
angling is your problem, put it on a box of chip thinkness then
difference with a cylinder of the right diameter with such
stripes on its curved surface. Without any rotation they should
match up. A couple more difference cylinders of the inner rim
size and you have the CSG shape.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|