Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #103

Merged
merged 2 commits into from
Dec 8, 2017
Merged

Updates #103

merged 2 commits into from
Dec 8, 2017

Conversation

jdent02
Copy link
Member

@jdent02 jdent02 commented Dec 8, 2017

Add additional controls to Specular BTDF

Add Sheen BRDF

Redo material name display

@@ -1340,6 +1354,55 @@ def __emit_diffuse_btdf(self, material, bsdf_name, scene, layer=None, node=None)
self.__emit_parameter("transmittance_multiplier", transmittance)
self.__close_element("bsdf")

#------------------------
#Write Sheen BRDF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insert space after #

max=1.0,
update=refresh_preview)

sheen_reflectance_use_tex = bpy.props.BoolProperty(name="", description="Use a texture to influence sheen reflectance", default=False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's put one parameter per line (everywhere in this file)?

@@ -811,9 +854,36 @@ class AppleseedMatLayerProps(bpy.types.PropertyGroup):
description="Specular BTDF transmittance multiplier", default=1.0, min=0.0, max=1.0,
update=refresh_preview)

spec_fresnel_multiplier = bpy.props.FloatProperty(name="Fresnel Multiplier",
description="Fresnel multiplier",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix indentation.

ui/materials.py Outdated
@@ -1116,9 +1166,29 @@ def draw(self, context):

layout.prop(current_layer, "spec_btdf_trans_mult")

# fresnel multiplier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdent02
Copy link
Member Author

jdent02 commented Dec 8, 2017

I fixed the areas you specifically mentioned. As far as the 'one parameter per line' that's going to be a major project as there are hundreds of parameters that will need to be updated.

@dictoon dictoon merged commit 5c48e03 into appleseedhq:master Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants