Ralf61 opened this issue on Nov 13, 2004 ยท 6 posts
ockham posted Sat, 13 November 2004 at 10:45 AM
There's one obvious error: you need the
parentheses on AntialiasNow because it's
a function call.
Also, I don't think you need the DrawAll,
because the AntialiasNow does its own draw.
But even after that, I agree that the
antialiasing action is NOT happening.
Here's how I'd write it:
import poser
scene=poser.Scene()
scene.AntialiasNow()
scene.SaveImage("tif",name)
You may need to do a full render.
Bear in mind that RenderToNewWindow
works in Python, but there's no
way to save the NewWindow as a file.
(This is a really bad problem with
the Poser setup itself.)
You'll have to be sure RenderToNewWindow
is off, then render to the document
window, then save as you have done.
import poser scene=poser.Scene() scene.SetRenderToNewWindow(0) scene.Render() scene.SaveImage("tif",name)
Message edited on: 11/13/2004 10:52