POV-Ray : Newsgroups : povray.general : Req: Candy Cane Server Time
17 Oct 2026 13:32:35 EDT (-0400)
  Req: Candy Cane (Message 1 to 21 of 21)  
From: Ken
Subject: Req: Candy Cane
Date: 25 Jun 1999 15:55:27
Message: <3773DF05.DF3FF07D@pacbell.net>
Hi ?

  Does anyone have a stripped candy cane they could share with me. I
can model the thing all right but getting the stripe to wrap around the
bend properly is giving me epileptic fits. I prefer a non patch solution
for this if at all possible.

Thank you in advance for any help you may have to offer.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Ron Parker
Subject: Re: Req: Candy Cane
Date: 25 Jun 1999 17:47:29
Message: <3773f8f1@news.povray.org>
On Fri, 25 Jun 1999 12:56:53 -0700, Ken wrote:
>
>Hi ?
>
>  Does anyone have a stripped candy cane they could share with me. I
>can model the thing all right but getting the stripe to wrap around the
>bend properly is giving me epileptic fits. I prefer a non patch solution
>for this if at all possible.

That sounds difficult.  You might find it easier to write a script
to generate the stripe as a mesh that's just slightly larger than 
a white candy-cane object.  Or of course you can see if the Object
Bender does what you need.


Post a reply to this message

From: Ken
Subject: Re: Req: Candy Cane
Date: 25 Jun 1999 18:19:06
Message: <377400AF.814E9A8B@pacbell.net>
Ron Parker wrote:
> 
> On Fri, 25 Jun 1999 12:56:53 -0700, Ken wrote:
> >
> >Hi ?
> >
> >  Does anyone have a stripped candy cane they could share with me. I
> >can model the thing all right but getting the stripe to wrap around the
> >bend properly is giving me epileptic fits. I prefer a non patch solution
> >for this if at all possible.
> 
> That sounds difficult.  You might find it easier to write a script
> to generate the stripe as a mesh that's just slightly larger than
> a white candy-cane object.  Or of course you can see if the Object
> Bender does what you need.

 Unfortunatly I am not too adept at writing triangle construction scripts
so that rules out that option. The object bender is still an option I
have not overlooked but would like to avoid this too as I plan to create
possibly hundreds of duplicates and the parse time MAY be unnaceptable.
I have no experience with that particular inc file but have heard that
it is prohibitavly slow if the radius of the bend is excessive. A candy
can has a bend that exceeds 180 degrees which borders on excessive.
-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Bob
Subject: Re: Req: Candy Cane
Date: 26 Jun 1999 02:31:58
Message: <377473D5.D911D700@aol.com>
Sounds like a job for some sort of twisting on a torus slice unioned with the usual
cylinder and candy cane stripe texture (duh). Haven't done it myself. There's
Spiralizer
here:
 http://www.armanisoft.ch/webdesign/default.htm
Just not sure of it's use for this particular purpose (makes 3D models not textures).
I couldn't find one of the many twisting spiral includes among my several links here
but
maybe theres a way to apply such a thing if you can locate one or if someone knows of
the whereabouts and can lead you to something, plus it seems the more plausible
alternative too. 
Actually best of all would simply be a 'image_map' with 'map_type 5' applied to the
torus slice (wide red and white diagonal lines). Leave it to me to think of the best
solution last.


Ken wrote:
> 
> > >  Does anyone have a stripped candy cane they could share with me. I
> > >can model the thing all right but getting the stripe to wrap around the
> > >bend properly is giving me epileptic fits. I prefer a non patch solution
> > >for this if at all possible.
> >

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto://inversez@aol.com?Subject=PoV-News


Post a reply to this message

From: Chris Huff
Subject: Re: Req: Candy Cane
Date: 26 Jun 1999 06:44:37
Message: <3774B015.24EE7734@compuserve.com>
I have posted a candy cane model in the text scene files newsgroup.


Post a reply to this message

From: Chris Huff
Subject: Re: Req: Candy Cane
Date: 26 Jun 1999 06:46:47
Message: <3774B098.9F1A5DC4@compuserve.com>
Grr, I can't get it to post. I seem to be having a problem with long
messages. I will e-mail it to you.


Post a reply to this message

From: Ken
Subject: Re: Req: Candy Cane
Date: 26 Jun 1999 07:09:38
Message: <3774B54A.98096571@pacbell.net>
Chris Huff wrote:
> 
> Grr, I can't get it to post. I seem to be having a problem with long
> messages. I will e-mail it to you.

 Thank you very much !

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Lance Birch
Subject: Re: Candy Cane
Date: 26 Jun 1999 11:01:44
Message: <3774eb58@news.povray.org>
> Does anyone have a stripped candy cane they could share with me.

I would, but I've already licked it...

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
For a totally different experience, visit my Chroma Key Website:
Colorblind - http://listen.to/colorblind


Post a reply to this message

From: Ron Parker
Subject: Re: Req: Candy Cane
Date: 26 Jun 1999 21:26:10
Message: <37787ded.755887246@news.povray.org>
Kinda on this same topic... 

It sure would be nice if there were a spiral pattern that varied angle
only with y.  That is to say, one like spiral1 but with a
cross-section that looks like radial.  Am I alone in thinking this?


Post a reply to this message

From: Ron Parker
Subject: Re: Candy Cane
Date: 26 Jun 1999 21:27:08
Message: <37797e51.755988064@news.povray.org>
On Sun, 27 Jun 1999 00:56:46 +1000, "Lance Birch"
<lan### [at] usanet> wrote:

>> Does anyone have a stripped candy cane they could share with me.
>
>I would, but I've already licked it...

That's perfect.  He wanted a stripped one anyway.  Now if he wanted a
striped one, then you might have cause to be concerned.


Post a reply to this message

From: Ken
Subject: Re: Req: Candy Cane
Date: 26 Jun 1999 22:30:17
Message: <37758D02.7A4DA57F@pacbell.net>
Ron Parker wrote:
> 
> Kinda on this same topic...
> 
> It sure would be nice if there were a spiral pattern that varied angle
> only with y.  That is to say, one like spiral1 but with a
> cross-section that looks like radial.  Am I alone in thinking this?

I have wished this...

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Bob
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 01:36:43
Message: <3775B854.35D94E55@aol.com>
Yes, you are definately not alone in that.

Ken wrote:
> 
> Ron Parker wrote:
> >
> > Kinda on this same topic...
> >
> > It sure would be nice if there were a spiral pattern that varied angle
> > only with y.  That is to say, one like spiral1 but with a
> > cross-section that looks like radial.  Am I alone in thinking this?
> 
> I have wished this...
> 
> --
> Ken Tyler
> 
> mailto://tylereng@pacbell.net

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto://inversez@aol.com?Subject=PoV-News


Post a reply to this message

From: Peter Popov
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 02:40:26
Message: <3776d4a6.35202615@204.213.191.228>
On Sun, 27 Jun 1999 01:28:34 GMT, par### [at] fwicom (Ron Parker) wrote:

>
>Kinda on this same topic... 
>
>It sure would be nice if there were a spiral pattern that varied angle
>only with y.  That is to say, one like spiral1 but with a
>cross-section that looks like radial.  Am I alone in thinking this?

This one is easily faked with a) a pigment_map b) dejong box effect
but these solutions are slow. I have needed this, too, in fact my
twister.inc was born to suit my need for this pattern. If there was
such a pattern then I could render that H.E.Day toothpaste that people
dream about drinking after downloading it from this server (he he he™)


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Lance Birch
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 02:42:56
Message: <3775c7f0@news.povray.org>
> (he he he™)

HEY!!!  ;-)

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
For a totally different experience, visit my Chroma Key Website:
Colorblind - http://listen.to/colorblind


Post a reply to this message

From: Peter Popov
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 03:04:17
Message: <3775daaf.36747459@204.213.191.228>
On Sun, 27 Jun 1999 16:37:51 +1000, "Lance Birch"
<lan### [at] usanet> wrote:

>> (he he he™)
>
>HEY!!!  ;-)

he he he™ is an (yet) unregistered non-trade mark of Lance Birch.
He even has it stamped on his forehead :)

Lance, if you dare deny I'll show you a pic (with two more rings :) )


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Lance Birch
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 03:11:54
Message: <3775ceba@news.povray.org>
>Lance, if you dare deny I'll show you a pic (with two more rings :) )

he he he™

Go ahead, I'd love to see where you'd put them :)  Lucky you've only got my
head!  LOL

(for anyone else read this, it may sound very confusing)

--
Lance.


---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
For a totally different experience, visit my Chroma Key Website:
Colorblind - http://listen.to/colorblind


Post a reply to this message

From: David Wilkinson
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 19:59:12
Message: <3779ba99.48947019@news.povray.org>
On Fri, 25 Jun 1999 12:56:53 -0700, Ken <tyl### [at] pacbellnet> wrote:

>  Does anyone have a stripped candy cane they could share with me. I
>can model the thing all right but getting the stripe to wrap around the
>bend properly is giving me epileptic fits. I prefer a non patch solution
>for this if at all possible.

Ken, I know this is a bit late but I have posted KandyCane.jpg in
povray.binaries.images and the source in povray.text.scene-files.  It uses the
Striscia macros developed by Daniele Varrazzo. It's a bit different to Chris
Huff's solution. Hope you like it.
David
------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
------------


Post a reply to this message

From: Ken
Subject: Re: Req: Candy Cane
Date: 27 Jun 1999 20:07:57
Message: <3776BCFA.92FF8FE@pacbell.net>
David Wilkinson wrote:
> 
> On Fri, 25 Jun 1999 12:56:53 -0700, Ken <tyl### [at] pacbellnet> wrote:
> 
> >  Does anyone have a stripped candy cane they could share with me. I
> >can model the thing all right but getting the stripe to wrap around the
> >bend properly is giving me epileptic fits. I prefer a non patch solution
> >for this if at all possible.
> 
> Ken, I know this is a bit late but I have posted KandyCane.jpg in
> povray.binaries.images and the source in povray.text.scene-files.  It uses the
> Striscia macros developed by Daniele Varrazzo. It's a bit different to Chris
> Huff's solution. Hope you like it.
> David
> ------------
> dav### [at] cwcomnet
> http://www.hamiltonite.mcmail.com
> ------------

  Thank you David I will check it out.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Matt Giwer
Subject: Re: Req: Candy Cane
Date: 28 Jun 1999 15:21:30
Message: <3777CB41.1F2054F8@giwersworld.org>
Ken wrote:
> 
> Hi ?
> 
>   Does anyone have a stripped candy cane they could share with me. I
> can model the thing all right but getting the stripe to wrap around the
> bend properly is giving me epileptic fits. I prefer a non patch solution
> for this if at all possible.
> 
> Thank you in advance for any help you may have to offer.

	If you map the colors instead of letting them be the spectrum
colors something like this should work. See the COMMENT!!! in the
file. 
The result is the first equation image on the page at the end.

// Persistence of Vision Ray Tracer Scene Description File
// File: ?.pov
// Vers: 3.1
// Desc: Basic Scene Example
// Date: mm/dd/yy
// Auth: ?[esp]
//

#version 3.1

#include "colors.inc"

global_settings
{
  assumed_gamma 2.2
}

// ----------------------------------------
camera
{
  location  <0.0, 9, -9.0>*3
  direction 1.5*z
  right     4/3*x
  look_at   <0.0, 0.0,  0.0>
}
/*
sky_sphere
{
  pigment
  {
    gradient y
    color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
  }
} */

light_source
{
  0*x // light's position (translated below)
  color red .50  green .50  blue 0.50  // light's color
  translate <-30, 30, -30>
}

light_source
{
  0*x // light's position (translated below)
  color red .50  green .50  blue .50  // light's color
  translate <30, 30, -30>
}

// ----------------------------------------
//plane { y, -1 pigment {color rgb <0.7,0.5,0.3>}}

//sphere { 0.0, 1 texture {pigment {radial frequency 8}
finish{specular 1}} }

  
#declare  tortor =union {
#local count1 = 0 ;
#local maximum =1500;
//#declare count = 1;
#while (count1 < maximum)    
   
//box 
torus
//superellipsoid {<0.8,0.2>
{  0.8, 0.2
  texture {pigment {radial frequency count1/100} /* COMMENT!!!
play with this line first */ 
   finish{specular 1}
  rotate y*count1*(360/maximum) }
   //interior {ior 1.8}   
  rotate x*count1*360/maximum/5 
  translate <count1*360/maximum/25,0,0>
  translate
<sin(2*pi*count1/maximum)/cos(2*pi*count1/maximum),0,0>
  rotate y*count1*(360/maximum)
}
                   
#declare count1 = count1 +.5;
#end
                  
}//end union  

tortor


-- 
<blink>------------------------------------</blink>

http://www.giwersworld.org/artsii/

Finally up on 99/06/22


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Steve
Subject: Re: Req: Candy Cane
Date: 30 Jun 1999 13:30:06
Message: <377A5575.C6AF90B3@puzzlecraft.com>
Ken,

You might try using Twist and Bend includes, both of them are at Chris
Colefax's site.

steve

Ken wrote:

> Hi ?
>
>   Does anyone have a stripped candy cane they could share with me. I
> can model the thing all right but getting the stripe to wrap around the
> bend properly is giving me epileptic fits. I prefer a non patch solution
> for this if at all possible.
>
> Thank you in advance for any help you may have to offer.
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Steve
Subject: Re: Req: Candy Cane
Date: 30 Jun 1999 13:32:38
Message: <377A560D.24B0D0F7@puzzlecraft.com>
Sorry - just the Object Bender include from Chris Colefax will do the job
of both twisting and bending an object. Used with ClockMod you can even
animate the effect.

steve

Ken wrote:

> Hi ?
>
>   Does anyone have a stripped candy cane they could share with me. I
> can model the thing all right but getting the stripe to wrap around the
> bend properly is giving me epileptic fits. I prefer a non patch solution
> for this if at all possible.
>
> Thank you in advance for any help you may have to offer.
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

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