Re: [Maya2osg-users] Customized GLSL shaders
Status: Alpha
Brought to you by:
jtaibo
From: Peter W. <pp...@cg...> - 2011-05-27 19:25:49
|
Hi Javier, > If you didn't change it in revision 202, then svn is lying :) Yeeees, caught in the act, I was lying big time :-) nope, sorry, serach and replace was my doom ! Will fix it right away. > > What are you editing CMake for? > I added a mel script called maya2osg_utility mel, and want to make sure that it gets installed like the other scripts. But if CMake is so sensitive it might be better to ask you for these things. > Careful! Some of these are CMake scripts and others are generated by > CMake (you can delete it without problem, and they are not in svn). > Probably you only would need to edit the CMakeLists.txt file in the > Maya2OSG root directory. Some of these files are for the Windows > installer contributed by Ryan Pavlik in the osg-users mailing list. > See this page: > > https://sourceforge.net/apps/mediawiki/maya2osg/index.php?title=Windows_installer Hm, for that purpose I downloaded the svn in a new folder and searched all the files for entry of the maya2osg_scripts. I read the wiki but still not sure what I need to edit. Could you tell me once so I know for feature please ? > Right, I tried to explain it in this page: > > https://sourceforge.net/apps/mediawiki/maya2osg/index.php?title=Shading_Networks#Custom_GLSL_code > > If you don't find it clear or want to add something, feel free to edit it. Cool, fist thing I will do in my holidays is learning the wiki, there is a lot of information that I am still not aware of. Its well enoght explained, and a cool concept. Do you still plan to give the option of completetly overwriting a shader ? I really should write something about the polygon export too ... >> In an earlier mail you mentioned that the injection happens if ALL the >> textfields do specify a file, is this correct ? >> Is there in no case, where one wants to just overwrite the Fragment >> color, without the need for any other ( Declare / Compute ) requirement ? > No, no, no... I didn't say anything like that. Once you enable the > "custom code" check box, then the fields that have any valid content > will be used, the others will be simply ignored. If you don't pass any > of these options to Maya2OSG, it just ignores the corresponding piece > of code (doesn't remember the last value as other options). > Missunderstood you here, but this is the behaviour I would expect. Cheers, PP |