yafray-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Yafray-devel] color implementation, etc.


From: Yenar Calentaure
Subject: [Yafray-devel] color implementation, etc.
Date: Thu, 12 Sep 2002 18:04:11 +0100
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

Hi!

I compiled and tested yafray successfully. I began to revamp your build system and i browsed sources a bit. I'm still quite short on time (school, other projects, etc. - you know it). I will hopefully get some time for yafray in near future.

The full spectrum-oriented rendering is must-have :). I will at least try to implement it ;). I have got some books on this topic (and there is always public library). Only thing i want from you (to help me with this): please move r, g, b members to protected section and use set(r, g, b) and constructor with r, g, b args. This will really ease the issue for me :). You can make it inline as the performance is probably critical. I can even create patch if needed :).

And one more question: is it possible to use 'long long' type (64bit fixed point number) for color, and if yes, will it improve performance? The fixed-point math is faster AFAIK. You will have to work in mode where 1.0 = 2^64, and this is the only complication i see. Just idea.

--
-----------------------------------------------------------------------
inetname: Yenar Calentaure
realname: Peter Rockai
    mail: yenar(at)host.sk
homepage: http://yenar.host.sk
-----------------------------------------------------------------------
The universe is entering maintenance mode in 2 minutes. Please logout.
                                     -- Your administrator
-----------------------------------------------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]