POV-Ray : Newsgroups : povray.general : ANNOUNCE: Dispersion for windows Server Time
15 Nov 2024 15:18:11 EST (-0500)
  ANNOUNCE: Dispersion for windows (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Mike
Subject: ANNOUNCE: Dispersion for windows
Date: 6 Jan 1999 13:41:43
Message: <3693ADE3.945A23C9@aol.com>
I have uploaded a build of the dispersion patch for Windows 95/98/NT. 
You can get it at

http://members.aol.com/povray3/dispersion.zip

I'm offering it for those who have been dying to try it out themselves.
I can't promise it will run flawlessly, though it's worked pretty good
for me.  Details are provided in the readme file.  You need to have
POV-Ray 3.1 for Windows installed for it to run.

-Mike


Post a reply to this message

From: Ken
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 6 Jan 1999 15:36:40
Message: <3693C8E7.83181536@pacbell.net>
Mike wrote:
> 
> I have uploaded a build of the dispersion patch for Windows 95/98/NT.
> You can get it at
> 
> http://members.aol.com/povray3/dispersion.zip
> 
> I'm offering it for those who have been dying to try it out themselves.
> I can't promise it will run flawlessly, though it's worked pretty good
> for me.  Details are provided in the readme file.  You need to have
> POV-Ray 3.1 for Windows installed for it to run.
> 
> -Mike

  After experimenting with the patch for a short time I have
only one suggestion to offer. The pixels per second counter
needs to be changed to read pixels per minute or maybe pixels
per hour/days for slower machines ;^ }

-- 
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Mike
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 6 Jan 1999 23:51:11
Message: <36943CB9.979EB9F0@aol.com>
The idea is to use it on one or two small objects, not a poster-sized
print of the full Tiffany glass collection!  :)

-Mike

Ken wrote:
> 
> Mike wrote:
> >
> > I have uploaded a build of the dispersion patch for Windows 95/98/NT.
> > You can get it at
> >
> > http://members.aol.com/povray3/dispersion.zip
> >
> > I'm offering it for those who have been dying to try it out themselves.
> > I can't promise it will run flawlessly, though it's worked pretty good
> > for me.  Details are provided in the readme file.  You need to have
> > POV-Ray 3.1 for Windows installed for it to run.
> >
> > -Mike
> 
>   After experimenting with the patch for a short time I have
> only one suggestion to offer. The pixels per second counter
> needs to be changed to read pixels per minute or maybe pixels
> per hour/days for slower machines ;^ }
> 
> --
> Ken Tyler
> 
> tyl### [at] pacbellnet


Post a reply to this message

From: Daren Scot Wilson
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 7 Jan 1999 03:35:16
Message: <36942B95.3951AD19@pipeline.com>
Mike wrote:
> >   After experimenting with the patch for a short time I have
> > only one suggestion to offer. The pixels per second counter
> > needs to be changed to read pixels per minute or maybe pixels
> > per hour/days for slower machines ;^ }


If it's not slow enough, you can always increase the value for
disp_nelems :-)


There is one change needed to the code.  It renders all refractive
media, whether dispersive or not,  as if they were dispersive.  If
dispersion (actually, ratio of dispersions of the two media)  is equal
to 1.0  (this being the ratio of red IOR to blue IOR) my code still does
a loop and traces fifty rays :-(  but insertion  a simple "if" statement
that tests for  dispersion being equal to 1.0 (within EPSILON)  can
solve that problem.  

I will post a patch eventually.  As soon as real life lets me.  (I wish
real life would render faster so I can play more often)




-- 
Daren Scot Wilson
dar### [at] pipelinecom 
www.newcolor.com
----
"A ship in a harbor is safe, but that is not what ships are built for"
                                            -- William Shedd


Post a reply to this message

From: Ken
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 7 Jan 1999 04:20:52
Message: <36947BF9.717F8E32@pacbell.net>
Daren Scot Wilson wrote:
> 
> Mike wrote:
> > >   After experimenting with the patch for a short time I have
> > > only one suggestion to offer. The pixels per second counter
> > > needs to be changed to read pixels per minute or maybe pixels
> > > per hour/days for slower machines ;^ }
> 
> If it's not slow enough, you can always increase the value for
> disp_nelems :-)

> Daren Scot Wilson

Maybe I should back off disp_nelems from my setting of 200.

When I responded yes to young Lance's survey about whether
I had allowed a trace to run for more than one month it
didn't allow me to mention that was on a surplus 286 8mhz
I had laying around. On my P-200 it's unacceptable. <g>

-- 
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Ken
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 8 Jan 1999 10:11:40
Message: <36961FBD.8A1D9C1@pacbell.net>
Dear Mike,

I have tried repeatedly to repeat the sphere you have on the splash
screen of this patch and regardless of the setting I try I am unable
to achive any colored dispersion what so ever. This is also true of
other shapes and settings. Would you be so kind as to provide an
example of working code so that I may learn by your example.

Thank you for your continued support.

--
Ken Tyler

tyl### [at] pacbellnet


Post a reply to this message

From: Alan Kong
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 8 Jan 1999 14:35:23
Message: <36965DEE.E63B8E7E@compuserveNO-SPAM.com>
Ken Tyler wrote:
>> I have tried repeatedly to repeat the sphere you have on the splash
>> screen of this patch and regardless of the setting I try I am unable
>> to achive any colored dispersion what so ever. This is also true of
>> other shapes and settings. Would you be so kind as to provide an
>> example of working code so that I may learn by your example.

  Ken, have you had a look at Darin Scot Wilson's page concerning syntax for
the Dispersion patch?

