Adverti horiz upsell

Maya CGFX custom AE 1.2.0 for Maya (maya script)

Custom Maya AE interface for Cgfx shaders

License
Button download
225 Downloads

Compatibility

  • 2013, 2012, 2011

Operating Systems

  • Windows

History

Created:01/06/2013
Last Modified:07/14/2013
File Size: 6.04 KB

Keywords

maya, cgfx, attribute, editor

Q/A

Some Suggestions for a great script

Date:03/08/2013
Submitted by: Nirfin Nirfin
I've tried your script lately and it works lice a charm so far. It's a great little script, that helps organizing the really unintuitive mess of parameters especially in more complex shader programs. Also the texture swatches are a really nice thing!

I have some suggestions though, perhaps some of them are interessting. I like the idea of using the parameter semantics, but it's not very easy to customize. For example, I can build two color picker, one for the diffuse parameters, one for say Translucency Color. To get the Color picker, I would use a color semantic, so it would be grouped with "Diffuse" or "Ambient" or similar. 

Would it be possible to use  besides the UIName-String which gives the name of the parameterm the UIGroup-String to group similar parameters?

A second suggestion would be that all groupless parameters are grouped in an uncategorizes group at the end. At the moment they a placed between the other groups.  

Replies to this question:

  • Sylvain Hi

    Sylvain Hi said over 11 years ago:

    Hello! Thank you for your feedback, I really appreciate! The UIGroup string is a good idea. And if it's not specified, then I would use the semantic as a fallback. About the color picker you asked for, it's already possible with the current version of the script. What you need is this: string UIWidget = "Color"; Then you don't have to use the COLOR semantic to get a color picker, you can use any semantic you want, like 'diffuse' or 'ambient'. As for your second suggestion, it's really easy to implement ;) I didn't do it because I wanted to keep the same parameter order as the one written by the shader author. I will add this as an option for the next version!
  • Nirfin

    Nirfin said over 11 years ago:

    Hi Sylvain, just wanted to ask, if theres a new version on the horizon? :-) As for the order of parameters: It's definitely a point to keep the authors intended order.
  • Replyindent
    Sylvain Hi

    Sylvain Hi said over 11 years ago:

    Yeah, I've been busy lately! I'm working on it, so the new version should be there soon :)
  • Sylvain Hi

    Sylvain Hi said over 11 years ago:

    New version is out! ;)
  • Nirfin

    Nirfin said over 11 years ago:

    Hi Sylvain, sorry it took so long to reply. The changes are great! One thing I found out - don't know if it is a general maya related bug.. if you start a new scene and try to make a new material via the "assign new material" command from the hotbox menu, the parameter slot for selecting the shader program is missing in the attribute editor. If you're making a new cgfx material in hypershade first, everything is fine. Nothing thats critical, just wanted to say. Did I say that it is a nice script? ;-)
  • Replyindent
    Sylvain Hi

    Sylvain Hi said over 11 years ago:

    Thanks! It's definitely a bug in the script, I'll check it out and try to fix asap. Thanks again for the feedback.
  • Sylvain Hi

    Sylvain Hi said over 11 years ago:

    Version 1.2 released! That bug is fixed + I did a small optimization when opening the shader file

Post a reply: