POV-Ray : Newsgroups : povray.newusers : cpu usage histogram Server Time
27 Nov 2024 19:40:54 EST (-0500)
  cpu usage histogram (Message 1 to 6 of 6)  
From: Rafal 'Raf256' Maj
Subject: cpu usage histogram
Date: 12 Jul 2002 19:55:26
Message: <Xns924A12FE2C8C0raf256com@204.213.191.226>
What exacly .ini options should I use to get 

1) a c:\image\hist.bmp file containing CPU histogram
2) to name it file-name.png where file-name.bmp is the normal output file
3) to set it's size always same as normal output
4) to set it's size to half as normal output (to have 2x2 pixels gird cell 
size)


-- 


Post a reply to this message

From: hughes b
Subject: Re: cpu usage histogram
Date: 13 Jul 2002 18:14:04
Message: <3d30a62c@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> What exacly .ini options should I use to get
>
> 1) a c:\image\hist.bmp file containing CPU histogram

Specify the name, as answer 2 below. Except set Histogram_Type to S.

> 2) to name it file-name.png where file-name.bmp is the normal output file

Histogram_Name=Filename.png
Histogram_Type=N
Output_File_Type=S

> 3) to set it's size always same as normal output

Don't specify a grid size, unlike answer 4 below. Or set it equal to Width,
Height.

> 4) to set it's size to half as normal output (to have 2x2 pixels grid cell
> size)

Histogram_Grid_Size=320.240

So if the original is Width=640 and Height=480 you will get 2x2 blocks.

Hey, oh no! I just checked this out myself and histogram is set to off when
ini file options are used, works okay if they are command line switches
though. Did I do something wrong?
Anybody else want to confirm this?


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: cpu usage histogram
Date: 13 Jul 2002 18:21:09
Message: <Xns924B30077C23raf256com@204.213.191.226>
"hughes b" <omn### [at] charternet> wrote in
news:3d30a62c@news.povray.org: 

> Histogram_Grid_Size=320.240
> So if the original is Width=640 and Height=480 you will get 2x2
> blocks. 

but how to get 1x1 or 2x2 block in EVERY image width/height ?

> Hey, oh no! I just checked this out myself and histogram is set to off
> when ini file options are used, works okay if they are command line
> switches though. Did I do something wrong?
> Anybody else want to confirm this?

I had simmilar problem - therefore I asked here. Maybe this is a bug ?

btw. while experimating with diffrent ini options - some strange files 
afair *.rca or .rc5 were created instead of histogram. WHat are thoes files 
?


-- 


Post a reply to this message

From: hughes b
Subject: Re: cpu usage histogram
Date: 13 Jul 2002 18:55:26
Message: <3d30afde@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> "hughes b" <omn### [at] charternet> wrote in
> news:3d30a62c@news.povray.org:
>
> > Histogram_Grid_Size=320.240
> > So if the original is Width=640 and Height=480 you will get 2x2
> > blocks.
>
> but how to get 1x1 or 2x2 block in EVERY image width/height ?

Not sure I know what you're asking. If Width=640 and Height=480 then you use
Histogram_Grid_Size=640.480 (is a period, not comma) for it to become a
pixel for pixel image output. So using half the original resolution makes it
2 by 2, using quarter makes it 4 by 4 block sizes.
You simply must specify according to the image output resolution chosen for
the scene.

> btw. while experimating with diffrent ini options - some strange files
> afair *.rca or .rc5 were created instead of histogram. WHat are thoes
files
> ?

Temporary files used for making PNG output, if I'm remembering that right.
They can get left behind when you cancel a render I guess. I can't search
the newsgroups at this time to check about that though so I could be wrong.

bob h


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: cpu usage histogram
Date: 13 Jul 2002 19:31:05
Message: <Xns924BEDCD32C6raf256com@204.213.191.226>
"hughes b" <omn### [at] charternet> wrote in
news:3d30afde@news.povray.org: 

>> > Histogram_Grid_Size=320.240
>> > So if the original is Width=640 and Height=480 you will get 2x2
>> > blocks.
>> but how to get 1x1 or 2x2 block in EVERY image width/height ?
> Not sure I know what you're asking. If Width=640 and Height=480 then
> you use Histogram_Grid_Size=640.480 (is a period, not comma) for it to
> become a pixel for pixel image output.
> You simply must specify according to the image output resolution
> chosen for the scene.

Is they way to have always 1x1 cell independing from current width/height ?

I wanted to automaticly make histogram for every file, so I wanted to add 
histogram init options to global init. But I often change width/height for 
each rendering


-- 


Post a reply to this message

From: Bob H 
Subject: Re: cpu usage histogram
Date: 13 Jul 2002 22:24:25
Message: <3d30e0d9@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> "hughes b" <omn### [at] charternet> wrote in
> news:3d30afde@news.povray.org:
>
> Is they way to have always 1x1 cell independing from current width/height ?
>
> I wanted to automaticly make histogram for every file, so I wanted to add
> histogram init options to global init. But I often change width/height for
> each rendering

Yes, the default is to do each and every pixel regardless of resolution
settings. Just leave Histogram_Grid_Size commented out or empty (also do not
use +HS switch). I said that it defaults to that before but guess you
overlooked it.


Post a reply to this message

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