Message 1 of 2
Change quality/properties of surface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am really new to Maya/MEL as well, but I have had some successes.
I am rendering nested colored transparent isosurfaces and it is working well.
Now I would like to experiment with changing the properties of the surfaces. For instance, I would like to try to make my surfaces look, either depending on what they actually look like, as being perhaps:
- more glossy (like glossy lipstick, yuck lol) indicating how well a surface reflects light in a specular (mirror-like) direction;
- more waxy (like wax paper), as if the surface is coated in a thin layer of wax;
- shiny like a piece of glass with internal reflections like a lens;
- even hairy (for the fun of it);
- or perhaps some other property that you might suggest.
Can someone give me some clue as to how I might apply effects like this to the surfaces I am using so I can experiment with this? My goal is to really highlight the surfaces by emphasizing the way the surfaces look.
This is the way my surfaces look at the moment
My current code for the properties of the surface (for instance for a blue surface) are given as follows:
// fourth shell, Blue surface
select -cl;
select -r den4:Mesh;
shadingNode -asShader blinn -name "surface4";
sets -renderable true -noSurfaceShader true -empty -name "surface4SG";
connectAttr -f "surface4.outColor" "surface4SG.surfaceShader";
sets -edit -forceElement "surface4SG" |den4:Mesh;
setAttr "surface4.color" -type double3 0.0 0.0 2.0;
setAttr "surface4.ambientColor" -type double3 0.173 0.173 0.173;
setAttr "surface4.transparency" -type double3 0.316 0.316 0.316;