[Maya2osg-users] osgpreview, UI and flags
Status: Alpha
Brought to you by:
jtaibo
From: Peter W. <pp...@cg...> - 2011-05-21 11:43:17
|
Hi all, first its nice to have the osgpreview as maya command :-) I would like to add some stuff to it. I'm using 2 Monitors and would like to preview on one of them in full screen, this is perfectly possible with the osgpreview flags, but there's no way to pass them from the ui. I would like to add an optionMenu to the preview command textfield, which changes the behavior of the command field, with these options: Mel: current behaviour Pyth: corresponding Python script Exec: which would take an os command ( like "osgviewer --flags file" ) without the need of "exec" infront of it Flag: this would call osgpreview with flags entered inside the textfield, overriding those hardcoded in the export script Edit: ( maybe ) this would pop up a bigger window for editing text, in the case one of the above needs more space Moreover, Javier, I would like to either merge the maya2osg_preview script with maya2osg_export script, or reorganize in both of the scripts, in one UI script and one export commands script, what do you think ? Cheers, PP |