POV-Ray : Newsgroups : povray.general : how hard would it be... Server Time
5 Aug 2024 16:16:06 EDT (-0400)
  how hard would it be... (Message 1 to 4 of 4)  
From: Kevin Loney
Subject: how hard would it be...
Date: 4 Sep 2002 00:29:33
Message: <3d758c2d@news.povray.org>
...to implement photon/camera interaction? I have a pretty good idea of how
it would work in my head, but it's kind of difficult to explain. I'll post a
diagram in p.b.i if anyone is interested, I think I'll spend my spare
tomorrow at school writing some code. But before I start experimenting with
the source code (and have to download a new copy :-P), does anyone think
this could work? You could get some interesting effects, and there shouldn't
be to much of an increase in render time, only memory usage.

Just a thought

--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local i=asc(substr("oqshilacefg",r,1))-97;
disc{<mod(i,7)-3,div(i,7)-1,6>,z,.4pigment{rgb 10}}_(r+1)
#end#end _(1)//KL


Post a reply to this message

From: Warp
Subject: Re: how hard would it be...
Date: 4 Sep 2002 10:34:39
Message: <3d7619ff@news.povray.org>
Kevin Loney <klo### [at] pt2mcom> wrote:
> ...to implement photon/camera interaction?

  I'm sorry, but I don't understand what do you mean. Could you explain?

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: hughes b
Subject: Re: how hard would it be...
Date: 4 Sep 2002 15:17:58
Message: <3d765c66@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3d7619ff@news.povray.org...
> Kevin Loney <klo### [at] pt2mcom> wrote:
> > ...to implement photon/camera interaction?
>
>   I'm sorry, but I don't understand what do you mean. Could you explain?

Probably lens flares. Which would be a great thing anyway, if part of the
camera itself. I'd expect that would mean giving the camera a object shape,
or at least something tangible by which to react with photons.


Post a reply to this message

From: Kevin Loney
Subject: Re: how hard would it be...
Date: 4 Sep 2002 17:47:13
Message: <3d767f61$1@news.povray.org>
"hughes b" <omn### [at] charternet> wrote in message
news:3d765c66@news.povray.org...
> "Warp" <war### [at] tagpovrayorg> wrote in message
> news:3d7619ff@news.povray.org...
> > Kevin Loney <klo### [at] pt2mcom> wrote:
> > > ...to implement photon/camera interaction?
> >
> >   I'm sorry, but I don't understand what do you mean. Could you explain?
>
> Probably lens flares. Which would be a great thing anyway, if part of the
> camera itself. I'd expect that would mean giving the camera a object
shape,
> or at least something tangible by which to react with photons.
>
>

exactly, or at least along those lines. find the angle between the direction
the photon is travels, and the camera position for all the photons at the
intersection between the camera ray and the object. I think the effect could
be rather interesting, unfortunately it's an incomplete idea, so I'll have
to work on it. The way I'm thinking about it now, it wouldn't work to well
for lens FX.

--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local i=asc(substr("oqshilacefg",r,1))-97;
disc{<mod(i,7)-3,div(i,7)-1,6>,z,.4pigment{rgb 10}}_(r+1)
#end#end _(1)//KL


Post a reply to this message

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