Martin,

I just dug through a whole bunch of this for the ExportPS module I wrote. It actually is the fact that any off screen rendering cannot support the OpenGL rendering. It must be rendered on screen (no code for offscreen OpenGL support has been written). So often what has to happen is the updated Camera and Object have to be supplied to Display and then the ReadImageWindow module has to be used to write the resultant image.

David

On Thu, 2004-09-30 at 12:03, Giulio Antonutto wrote:
 I am connecting 'option module' to 'image module' with:

 attribute, value
 "rendering mode", "hardware"
 "antialias", "lines"
 "line width", "2"

 and the image looks correct on the sceen (openGL).

 Now I would like to save it in a much higher resolution and to do that I am
 using the option 'allow rendering' on the image control panel.
 Unfortunately the resulting image has not antialias and the lines are 1
 pixel thin.
I wonder if the problem is DXROOT/lib/dxfSaveCurrentImage.net.  This
is the macro that's secretly used to 'Allow Rerendering' then save.
It extracts the previously rendered object from cache using the
GetScene module (to which users don't
have access) and provides that as input to the Render module. Maybe the object that is
cached by the Image module doesn't have Options saved inside?  That
would mean that GetScene isn't supplying them to Render.

Hmmm.

Martin


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472

Reply via email to