Page 1 of 1

mirror F-stop

Posted: Wed Feb 18, 2009 5:24 am
by Jambert
Hi all

I think there is a problem with miror and focus distance

miror: ior 100, exp 1000000 or al.nk (in database)
F-stop: 128

http://www.indigorenderer.com/joomla/co ... temid,107/

I have other scene with the same problem

thx for reply :?

(Iuse blendigo 1.1.14 and last indigo 1.1.16)

Posted: Wed Feb 18, 2009 8:15 am
by Schosch
The IOR of aluminium is 1.59, not 100!
Use the al.nk data (which is included in every package of indigo) and an exponent of 1,000,000.

BTW you can find a huge list of IORs at http://refractiveindex.info/

Posted: Wed Feb 18, 2009 8:24 am
by Camox
I use this material for mirrors and it works fine ! I dont think thats a problem with the fstop, your ior is to low. I hope its help...

Code: Select all


<scenedata>
    <material>
        <name>nullMat</name>
        <null_material />
    </material>
    <material>
        <name>mirror</name>
        <phong>
            <ior>10000000</ior>
            <specular_reflectivity>
                <constant>
                    <rgb>
                        <rgb>0.827 0.788 0.737</rgb>
                        <gamma>2.2</gamma>
                    </rgb>
                </constant>
            </specular_reflectivity>
            <diffuse_albedo>
                <constant>
                    <rgb>
                        <rgb>0.827 0.788 0.737</rgb>
                        <gamma>2.2</gamma>
                    </rgb>
                </constant>
            </diffuse_albedo>
            <exponent>
                <constant>10000000</constant>
            </exponent>
        </phong>
    </material>
</scenedata>


Posted: Wed Feb 18, 2009 11:05 am
by CTZn
Though the simplest way is to use a non-transparent specular, because it has no exponent at all, or a really infinite one if you want to say so. In that regard it will be also faster to render I believe.

IOR does the reflections, both for phong and specular materials. You want to push that one very high like camox is showing.

edit: that said I would give <specular_reflectivity> a try, never did. And perfect mirrors have no diffuse component, another reason why to prefer specular material imo.

Posted: Wed Feb 18, 2009 11:21 am
by Jambert
Schosch

I know it thanks, I tried with ior 100 and with nk, two different material with exp 1 000 000 :wink:
sorry it was clear

CTZn

Thanks, I will try it but it quite strange, real mirror are made with aluminium :roll:

Posted: Wed Feb 18, 2009 11:29 am
by Jambert
CTZn

It works :D, do somebody know if it's possible to change no trasparent glass color??

Posted: Wed Feb 18, 2009 11:36 am
by CTZn
Only by blending if you use specular, but you'd better use camox's material for that matter :)

Posted: Wed Feb 18, 2009 10:02 pm
by Jambert
Camox

Soory camox I didin't see your answer :oops:

Ok so I understand, the problem is blendigo, ior 100 is max

Thx all for reply :D