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 / 6479
6478  |  6480
Subject: 
Re: Using LDGLite with Xvfb
Newsgroups: 
lugnet.cad.dev, lugnet.off-topic.geek
Date: 
Sun, 14 Oct 2001 14:49:33 GMT
Viewed: 
491 times
  
I wrote:

The aspect ratio of the "screen" is quite different from
ordinary monitors. When I tried to use taller "screens", the
pictures seemed to be squeezed, so the bricks appeared
flatter/wider than they should. I haven't tried making the
"screen" even wider yet.

Making the screen even wider was not a practical solution. There
is a screen width limit somewhere between 2048 and 4096 pixels.
Now I simply made Xvfb work with a 2048 by 2048 pixel display:

   Xvfb :9 -screen 2048x2048x24 -ac

This gives problems with squeezed bricks, but I remembered that
that can be fixed by adjusting the orientation matrix (the "-a"
parameter) passed to LDGLite. Multiplying the 2nd, 5th and 8th
number in the matrix by 2 seems to do the job:

   setenv DISPLAY localhost:9.0
   ldglite -l3 -ms -s2 -w2 -a1,0,-1,-0.5,2,-0.5,1,0,1 butik.mpd

This matrix is still not quite optimal, but I haven't found a
more suitable one yet.

Play well,

Jacob
--
http://jacob.sparre.dk/LEGO/By/Huse/Bunden_og_Kanden/



Message is in Reply To:
  Using LDGLite with Xvfb
 
I have experimented a bit with using Xvfb as X server for LDGLite. It seems to work, but there are some things to be aware of. I start Xvfb with the command: Xvfb :9 -screen 0 2048x1280x24 -ac "-ac" means that there is no access control. That's kind (...) (23 years ago, 14-Oct-01, to lugnet.cad.dev, lugnet.off-topic.geek)

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