how do light and material reflection constants work in matlab ?

Hi, I am creating a 3D scene with lighting in matlab. i am defining the maerial using
material([ka kd ks n])
where ka,kd,ks are reflection constants (scalars) however in various tutorials i found online ka,kd,ks are vectors. my question is how does MATLAB work for materials? same question for lighting objects. thanks

Answers (0)

Asked:

on 2 Sep 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!