To do hardware rendering in with dx script, you must add Options before sending to Display.

myImage = Options("rendering mode", "hardware");
Display(myImage, camera);

Are you using a 64 bit OS with this system? If so, I'd bet that somewhere a long vs int problem is causing this.

David

Ulrich Ölmann <[EMAIL PROTECTED]> writes:

 I am not an advanced DX user therefore I know nothing about the
 scripting possibilities you are using. In the networks I build in the
 visual program editor I use the 'image' module to produce the
 graphics. Doing so an 'image' window opens when the program is
 run. If I choose 'Options --> Rendering Options...' in the menu I can
 choose between software and hardware rendering. I encountered strange
 black lines comparable to yours before when I switched from one to the
 other and reexecuted the visualization network.

 Would be interesting to know if this resolves your problem! And it
 would perhaps explain why other people with other graphics hardware do
 not see this black line.

 Greetings to Heidelberg
 Ulrich Oelmann

I looks as if you are right, it is a rendering problem. One strange thing
is that when I start DX in interactive mode, I do not see the diagonal line
(but the color of the square is white).  Then when I open the "Rendering
Options" window, choose "Software Rendering" (i.e. do nothing because it is
the default) and "Execute Once" to redisplay, the diagonal line is there.
Switching to hardware rendering gives the picture without diagonal (and the
color is changed to blue).  But I do not know how I can force hardware
rendering from within dx/script (I have tried several things which did not
work).  Maybe this indicates that some libraries for hardware rendering are
not found by dx/script?

Hmm, maybe I should face now the task of interfacing my PDE solver to the
GUI-DX via DXlink...  I'll ask some questions in a separate message.

Thank you, Nicolas.


--
.............................................................................
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