POV-Ray : Newsgroups : povray.newusers : histogram confiusion Server Time
5 Nov 2024 05:24:39 EST (-0500)
  histogram confiusion (Message 1 to 2 of 2)  
From: Rafal 'Raf256' Maj
Subject: histogram confiusion
Date: 6 Aug 2002 05:02:34
Message: <Xns92626FB95CEC2raf256com@204.213.191.226>
Hi,
i.m trying to make CPu histogram in hist.tga, but when I use :

input_file_name = 2002_08_06_iso_sahara.pov
output_file_type = n ; PNG
width = 160
height = 160
[...]

Histogram_Type=t
Histogram_Name=hist.tga
Histogram_Grid_Size=160.160

- nothing happens, no file is created

using :
+HTS +HS160.160 +HNhist.bmp
products invalid .bmp file (always 17 bits long, same as .tga)

what i'm doing wrong ?

Pov 3.5 release, for win32 on Win98SE Athlon 1,7 256 ram

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: histogram confiusion
Date: 6 Aug 2002 05:12:54
Message: <Xns926271785F96Braf256com@204.213.191.226>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in 
news:Xns### [at] 204213191226

> using :
> +HTS +HS160.160 +HNhist.bmp

no, sorry - this one works correctly. So looks like .tga output and init-
file-style options (not comamnd-line-style) support for histograms is 
broken, can someone check this ?

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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