crop setproperty

   904   1   0
User Avatar
Member
2 posts
Joined: Oct. 2011
Offline
Hi,
can anybody tell me why this doesn't work?


#filename: mantra.py

import sys,mantra
mantra.setproperty('renderer:crop',)


in


mantra -P mantra.py -f test.ifd


I would like to render a specific region but don't want to recreate an IFD so it has to be done by argument.

What would be even better if there is a command to render a specific bucket or tile by ID.

Thanks in advance
User Avatar
Member
2 posts
Joined: Oct. 2011
Offline
Okay, I solved my problem for the crop, I got a little bit confused which set property needed to be in a function call and which not…

here is the solve:


def filterCamera():
mantra.setproperty('renderer:crop',)


But still I like to know how to determine the the bucket id /tile index by argument, there must be a solution. I mean you can control the bucket stream by clicking in the interactive Mplay rendering, right!?

Any ideas?

Cheers
  • Quick Links