Change Default Values of a Node?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 08 August 2013   #1
Change Default Values of a Node?

Specifically the gammaCorrect node. How would I go about editing the default values of the gammaCorrect node so gammaX, gammaY, and gammaZ all have values of 0.454 instead of 1.0?

Thanks in advance.
 
Old 08 August 2013   #2
The default value is part of the source code which you cannot access.
You would have to write a script which changes the attributes value
after the creation of the node.
 
Old 08 August 2013   #3
Well I have made a preset for the node that sets the values to .454, but I was hoping I could make it even simpler and have those as the default values. I was hoping there would be some way to edit the source but I guess a simple script will have to suffice. Thanks.
 
Old 08 August 2013   #4
Its can't be done without scripting, however there's a popular suggestion for exactly this idea here...

http://mayafeedback.autodesk.com/fo...or-any-given-no

So far Autodesk aren't showing any interest, so sign up and add some votes.
__________________

 
Old 08 August 2013   #5
http://www.creativecrash.com/maya/script/jjj_gammatools ?

I use this every day for texture nodes on characters.
 
Old 08 August 2013   #6
If you use V-Ray, I have a .454 degamma script that does all swatches and textures for V-Ray shaders. It's in the top of the Materials menu:

http://www.creativecrash.com/maya/s...-tuner-for-maya
 
Old 08 August 2013   #7
I can also recommend the jjj gamma tools.
 
Old 08 August 2013   #8
I do use jjj Gamma Tools and it works great, but there are still some times when I am creating the gamma correct nodes manually. It would also be handy not just for the gamma correct node but for others such as changing default filter type for file textures or default ramp colours for example.

@mattwood, I actually came across that post when I was googling about this issue, just thought I might check here to see if anyone knew of a possible workaround.

Thanks for the replies though, I guess we'll just wait until its officially implemented.
 
Old 08 August 2013   #9
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:11 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.