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

回答 (0 件)

カテゴリ

質問済み:

2013 年 9 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by