POV-Ray : Newsgroups : povray.binaries.images : POV'ed POV-Ray logo (~40kbu) : Re: POV'ed POV-Ray logo (~40kbu) Server Time
17 Aug 2024 02:28:42 EDT (-0400)
  Re: POV'ed POV-Ray logo (~40kbu)  
From: Redbeard
Date: 14 Nov 2001 21:34:02
Message: <3bf3299a$1@news.povray.org>
"Jaime Vives Piqueres" <jai### [at] ignoranciaorg> wrote in message
news:3BF### [at] ignoranciaorg...
> Slime wrote:
> >
> > Trace() shoots a ray. It's helpful if you have an object that's going to
> > move in a specific direction and you want to see how close the nearest
> > obstacle is in the direction it's moving. It doesn't really help you with
> > stationary objects.
>
>
>   Well, it helps to place "stationary" objects... at least to me.
>

I just looked at the trace function.  It seems to me it would be useful for
stacking stationary objects, but not randomly jumbling them around in space, as
my macro does.

What I'm trying to achieve is to place an object within the space that some
other object would occupy without intersecting previously placed objects.  As an
example, imagine a simple snow-globe, a container with liquid and "snow"
particles.  Shake it up.  The particles roughly fill the space, but no two
intersect.  This is what I want to do.

Michael

--
#macro M(D,J)text{ttf"cyrvetic.ttf"D 1,0translate-J}#end#macro N(E,K)#local A=
M(E,K)light_source{-z*30rgb 1projected_through{A}}#end N("Michael"<1.6,-.2,5>)
N("Johnson"<1.9.8,5>)sphere{z*9,4pigment{gradient x+y scale 10color_map{[0 rgb
x][1rgb x+y]}sine_wave}} // (c)2001 Michael D Johnson red### [at] wvadelphianet


Post a reply to this message

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