POV-Ray : Newsgroups : povray.newusers : Stripes on a poker chip Server Time
14 Nov 2024 08:21:03 EST (-0500)
  Stripes on a poker chip (Message 1 to 3 of 3)  
From: Scott
Subject: Stripes on a poker chip
Date: 23 Feb 1999 18:22:53
Message: <36D3376F.52DDCF31@yahoo.com>
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

From: Ken
Subject: Re: Stripes on a poker chip
Date: 25 Feb 1999 07:27:06
Message: <36D54110.8DD6B794@pacbell.net>
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

From: Matt Giuer
Subject: Re: Stripes on a poker chip
Date: 27 Feb 1999 20:45:44
Message: <36D8CA74.982A923A@ij.net>
> 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

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