[Radiance-general] RE : how to use pfilt to perform anti-aliasing

Ji Zhang hope.zh at gmail.com
Wed Jun 15 00:32:50 PDT 2011


Dear Radiance experts,

I didn't seem to be able to generate a .hdr image when run "rad ./test.rif"
command in terminal in both Ubuntu and Mac OS system, and I got the
following error message**:

    rpict -vtv -vp 2.47958064079 1.54759073257 1.60000002384 -vd
-5.09127616882 -1.54759073257 0.0 -vu 0.0 0.0 1.0 -vh 70.0 -vv 70.0 -vo 0.0
-va 0.0 -vs 0.0 -vl 0.0 -x 2400 -y 2400 -pa 800.000 -dp 4096 -ar 158 -ms
0.033 -ds .1 -dj .9 -dt .05 -dc .75 -dr 3 -sj 1 -st .01 -ab 1 -aa .075 -ad
4096 -as 2048 -av 1.7 1.7 1.7 -lr 12 -lw .0005 -ps 1 -pt .04 ./scene.oct >
rad_test_1.unf
    pfilt -1 -e .3 -m .25 -x /3 -y /3 rad_test_1.unf > rad_test_1.hdr
Segmentation fault
rad: error filtering view 1
    rad_test_1.hdr removed


The content of the test.rif file is:
############################
OCTREE= ./scene.oct
scene= ./geom.rad
ZONE= I -2.5 2.5 -3.5 3.5 -0.5 3.5
UP= Z
EXPOSURE= .3
QUAL= H
DET= H
PEN= T
VAR= H
view= -vtv -vp 2.47958064079 1.54759073257 1.60000002384 -vd -5.09127616882
-1.54759073257 0.0 -vu 0.0 0.0 1.0 -vh 70.0 -vv 70.0 -vo 0.0 -va 0.0 -vs 0.0
-vl 0.0
RESOLUTION= 800 800 800
PICT= rad_test
#############################

Can you kindly advice me the source of problem and the solution?

Thanks!

Ji



On Tue, Jun 14, 2011 at 9:53 PM, Ji Zhang <hope.zh at gmail.com> wrote:

> Dear Lars and Greg, Thanks a lot for the advices! - Cheers, Ji
>
>
>
> On Tue, Jun 14, 2011 at 9:42 PM, Greg Ward <gregoryjward at gmail.com> wrote:
>
>> The "rad" program (or "trad" if it works) takes care of these details for
>> you.
>>
>> -Greg
>>
>> > From: "Lars O. Grobe" <grobe at gmx.net>
>> > Date: June 14, 2011 6:37:26 AM CDT
>> >
>> > Hi!
>> >
>> >> Does this mean that I may need to bear in mind that the size of the
>> >> image to be produced by rpict should always be 3 times bigger than the
>> >> size of the final image I want?
>> >
>> > Yes. You can call it oversampling. See Mark's pages:
>> >
>> > http://markjstock.org/radmisc/aa0_ps1_test/final.html
>> >
>> > Cheers, Lars.
>>
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20110615/f994059a/attachment.html>


More information about the Radiance-general mailing list