POV-Ray : Newsgroups : povray.pov4.discussion.general : True objects in SDL? : True objects in SDL? Server Time
4 May 2024 23:45:44 EDT (-0400)
  True objects in SDL?  
From: Chambers
Date: 2 Feb 2008 23:09:09
Message: <47a53e65@news.povray.org>
What are the odds of this?

For instance, if I define a sphere{}, and pass it as an argument to 
something, I'd like that function to have access to information about 
the sphere.  Both shape specific (ie, center and radius), as well as 
generic (texture / transformations).

Once this is possible, then it's a trivial step to add a "world" or 
"scene" object which is simply a union of everything.

And that makes all kinds of fun tricks available ;)

---
On a separate note, I was looking at Thomas de Groot's image in p.b.i, 
"Ruined Place", and reading Jim's reply about moss growing where the sun 
doesn't reach.  Giving SDL access to more POV-Ray internals would enable 
things like asking POV to gather radiosity (or even simple lighting) 
samples at a particular point and return the result, allowing a scripted 
application of moss in the shade...

-- 
...Ben Chambers
www.pacificwebguy.com


Post a reply to this message

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