-
Notifications
You must be signed in to change notification settings - Fork 23
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
Adding Legacy Wood procedural #1412
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,6 +182,41 @@ | |
<output name="out" type="color3" /> | ||
</nodedef> | ||
|
||
<nodedef name="ND_util_woodnoise_float" node="util_woodnoise"> | ||
<input name="x" type="float" uisoftmin="0.0" uisoftmax="1.0" /> | ||
<input name="noiserep" type="float" value="20" uisoftmin="0.0" uisoftmax="100" /> | ||
<input name="loop" type="boolean" value="true" /> | ||
<output name="out" type="float" /> | ||
</nodedef> | ||
|
||
<nodedef name="ND_util_woodfactor_float" node="util_woodfactor"> | ||
<input name="position" type="vector3" uisoftmin="0,0,0" uisoftmax="1,1,1" /> | ||
<input name="size" type="float" value="1" uisoftmin="0.0" uisoftmax="10" /> | ||
<input name="radialnoise" type="float" value="0.15" uisoftmin="0.0" /> | ||
<input name="axialnoise" type="float" value="0.15" uisoftmin="0.0" /> | ||
<input name="loop" type="boolean" value="true" /> | ||
<input name="noiserep" type="float" value="20" uisoftmin="0.0" uisoftmax="100" /> | ||
<output name="out" type="float" /> | ||
</nodedef> | ||
|
||
<nodedef name="ND_legacy_wood_color3" node="legacy_wood"> | ||
<input name="position" type="vector3" defaultgeomprop="Pobject" /> | ||
<input name="color1" type="color3" value="0.603, 0.445, 0.072" uisoftmin="0,0,0" uisoftmax="1,1,1" /> | ||
<input name="color2" type="color3" value="0.212, 0.072, 0" uisoftmin="0,0,0" uisoftmax="1,1,1" /> | ||
Comment on lines
+204
to
+205
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggest giving a better name primary grain color and secondary grain color etc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess skip for now. I don't think eventually we will need to propagate legacy names. We could publish new names and document them. |
||
<input name="radialnoise" type="float" value="0.15" uisoftmin="0.0" uisoftmax="1.0" /> | ||
<input name="axialnoise" type="float" value="0.15" uisoftmin="0.0" uisoftmax="1.0" /> | ||
<input name="thickness" type="float" value="1.0" uisoftmin="0.0" uisoftmax="100" /> | ||
<input name="loop" type="boolean" value="true" /> | ||
<input name="noiserep" type="float" value="20" uisoftmin="0.0" uisoftmax="100" /> | ||
<input name="offset_x" type="float" value="0" uisoftmin="0.0" uisoftmax="1.0" /> | ||
<input name="offset_y" type="float" value="0" uisoftmin="0.0" uisoftmax="1.0" /> | ||
<input name="offset_z" type="float" value="0" uisoftmin="0.0" uisoftmax="1.0" /> | ||
<input name="rotate_x" type="float" value="0" uisoftmin="0.0" uisoftmax="360" /> | ||
<input name="rotate_y" type="float" value="0" uisoftmin="0.0" uisoftmax="360" /> | ||
<input name="rotate_z" type="float" value="0" uisoftmin="0.0" uisoftmax="360" /> | ||
<output name="out" type="color3" /> | ||
</nodedef> | ||
|
||
<!-- | ||
============================================= | ||
Nodedefs for Autodesk Legacy Material Classes | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we rename this input from
x
to something that would be clear. I think it's used mainly as a factor?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I considered that yesterday. It's technically a distance. Then I stuck to the function parameter name.
I believe this is a worthy change. Let me do it.