POV-Ray : Newsgroups : povray.advanced-users : A Simple Lamp Shade ? : Re: A Simple Lamp Shade ? Server Time
30 Jul 2024 20:23:23 EDT (-0400)
  Re: A Simple Lamp Shade ?  
From: Ph Gibone
Date: 5 May 1999 02:56:23
Message: <372fdd87.0@news.povray.org>
>
>  I followed your advice and tried the Dome generater program. After about
>15 different tests/renders/rejections I have yet to find a shape that comes
>close to what I am hoping for. Perhaps the master could supply me with a
>couple of examples of what to enter in the different fields so that I may
>learn from his wisdome ?


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.

>
>  On a side note:
>  One undesirable characteristic of the Dome program is that it is
producing
>a lot of degenerate triangles. You might think about adding a degenerate
>triangle testing/removal feature in the program to eliminate these. I had
>one file with over 350 degenerate triangles and that is a lot to have to
edit
>out of the file by hand. Especialy in files that are over 1+ megs in size.
>I am not sure how to implement such a routine but there are many here
>that I am sure could help you with that. 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)

Philippe


Post a reply to this message


Attachments:
Download 'LampShade.jpg' (8 KB)

Preview of image 'LampShade.jpg'
LampShade.jpg


 

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