Render to clipboard, with the UseThinAntiAliasing on ?

Next
 From:  PaQ
6716.1 
Hi Michael,

I'm actually using this script to grab into the clipboard my models :

F12=script:var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 6000, 6000 ); moi.view.lineWidth = 1; }

For my taste I find the curves line a little bit too large. I have tried to reduce the moi.view.lineWidth value below 1 (0.1 , 0.5), but it doesnt change anything in the capture.

For my viewport I'm using the UseThinAntiAliasing=y + LineWidth=0.1

I'm wondering if it's possible to include this options somewhere into the command, but I'm not sure how to do it. (I have tried myself, but all I can do is to broken the script :P).

Thanks.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  PaQ
6716.2 
Ok stupid me ! I have to change the value of the first moi.view.lineWidth (set to 4 in the script).

Nevermind !
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
6716.3 In reply to 6716.2 
Hi PaQ, no problem! Yes the script sets the line width to be wider for the high resolution screencap, but if you just set it to 1 (or just remove the spots where it sets it entirely), that should make quite thin lines on such a high res image.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All