POV-Ray : Newsgroups : moray.win : Q: memory settings in configuration dialog : Re: Q: memory settings in configuration dialog Server Time
28 Jul 2024 22:25:05 EDT (-0400)
  Re: Q: memory settings in configuration dialog  
From: Lutz Kretzschmar
Date: 22 Dec 1999 05:15:06
Message: <3861a43a.7590905@194.174.214.110>
Hi michael mccue, you recently wrote in moray.win:

>  I am trying to get moray to act a little snappier. I have 256Mb RAM and run
> winNT4. What should I assign for vertcal and horizontal settings?
Vertical and Horizontal settings? What's that?

Below is a copy of a message in an earlier thread about optimizing the
redraw speeds.

- Lutz

----------------

The two redraw numbers on View->Configuration->Advanced are the key to
getting Moray's redraw going optimally on your system.

To optimize the redraw do this (use Alt-O, Ctrl-Shift-Tab to get to
the dialog):

-Set the "Minimum number of lines to draw before refreshing" setting
and the "Maximum number of lines to draw before refreshing" setting to
the same number (say 4000).

- Click OK and zoom and pan a 2D viewport.

- If it feels snappy go back and increase the numbers by 1000. Ignore
the total redraw time. Repeat until .....

- You will notice that at some point the view will start lagging
behind the mouse movements. You want to find a point where this is not
quite noticeable to you.

- Now increase the "Maximum...." number to control the total redraw
time for the scene. For example, try setting it to 100000. You will
see that the view is still responsive while panning and zooming, but
once you stop panning and hold the mouse still, the redraw finishes in
very few "steps". If you move the mouse during the redraws there will
be a lot more steps.

The way that it works is that Moray draws the minimum lines into an
off-screen buffer and will then show that buffer on the screen (that's
what the "Minimum" number controls). After that Moray will check to
see whether you are moving the mouse and if you aren't it will draw
the "Maximum" number of lines to the off-screen buffer and will then
show that. If you move the mouse, only the "Minimum" amount is drawn.
While attempting to draw the "Maximum" amount, Moray will check the
mouse every "Minimum" lines.

I have my settings at 10000 and 100000. My benchmark scene has 241300
edges and it redraws a single view in about a second (PII/266, 128MB)
and all four views in about 4 seconds if I keep the mouse still and 6
seconds if I move it. 

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.