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 / 6484
6483  |  6485
Subject: 
LDGLite bug report: Setting of z clipping plane without any effect
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 14 Oct 2001 19:16:18 GMT
Viewed: 
341 times
  
I have played around with running LDGLite as a pure command line
tool by redirecting its output to a virtual X server (Xvfb).
This works fine once you figure out how to generate the
appropriate orientation matrices to compensate for unusual
aspect ratios, but with one combination of a MPD file and an
orientation matrix I run into problems with the near z clipping
plane.

Download

   http://jacob.sparre.dk/LEGO/By/Huse/Bunden_og_Kanden/butik.mpd

and try to run LDGLite with these parameters:

   ldglite -l3 -a-1.212,0,-0.702,-0.451,1.609,0.778,0.538,1.349,-0.928 -o0,-100
-s2.0 -w2.0 -mc butik.mpd

It is not the wierd look that is the problem (thats to compensate
for Xvfb's wierd aspect ratio), but the clipping of the door
upstairs. If you then try to move the near and far z clipping
planes:

   ldglite -z-4000 -Z4000 -l3
-a-1.212,0,-0.702,-0.451,1.609,0.778,0.538,1.349,-0.928 -o0,-100 -s2.0 -w2.0
-mc butik.mpd

LDGLite reports that it has changed the location of the z
clipping planes - "ZClip = (-4000, 4000)" - but the result
remains the same.

May I guess that the near z clipping plane can not be closer than
0?

Would it be practical to extend the "-o" argument with an
optional z offset to compensate for that?

Play well,

Jacob
--
http://www.ldraw.org/download/start/linux/



Message has 1 Reply:
  Re: LDGLite bug reports
 
(...) Wow! Lots of bugs reports all at once. Where do I start? I don't know what's up with xvfb the aspect ratio problem. It seems odd since you can reshape an ldglite window and the aspect ratio is handled correctly. I guess I'll have to get xvfb (...) (23 years ago, 15-Oct-01, to lugnet.cad.dev)

4 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