Elang,
I had seen discussion on this in the past. At that time the only option was generating a screen grab where you can
"isolate" the background easy enough to create your objects as needed.
This script gets rid of all viewport clutter and sets it to a "grey" color.
Then easy enough in Corel or other software to mask that color and remove it,
or invert it to extract just your object to place in a transparent background
(I think for some reason, this script is better than a "White" background..... Not sure)
code:
script:var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 3; moi.grid.display = false; moi.view.meshAngle = 5.0; moi.grid.showXYAxes = false; moi.view.showHiddenLines = false; moi.view.lightingStyle = 'CustomLevels'; moi.view.customKeyLightLevel = 100.0; moi.view.customFillLightLevel = 100.0; v.renderToClipboard(2048, 2048 ); moi.view.lineWidth = 1; moi.grid.display = true; moi.view.meshAngle = 10.0; moi.view.lightingStyle = 'Default'; moi.grid.showXYAxes = true; moi.view.showHiddenLines = true; }
This was a long time ago though. There may be a simple method now to do what you want, Lets watch for the answer
|