View Full Version : image filename options -- custom tokens?
rxgeez 12-03-2009, 02:02 AM I wanted to find out if its possible to create custom tokens that can be called in the image filename field.
Currently there:
<RenderLayer>
<Scene>
<Camera>
<RenderPassFileGroup>
<RenderPass>
<RenderPassType>
<Extension>
<Version>
Any ideas if there is a way to create your own custom tokens?
|
|
Chadrik
12-03-2009, 04:08 AM
yes, but it may take some hacking of default maya mel scripts, which hopefully doesn't scare you off because it's pretty common practice.
the mel command that generates the render file name is "renderSettings". it has a flag called customTokenString that lets you add new tokens. if you search around in maya's scripts directory you should find this command used a few places, and it should reveal how the newer tokens -- <RenderPass>, <RenderPassType>, etc -- are being added.
-chad
CGTalk Moderation
12-03-2009, 04:08 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.