Hi Michael
So, I have a bit of a feature request :)
I just saw, in PaQ's thread, this script:
script: /* render view to clipboard */ var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 2560, 2560 ); moi.view.lineWidth = 1; }
And it got me excited - because it's almost exactly what I need...
So I make games, and many have small graphics, so they don't need a high quality renderer with fancy features - as they're generally so small (30x30 for a tank, etc.) that you can't really make out the detail anyway.
So I was wondering if you could extend this current rendertoClipboard function to add a few features? :D
Here's my little list of things...
- Render with lineWidth = 0 (I tried setting it to 0, but I think it's limited to a min width of 1)
- Render with transparent background
- Render with all on-screen displays turned off (viewport labels, grid, xyz icon, etc.)
- Anti-alias edges of shapes (perhaps you could use the graphics card to do this? or is it all software rendered?)
- Choose shading style - eg. default, none (100% colour), smooth, etc.
Possible? :)
I think a basic MoI renderer would be awesome!
|