POV-Ray : Newsgroups : povray.binaries.images : blue's code Server Time
7 May 2024 01:57:54 EDT (-0400)
  blue's code (Message 28 to 37 of 37)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: alphaQuad
Subject: Re: blue's code
Date: 26 Jul 2008 12:35:00
Message: <web.488b50fb2dc5bc4ef2eba14c0@news.povray.org>
and of course one of those files was using echo.inc

it all so confusing!!!

:)


Post a reply to this message


Attachments:
Download 'laser.zip' (175 KB)

From: alphaQuad
Subject: Re: blue's code
Date: 26 Jul 2008 15:05:00
Message: <web.488b74642dc5bc4ef2eba14c0@news.povray.org>
Another thing I been wanting to see in pov code,
prism refraction that looks like:
http://en.wikipedia.org/wiki/Prism_%28optics%29

And something about polarization
http://en.wikipedia.org/wiki/Polarization

can wipe entire brain clusters with that page


Post a reply to this message

From: alphaQuad
Subject: Re: blue's code
Date: 26 Jul 2008 16:45:00
Message: <web.488b8bf02dc5bc4ef2eba14c0@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
> trace seems to fail on these CSG lenses, so ... input radius and return x of the
> curve.
>
> in other words, if you have the light radius at lens2_impact, you have the
> distance to lens center

more like

#declare concav_glass_ = // f = -3.99984
#declare maglass_ = // f =  8.275885

Add focal lengths
4.35 was close, v. almost 4.3

should put it in focus position, just had to stare at it long enough


Post a reply to this message

From: alphaQuad
Subject: Re: blue's code
Date: 26 Jul 2008 23:40:01
Message: <web.488beda52dc5bc4e9cf7a09b0@news.povray.org>
great thinking implies great mistakes,
but heartless ambition is a plague


Post a reply to this message


Attachments:
Download 'laserfocus_2.png' (126 KB)

Preview of image 'laserfocus_2.png'
laserfocus_2.png


 

From: Christian Froeschlin
Subject: Re: blue's code
Date: 27 Jul 2008 03:30:39
Message: <488c241f$1@news.povray.org>
Jim Holsenback wrote:

> I had a look at what's there now and found nothing about lasers. 

there is advanced/optics.pov, at least there was in 3.6


Post a reply to this message

From: alphaQuad
Subject: Re: blue's code
Date: 27 Jul 2008 12:05:01
Message: <web.488c9bf52dc5bc4e94c1da110@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> Jim Holsenback wrote:
>
> > I had a look at what's there now and found nothing about lasers.
>
> there is advanced/optics.pov, at least there was in 3.6

according to that you can also add,
photons {refraction off reflection off}
to area light source as opposed to,
photons {refraction on reflection on}
in laser.

Havent tried it yet, expecting a less interesting scene
also rgbf .99 glass has no shadow, in contrast to .9 glass
this img shows photons penetrating and reflecting several flat pieces...


recollecting a divergence seems to equal too much light loss.
also tried a wide beam reflected off only flat reflectors, still didnt make it
through second lens.

Only direct light made it thru 2 lenses of .9 glass.


Post a reply to this message


Attachments:
Download 'optics.png' (46 KB)

Preview of image 'optics.png'
optics.png


 

From: Jim Holsenback
Subject: Re: blue's code
Date: 27 Jul 2008 13:31:30
Message: <488cb0f2@news.povray.org>
I can see that you've been very busy there aQ. It seems that the zip file i 
downloaded to work on is out of date with the images you've posted. Perhaps 
a day late and a dollar short, anyway here's what I've done.

