<< Lightflow質感設定その3 レイトレース反射色 戻る Lightflow質感設定その5 拡散量 >>

Lightflow質感設定その4 レイトレース反射色

"kd",float | pattern kd [拡散量]0.01を追加しておき、レイトレース反射色krを右の球から0.1、0.5、0.95に設定した。

・反射色kc 0.3
plastic = s.newMaterial( "standard",[ "kc", vector3( 0.3, 0.3, 0.3 ),"kd", 0.01
,"kr",vector3(0.5,0.5,0.5) ] )

plastic2 = s.newMaterial( "standard",[ "kc", vector3( 0.3, 0.3, 0.3 ),"kd", 0.01
,"kr",vector3(0.95,0.95,0.95) ] )

plastic3 = s.newMaterial( "standard",[ "kc", vector3( 0.3, 0.3, 0.3 ),"kd", 0.01
,"kr",vector3(0.1,0.1,0.1) ] )
sphere041.jpg

・反射色kc 0.5
plastic = s.newMaterial( "standard",[ "kc", vector3( 0.5, 0.5, 0.5 ),"kd", 0.01
,"kr",vector3(0.5,0.5,0.5) ] )

plastic2 = s.newMaterial( "standard",[ "kc", vector3( 0.5, 0.5, 0.5 ),"kd", 0.01
,"kr",vector3(0.95,0.95,0.95) ] )

plastic3 = s.newMaterial( "standard",[ "kc", vector3( 0.5, 0.5, 0.5 ),"kd", 0.01
,"kr",vector3(0.1,0.1,0.1) ] )
sphere042.jpg

・反射色kc 0.95
plastic = s.newMaterial( "standard",[ "kc", vector3( 0.95, 0.95, 0.95 ),"kd", 0.01
,"kr",vector3(0.5,0.5,0.5) ] )

plastic2 = s.newMaterial( "standard",[ "kc", vector3( 0.95, 0.95, 0.95 ),"kd", 0.01
,"kr",vector3(0.95,0.95,0.95) ] )

plastic3 = s.newMaterial( "standard",[ "kc", vector3( 0.95, 0.95, 0.95 ),"kd", 0.01
,"kr",vector3(0.1,0.1,0.1) ] )
sphere043.jpg
  • -
  • -

<< Lightflow質感設定その3 レイトレース反射色 戻る Lightflow質感設定その5 拡散量 >>