Jump to content

Renderer Creation Script


Lukich

Recommended Posts

hi there. i want to create a simple script that will create a renderer with predefined parameters (resolution, pixel aspect ratio, etc). it all looks fine except for one part - i'm trying to turn off micropolygon rendering (mantra -r). it seemed to me that the command to set it would be

opset - r on mantra1

but it doesn't seem to be doing anything. do you guys know what am i doing wrong?

thank you very much,

luka

Link to comment
Share on other sites

actually, if i do opscript, the -r option changes from off to on, but the change does not reflect in the Render Command line of a parameter window.  does it mean it'll work?

18681[/snapback]

You were on the right direction with the mantra -r. However, it's the opparm command you want to use. For example:

opparm mantra1 command ( 'mantra -r' )

The '-r' option in opset is to toggle the render flag of an OP.

:D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...