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