I've cleaned up the source, added four quality levels (debug -> best). This 
image was run a Quality=2 it took about 26 minutes. I didn't have much luck 
with the curved reflectors (convex/concave) so in this setup they are flat. 
They also have a front and back, it didn't seem to make sense to have the 
entire object reflective. It just adds to render time. I would also reverse 
the order of the lenses. It seems to make better sense to make the beam 
bigger with the convex lens then back to original size with the concave 
lens. The other way around and I think photon spacing in the global block 
would have to be even smaller. I'm wondering if curved surfaces might be 
better as iso_surfaces, and with the correct formula made to be a true 
parabolic surface rather than the hit or miss approach with differencing and 
uneven scaling spheres. An improvement more along esthetic lines would to 
frame and make stands for the reflectors and lenses rather than have them 
just basically floating in space.  Lastly I opted for a single light source 
(the laser). Both the light and scattering media in the container are white. 
I used absorption media to turn the beam green. I'll post the source over in 
scene-files.

Cheers Jim


Post a reply to this message


Attachments:
Download 'laser_effect01.jpg' (22 KB)

Preview of image 'laser_effect01.jpg'
laser_effect01.jpg


 

From: alphaQuad
Subject: Re: blue's code
Date: 27 Jul 2008 15:00:01
Message: <web.488cc3752dc5bc4eeb11fb6e0@news.povray.org>
"Jim Holsenback" <jho### [at] hotmailcom> wrote:
> I can see that you've been very busy there aQ.
Not really. Running out of ideas. Fixed the car yesterday, think it was mainly
the distributor cap. Gotta get her hot and really check it.

> It seems that the zip file i
> downloaded to work on is out of date with the images you've posted. Perhaps
> a day late and a dollar short, anyway here's what I've done.
>
> I've cleaned up the source, added four quality levels (debug -> best). This
> image was run a Quality=2 it took about 26 minutes. I didn't have much luck
> with the curved reflectors (convex/concave) so in this setup they are flat.
> They also have a front and back, it didn't seem to make sense to have the
> entire object reflective. It just adds to render time. I would also reverse
> the order of the lenses. It seems to make better sense to make the beam
> bigger with the convex lens then back to original size with the concave
> lens. The other way around and I think photon spacing in the global block
> would have to be even smaller. I'm wondering if curved surfaces might be
> better as iso_surfaces, and with the correct formula made to be a true
> parabolic surface rather than the hit or miss approach with differencing and
> uneven scaling spheres. An improvement more along esthetic lines would to
> frame and make stands for the reflectors and lenses rather than have them
> just basically floating in space.  Lastly I opted for a single light source
> (the laser). Both the light and scattering media in the container are white.
> I used absorption media to turn the beam green. I'll post the source over in
> scene-files.

Interested to see what you've done.
With nothing else to do, left this one running last night; 9.5 hrs,
1 + f1 + f2 between lenses. Divergent light must mean a greater focal length for
lens1 by ?


Post a reply to this message


Attachments:
Download 'lasereflect_00_1.png' (190 KB)

Preview of image 'lasereflect_00_1.png'
lasereflect_00_1.png


 

From: alphaQuad
Subject: Re: blue's code
Date: 28 Jul 2008 12:15:02
Message: <web.488df05a2dc5bc4edc0a30e20@news.povray.org>
Any example with a lens in it, or any example called "optics.pov", that does not
have the ior focal length function, used or not, is a file sorely lacking.

Am I the only technically minded one? Certainly not. Anyone not
technically-minded, should be.

Just my POV.


Post a reply to this message

From: Alain
Subject: Re: blue's code
Date: 29 Jul 2008 09:24:32
Message: <488f1a10$1@news.povray.org>
alphaQuad nous illumina en ce 2008-07-26 15:00 -->
> Another thing I been wanting to see in pov code,
> prism refraction that looks like:
> http://en.wikipedia.org/wiki/Prism_%28optics%29

Add some reflection to your finish and some dispertion to your interior. Use a 
strong light. Don't forget to have conserve_energy and fresnel turned on.

> 
> And something about polarization
> http://en.wikipedia.org/wiki/Polarization
> 
> can wipe entire brain clusters with that page
> 
Not possible now.

-- 
Alain
-------------------------------------------------
I used to have an open mind but my brains kept falling out.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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