To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10495
10494  |  10496
Subject: 
Re: Bug in LDGlite?
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 5 Oct 2006 13:28:24 GMT
Viewed: 
3010 times
  
In lugnet.cad, Willy Tschager wrote:
any ideas what's wrong with this batch file:

set LDGLITE_EXE="C:\Programme\MLCad\LDGLite 1.1.8\ldglite"

for %%a in ("MOTM_*.dat","MOTM_*.ldr","MOTM_*.mpd" ) do %LDGLITE_EXE%  %%a -fh
-v10240,7680 -s2 -z-6000 -Z6000 -i1 -q -cg25,45,0 -mS%%~na1.png
for %%a in ("MOTM_*.dat","MOTM_*.ldr","MOTM_*.mpd" ) do %LDGLITE_EXE%  %%a -fh
-v10240,7680 -s2 -z-6000 -Z6000 -i1 -cg25,215,0 -mS%%~na2.png

the outputs are:

http://www.holly-wood.it/tmp/MOTM_9281.png (450 KB)
http://www.holly-wood.it/tmp/MOTM_9281.png (307 KB)

I run this on a:

Vendor: Matrox Graphics Inc.
Renderer: Matrox G400
Version: 1.1.3 Jul 30 2003

BTW rendering this on a Radeon 9000 Mobil with the latest Omega
drivers it takes ages to render and it slowly fills up my memory
'til it occupies almost 600 MB.
is it the batch file, the machine or LDGlite 1.1.8

My first guess would be the -z-6000 arg.  I think this places the near
clipping plane way back behind the camera.   What you want to do is
put it in front of the camera, as far out as you can without clipping
the model, so you squeeze the space between the near and far clip planes
as tight as possible.  That way you get the most precision for the
Z coords and you avoid the edge line bleeding.  The readme.txt file
says the default value is either 10 or 100 depending on the number of
depth bits.  I'd try using the default first, then if you have a problem
use something closer to zero (but still positive so it's in front of
the camera).

I believe Ldview and some of the more modern renderers actually
calculate optimal near and far clipping planes for you.  I never got
around to implementing that, but the defaults work pretty well for all
but the largest models.

Have fun,

Don



Message is in Reply To:
  Bug in LDGlite?
 
hi, any ideas what's wrong with this batch file: set LDGLITE_EXE="C:\Prog...ad\LDGLite 1.1.8\ldglite" for %%a in ("MOTM_*.dat","MOTM_...OTM_*.mpd" ) do %LDGLITE_EXE% %%a -fh -v10240,7680 -s2 -z-6000 -Z6000 -i1 -q -cg25,45,0 -mS%%~na1.png for %%a in (...) (18 years ago, 4-Oct-06, to lugnet.cad, lugnet.cad.dev)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR