POV-Ray : Newsgroups : povray.advanced-users : A Simple Lamp Shade ? : Re: A Simple Lamp Shade ? Server Time
30 Jul 2024 20:24:57 EDT (-0400)
  Re: A Simple Lamp Shade ?  
From: Ken
Date: 5 May 1999 21:34:31
Message: <3730E310.519BF23F@pacbell.net>
Ph Gibone wrote:

> 
> The enclosed image (very quick and dirty, no AA, no good texture... just to
> show you) is defined by
> Base = EpiCycloide
> Slope = Droite-Droite
> Windows = Sans
> 
> To be honnest, this image has been done with *MY* version of the domenator
> :-} (didn't I send it to you ?) where you can choose more parameters and so
> the sort of cone given by the previous definition has it's head, (sorry, too
> much bloody, I meant top) cut off (as you know, meshes are not good in CSG).
> Here I used a v in the range 0.5 to 1 and then scaled by 2 in the up
> direction.

  Even this is not exactly what I am looking for. The pattern in the image
you attached is only using a half wave from what I can see and I want
a full sine wave pattern.

Yours looks like this:
    __        __
   /  \      /  \
  /    \    /    \
 /      \  /      \
/        \/        \
---------------------


and I am trying to get this:
       __            __
      /  \          /  \
     /    \        /    \
 ---/----- \------/------\----
   /        \    /        \
__/          \__/          \__


Picture to yourself both of the above samples with nice smooth curves that
striaght lines simply do not do justice to.

  I have hacked out a method that uses an open cone object and then clip
it in half. I use two of these one the inverse of the other. Then it's a
simple (ha ha) translate and rotate routine with a while loop to completes
the shape. There are a few hidden challenges doing it this way but the
results are looking acceptable once the parameters are setup right.
 
>> It is a common problem for triangle generating utilities and the
>> fix I believe is an easy one to add. 

> Very easy : cross product is the answer (will be done as soon as I can)

 Glad to here that it is something you can fix with reletive ease.

Thanks for your help and your continued support.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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