www.BinaryAlchemy.de :: View topic - enhancement: Don't show up disabeled channels in rrControl
 SearchSearch   RegisterRegister  ProfileProfile   UsergroupsUsergroups   Log inLog in 
If you create a new post, please use a topic that describes your problem
Documento sin título
 
enhancement: Don't show up disabeled channels in rrControl

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.BinaryAlchemy.de Forum Index -> old - RR Requests - v6.x
View previous topic :: View next topic  
Author Message

Andy Bö



Joined: 27 Sep 2010
Posts: 42
Location/Company/Country: Hamburg /Germany

PostPosted: Wed Jul 18, 2012 9:06 am    Post subject: enhancement: Don't show up disabeled channels in rrControl Reply with quote

Hi Holger,

it leads often to irritations that disabled Render Channels (SI Pass Options) show up in the rrControl.

Is it possible to build in a filter, which filters the disabled channels, so they don't show up in the JobInfo of rrControl?

Andreas
Back to top
View user's profile Send private message

schoenberger
Site Admin


Joined: 02 Mar 2005
Posts: 3785

PostPosted: Wed Jul 18, 2012 10:16 am    Post subject: Reply with quote

Hi

I just checked. According to the Submission script that you use in Softimage, disabled channels are not send to the rrSubmitter.
How do you submit?

regards,
_________________
Holger Schönberger
Binary Alchemy - digital materialization
Back to top
View user's profile Send private message Send e-mail

Andy Bö



Joined: 27 Sep 2010
Posts: 42
Location/Company/Country: Hamburg /Germany

PostPosted: Wed Jul 18, 2012 10:33 am    Post subject: Reply with quote

hi!

ohw ok. so it might be a problem on our site. to submit, we use the rrSubmit_Softimage_6.0+.js plugin which is a little bit modified for proper workgroup setting.

that's what we've changed:

Code:

function exportPassToXML(nr,passes,sceneInfo,fil,CameraName,LocalTextureFile)
{

    fil.WriteLine("<Job>");
    if ((Application.Platform == "Win32" ) || (Application.Platform == "Win64" )) {
   writeNode(fil,"SceneOS", "win");
    } else {
   writeNode(fil,"SceneOS", "lx");
    }

    writeNode(fil,"Software", "Softimage");
    writeNode(fil,"Version", sceneInfo.version);
    writeNode(fil,"SendAppBit", sceneInfo.appBit);
    writeNode(fil,"Renderer", passes.p[nr].renderer);
    writeNode(fil,"RequiredPlugins", passes.p[nr].requiredPlugins);
   
   ///////SF_Custom/////////

   
   aWorkgroups = new VBArray( Application.Workgroups ) ;
   cntWorkgroups = aWorkgroups.ubound( 1 ) + 1
   var strWorkgroupPath = "";
   for ( var i = 0 ; i < cntWorkgroups ; i++ )
   {               
        strWorkgroupPath = strWorkgroupPath + aWorkgroups.getItem( i )
      if(i == cntWorkgroups-1){
      }
      else{
      strWorkgroupPath = strWorkgroupPath + ";"
      }
   }
   strWorkgroupPath = strWorkgroupPath.replace(/\134/g,"/");
   writeNode(fil,"CustomA", strWorkgroupPath);
   //logmessage(strWorkgroupPath);
   
   ///////SF_Custom/////////

   
   
    writeNode(fil,"SceneName", sceneInfo.filename);
    writeNode(fil,"SceneDatabaseDir", sceneInfo.database);
    writeNode(fil,"Layer", passes.p[nr].name);
    writeNode(fil,"Camera",CameraName);
    writeNode(fil,"IsActive",passes.p[nr].selected);
    writeNode(fil,"SeqStart",passes.p[nr].seqStart);
    writeNode(fil,"SeqEnd",passes.p[nr].seqEnd);
    writeNode(fil,"SeqStep",passes.p[nr].seqStep);
    writeNode(fil,"SeqFileOffset",passes.p[nr].seqFileOffset);
    writeNode(fil,"SeqFrameSet",passes.p[nr].frameSet);
    writeNode(fil,"ImageWidth",passes.p[nr].imageWidth);
    writeNode(fil,"ImageHeight",passes.p[nr].imageHeight);
    writeNode(fil,"ImageFilename",passes.p[nr].imageFilename);
    writeNode(fil,"ImageFramePadding",passes.p[nr].framePadding);   
   if ((passes.p[nr].imageFilename.charAt(passes.p[nr].imageFilename.length-1)=='_')) {
      writeNode(fil,"ImagePreNumberLetter","_");   
   } else writeNode(fil,"ImagePreNumberLetter",".");   

    writeNode(fil,"OverrideImageFormat",passes.p[nr].overrideImageFormat);
    if (passes.p[nr].fields) {
        writeNode(fil,"ImageExtension",".2"+passes.p[nr].imageExtension);
    } else {
        writeNode(fil,"ImageExtension",passes.p[nr].imageExtension);
    }
    for (var c =0;  c < passes.p[nr].channelsMax; c++ ) {
        writeNode(fil,"ChannelFilename",passes.p[nr].channel[c].imageFilename);
        writeNode(fil,"ChannelExtension",passes.p[nr].channel[c].imageExtension);
    }
    writeNode(fil,"LocalTexturesFile",LocalTextureFile);   
    fil.WriteLine("</Job>");
}
Back to top
View user's profile Send private message

schoenberger
Site Admin


Joined: 02 Mar 2005
Posts: 3785

PostPosted: Wed Jul 18, 2012 10:45 am    Post subject: Reply with quote

Ok, you can keep that part of your custom script, this is not adding the issue.
The important function is:

function RRgetPassesInfo(sceneInfo)
.
.
.
for (var c =0; c < oChannels.Count; c++ ) {
if (Getvalue(oChannels(0).Enabled)) {
passes.p[passes.max-1].channelsMax++;


I do not know when you edited the script, but perhaps you should check the original one and then update your script.
There have been other changes, too.
_________________
Holger Schönberger
Binary Alchemy - digital materialization
Back to top
View user's profile Send private message Send e-mail

Andy Bö



Joined: 27 Sep 2010
Posts: 42
Location/Company/Country: Hamburg /Germany

PostPosted: Wed Jul 18, 2012 11:04 am    Post subject: Reply with quote

ah ok. it is possible that I have changed an old version of the script and spread it all over the workstations. I'll check that during the day. thanks! Wink
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.BinaryAlchemy.de Forum Index -> old - RR Requests - v6.x All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 
Documento sin título
 



Powered by phpBB © 2001, 2002 phpBB Group



Number of shameful bots caught by Anti-Spam ACP: 1667