POV-Ray : Newsgroups : povray.newusers : Curving cylinders and cones? : Re: Curving cylinders and cones? Server Time
5 Nov 2024 05:21:53 EST (-0500)
  Re: Curving cylinders and cones?  
From: Simon Lemieux
Date: 2 Oct 2000 13:48:59
Message: <39D8CACB.41513ED4@yahoo.com>
>   Don't get too excited. Since the include file uses the same technique as
> you do, it will be as slow (if not even slower) than yours.

Oh really?  I haven't examined it yet...  I was wondering, but this might go in
"povray.programation" or "povray.advanced-users", I was wondering how to
implement a new object algorithm in povray...  I mean I just can't create an
object with multiple objects...  that would be too much work and too slow to
render, I was looking to add my own object library to povray, such as cylindered
infinite spirals that can move, etc...
For this I could use many cylinders (many many for an almost-infinite), but I
could simply design an algorithm like for the sphere; does the ray touches the
sphere (center+radius), yes, good what color is it?... etc...  Well it could be
does the ray passes through the algorithm given for the spiral, yes, good what
color is it... etc...

How could I do this?

Thanks

-- 
+-------------------------+----------------------------------+
| Simon Lemieux           | Website : http://www.666Mhz.net  |
| Email : Sin### [at] 666Mhznet | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+


Post a reply to this message

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