Kr parameter list
Posted: Fri Dec 28, 2018 5:38 pm
Goofing with feeding the output of the Daz Reality plugin into LuxCore. The product is designed to create LuxRender output files. I've succeeded but only after getting around this error:
Exception during parsing (file 'test.lxs', line: 1619): Wrong number of values in property: Kr
This is the offending line (starting at 1617):
Texture "dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel" "fresnel" "fresnelcolor" "texture Kr" ["dh_mbf_lmp_41780-28864:lamp_1_metal:Default.diffuse"]
# Mat: dh_mbf_lmp_41780-28864:lamp_1_metal
MakeNamedMaterial "dh_mbf_lmp_41780-28864:lamp_1_metal" "string type" ["metal2"] "texture fresnel" ["dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel"] "float uroughness" [0.08] "float vroughness" [0.08]
Moving back to 1617 from 1619 and removing the Kr element entirely, the render proceeds:
Texture "dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel" "fresnel" "fresnelcolor"
# Mat: dh_mbf_lmp_41780-28864:lamp_1_metal
MakeNamedMaterial "dh_mbf_lmp_41780-28864:lamp_1_metal" "string type" ["metal2"] "texture fresnel" ["dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel"] "float uroughness" [0.08] "float vroughness" [0.08]
But I'm curious as to what is wrong with that Kr component of the Texture line. What is the correct number of values for the Kr parameter? I'm wondering if I can come up with an easy search-and-replace operation to fix all the Kr bits instead of the deleting them outright.
Exception during parsing (file 'test.lxs', line: 1619): Wrong number of values in property: Kr
This is the offending line (starting at 1617):
Texture "dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel" "fresnel" "fresnelcolor" "texture Kr" ["dh_mbf_lmp_41780-28864:lamp_1_metal:Default.diffuse"]
# Mat: dh_mbf_lmp_41780-28864:lamp_1_metal
MakeNamedMaterial "dh_mbf_lmp_41780-28864:lamp_1_metal" "string type" ["metal2"] "texture fresnel" ["dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel"] "float uroughness" [0.08] "float vroughness" [0.08]
Moving back to 1617 from 1619 and removing the Kr element entirely, the render proceeds:
Texture "dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel" "fresnel" "fresnelcolor"
# Mat: dh_mbf_lmp_41780-28864:lamp_1_metal
MakeNamedMaterial "dh_mbf_lmp_41780-28864:lamp_1_metal" "string type" ["metal2"] "texture fresnel" ["dh_mbf_lmp_41780-28864:lamp_1_metal_fresnel"] "float uroughness" [0.08] "float vroughness" [0.08]
But I'm curious as to what is wrong with that Kr component of the Texture line. What is the correct number of values for the Kr parameter? I'm wondering if I can come up with an easy search-and-replace operation to fix all the Kr bits instead of the deleting them outright.