http://www.newcolor.com/darenw/dswpov/disp.html

- Alan
------------------------------------------------------------------
"The Wolfman been everywhere and he seen everything....and here I
sit, sucking popsicles..." - radio station manager played by the
late Wolfman Jack, in George Lucas' "American Graffiti" (1973)
------------------------------------------------------------------


Post a reply to this message

From: Jim Kress
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 8 Jan 1999 16:42:03
Message: <36967bab.0@news.povray.org>
From all of us who can't do the compiles, THANKS!

Jim

Mike wrote in message <3693ADE3.945A23C9@aol.com>...
>I have uploaded a build of the dispersion patch for Windows 95/98/NT.
>You can get it at
>
>http://members.aol.com/povray3/dispersion.zip
>
>I'm offering it for those who have been dying to try it out themselves.
>I can't promise it will run flawlessly, though it's worked pretty good
>for me.  Details are provided in the readme file.  You need to have
>POV-Ray 3.1 for Windows installed for it to run.
>
>-Mike


Post a reply to this message

From: Mike
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 8 Jan 1999 21:20:55
Message: <3696BC81.B5855EC@aol.com>
Before I say anything I'd like to comment that this news server fills up
if you're away for more than a day!

Anyway, here's the original source for the splash screen image:

//#include "colors.inc"

camera {location <10, 15, -20>
    look_at <0, 3, 0>
    angle 35
    }


background {color rgb <.5, .5, .5>}

//light_source {<5, 10, 1> color rgb <1, 1, 1> fade_distance 10
fade_power 2}

//two strip lights
box {<4.75, 14.75, -5>, <6.25, 15.25, 3>
pigment {color rgbt <1, 1, 1>}
finish {ambient 10}
no_shadow
}

box {<7.75, 14.75, -5>, <9.25, 15.25, 3>
pigment {color rgbt <1, 1, 1>}
finish {ambient 10}
no_shadow
}

light_source {<5.5, 14, -1> color rgb <.8, .8, .8> fade_distance 10
fade_power 2
area_light <1.5, 0, 0>, <0, 0, 4>, 1, 2
adaptive 1
}

light_source {<8.5, 14, -1> color rgb <.8, .8, .8> fade_distance 10
fade_power 2
area_light <1.5, 0, 0>, <0, 0, 4>, 1, 2
adaptive 1
}

sphere {<0, 3, 0>, 3
pigment {color rgbf <.97, .975, .98, .95> }
finish {phong 0 phong_size 90 reflection .2}
interior {caustics .75 ior 1.5 dispersion 1.1 disp_nelems 40
fade_distance 6 fade_power 2 }
scale 1
hollow
}

plane {y, 0
pigment {checker color rgb <1, 1, 1>, color rgb <.9, .9, .9> scale 10}
finish {diffuse .9 reflection .2}
}


//end transmission :)

It would be a good idea to comment out the area lights and reduce the
disp_nelems to around 10 or 20 on the first try.  Also, you should watch
out for the bug I mentioned in the readme.  If you stop the render the
dispersion may stop working next time you start one.  You have to close
the program and restart it if this happens.  Such is life in betaville.

Here's another scene.  It's actually the first one I made with the
patch, but I liked the sphere better.  You make the call:

//#include "colors.inc"

camera {location <10, 15, -20>
    look_at <0, 3, 0>
    angle 40
    }


background {color rgb <.5, .5, .5>}

light_source {<10, 5, 2> color rgb <1, 1, 1>}

cylinder {<0, .0001, 0>, <0, 6, 0>, 2
pigment {color rgb <1, 1, 1> transmit 1}
finish {phong 1 phong_size 20 }
interior {ior 1.5 dispersion 1.1 disp_nelems 30 caustics .5}
scale 1
}

plane {y, 0
pigment {checker color rgb <1, 1, 1>, color rgb <.9, .9, .9> scale 10}
finish {diffuse .9 reflection .2}
}


Ken wrote:
> 
> Dear Mike,
> 
> I have tried repeatedly to repeat the sphere you have on the splash
> screen of this patch and regardless of the setting I try I am unable
> to achive any colored dispersion what so ever. This is also true of
> other shapes and settings. Would you be so kind as to provide an
> example of working code so that I may learn by your example.
> 
> Thank you for your continued support.
> 
> --
> Ken Tyler
> 
> tyl### [at] pacbellnet


Post a reply to this message

From: Daren Scot Wilson
Subject: Re: ANNOUNCE: Dispersion for windows
Date: 9 Jan 1999 00:01:23
Message: <36969C6C.31FE11D9@pipeline.com>
Mike wrote:

> ... If you stop the render the
> dispersion may stop working next time you start one.  You have to close
> the program and restart it if this happens.  Such is life in betaville.

Smellenbergh, who is working on a port of dispersion patch to the Mac,
had the same problem.  He explained:

>  The Macintosh versions all use a GUI and POV-Ray is not quit between
> consecutive runs. This means that we had to set the variable disp_elem and
> disp_nelems to zero in the function init_vars() in povray.c. 
> If we did not do this, any change we made to the source to 'dispersion' and
> 'disp_nelems' where not used.

Surely a trivial fix.  While not needed for the unix version, I will put
this into my next version of the patch.

Smellenbergh's e-mail is sme### [at] skynetbe, if you want more
in-depth info. I'm just a Linuxer, no Windows or Mac here, can't help
much with this bug...


-- 
Daren Scot Wilson
dar### [at] pipelinecom 
www.newcolor.com
----
"A ship in a harbor is safe, but that is not what ships are built for"
                                            -- William Shedd


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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