<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.zenerves.net/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://wiki.zenerves.net/index.php?action=history&amp;feed=atom&amp;title=Lego_bricks</id>
		<title>Lego bricks - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.zenerves.net/index.php?action=history&amp;feed=atom&amp;title=Lego_bricks"/>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Lego_bricks&amp;action=history"/>
		<updated>2026-08-14T16:22:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Lego_bricks&amp;diff=110&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Lego_bricks&amp;diff=110&amp;oldid=prev"/>
				<updated>2011-10-14T23:59:11Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:59, 14 October 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Lego_bricks&amp;diff=109&amp;oldid=prev</id>
		<title>Lola at 21:24, 14 October 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Lego_bricks&amp;diff=109&amp;oldid=prev"/>
				<updated>2011-10-14T21:24:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Background info: PC running Arch Linux up-to-date; nvidia proprietary drivers (sorry) with TwinView; most knowledge fished from http://www.ldraw.org and http://www.hassings.dk/l3/l3p.html&lt;br /&gt;
&lt;br /&gt;
=DOES NOT WORK=&lt;br /&gt;
&lt;br /&gt;
''ARCH December 2010''&lt;br /&gt;
&lt;br /&gt;
'''l2rib''' native linux doesn't output useable files for renderman, pixie, 3delight&lt;br /&gt;
&lt;br /&gt;
'''pixie''' is just a viewer, and a pale one at that&lt;br /&gt;
&lt;br /&gt;
'''3delight''' installs in /opt, misses everything it needs to work&lt;br /&gt;
&lt;br /&gt;
'''ldview 4 and 4.1''' crash, or fail to display model properly&lt;br /&gt;
&lt;br /&gt;
'''LeoCAD''' segfaults all the time; build is with no issues, but can't indert a piece on the board.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''U10.10''&lt;br /&gt;
&lt;br /&gt;
'''LeoCAD''' doesn't compile on Ubuntu 10.10 with the appropriate requirement for lbpng, zlib, libjpeg + GTK2 and OpenGL/libGL.so&lt;br /&gt;
&lt;br /&gt;
=somehow OK=&lt;br /&gt;
&lt;br /&gt;
''Arch December 2010''&lt;br /&gt;
&lt;br /&gt;
'''ldview 3.1''' is OK after manually linking absolutely all needed libraries by hand&lt;br /&gt;
&lt;br /&gt;
'''l3p''' works if and only if ''export LDRAWDIR=/home/jarch/bin/ld/ldraw'' was done beforehand (need to find a way to get this permanent)&lt;br /&gt;
&lt;br /&gt;
Examples of code are:&lt;br /&gt;
&lt;br /&gt;
 ./l3p ./models/car.dat &lt;br /&gt;
&lt;br /&gt;
from the ldraw folder&lt;br /&gt;
&lt;br /&gt;
=just works=&lt;br /&gt;
&lt;br /&gt;
'''MLCAD''' under wine, with about any version, on any Linux machine I ever tried. Always works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''U10.10'' &lt;br /&gt;
&lt;br /&gt;
'''LDView''' is ok from .deb, needs just one dep.&lt;br /&gt;
&lt;br /&gt;
=Notes=&lt;br /&gt;
&lt;br /&gt;
* Build aliases in .bashrc rather than putting all that stuff in /usr/bin&lt;br /&gt;
* Most nixes do have some povray util&lt;br /&gt;
&lt;br /&gt;
 The basic LDraw views can be represented by these Latitude,Longitude pairs: &lt;br /&gt;
 Front=0,0 Right=0,-90 Left=0,90 Back=0,180 Over=90,0 Under=-90,0. &lt;br /&gt;
 The 3D view can e.g. be 45,45 or 30,45.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Workin' like this:&lt;br /&gt;
&lt;br /&gt;
 [jarch@DC266 ldraw]$ rm 850.png &amp;amp;&amp;amp; rm 850.pov &amp;amp;&amp;amp; l3p -cg35,-15 -b1 ./models/850.ldr -sw2 &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -B -visual DirectColor &amp;amp;&amp;amp; display 850.png&lt;br /&gt;
&lt;br /&gt;
==lexicon==&lt;br /&gt;
&lt;br /&gt;
'''CG(xxx),(xxx),(xxx)'''=Orientation '''-b(xx)'''=background '''ca(xxx)'''=focal lens '''-f'''=shadows, ground nocolor, sky follows -b(x) color '''-q(xxx)'''=Level of Details, quality&lt;br /&gt;
&lt;br /&gt;
'''lc(xxx),(xxx),(xxx),(0,xxx),(0,xxx),(0,xxx),'''=lights position and colour in RGB&lt;br /&gt;
&lt;br /&gt;
* -visual DirectColor is to avoid compositing engines to render the background transparent.&lt;br /&gt;
&lt;br /&gt;
'''Background'''&lt;br /&gt;
* -b0 is dark grey-ish -- as is -b7 boring Light Grey and -b8 Darker Shade Of Ennui&lt;br /&gt;
* -b1 is the atrocious blue at the back -- -b9 is plainer Blue&lt;br /&gt;
* -b2 is hideous green&lt;br /&gt;
* -b3 being the Bastard child of them both -- as is -b11, only lighter&lt;br /&gt;
* -b4 is a red that would make a fireman puke&lt;br /&gt;
* -b5 fucking pink.&lt;br /&gt;
* -b6 brown. eurgh.&lt;br /&gt;
* -b10 freakin' Lime Yellow&lt;br /&gt;
&lt;br /&gt;
'''Bloat'''&lt;br /&gt;
* '''-sw'''0 (try -sw45) will deform the pieces. ?WTF? ''See below :)''&lt;br /&gt;
&lt;br /&gt;
'''Orientation''': sample -cg35,-15,-50&lt;br /&gt;
* -cg35 is vertical rotation 90 is vertical above the object&lt;br /&gt;
* -15 horizontal rotation -try -125&lt;br /&gt;
* -50 is distance to object ''must be negative value, of course''&lt;br /&gt;
&lt;br /&gt;
'''Quality'''&lt;br /&gt;
* -q100 seems 'normal' -- try q00 for fun.&lt;br /&gt;
&lt;br /&gt;
'''Lights''': -lc30,120,0,0.996,0.675,0.906&lt;br /&gt;
* -lc30,120,0, that I guess is same like Cam position&lt;br /&gt;
* 0.996,0.675,0.906 this is more fun: colour :)&lt;br /&gt;
&lt;br /&gt;
==render recipes==&lt;br /&gt;
&lt;br /&gt;
Indeed full 90° up, object facing 'south', all straight.&lt;br /&gt;
  '''l3p -cg90,-00 -sw0 -b0 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -visual DirectColor''' &lt;br /&gt;
&lt;br /&gt;
Cool frontal aggression.&lt;br /&gt;
  '''rm 850.png &amp;amp;&amp;amp; rm 850.pov &amp;amp;&amp;amp; l3p -cg335,-00 -sw0 -b5 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -visual DirectColor &amp;amp;&amp;amp; display 850.png'''&lt;br /&gt;
&lt;br /&gt;
Delirious Cam Focale&lt;br /&gt;
  '''l3p -cg335,-00 -b5 -ca100 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov'''&lt;br /&gt;
&lt;br /&gt;
Shadows, reflexions, sky, delirious camera angle and focal: its too much.&lt;br /&gt;
  '''l3p -cg340,-225 -ca100 -f -b7 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -visual DirectColor &amp;amp;&amp;amp; display 850.png'''&lt;br /&gt;
&lt;br /&gt;
Oops, 'set the level of details a bit too low I think...&lt;br /&gt;
  '''l3p -cg45,-45 -ca10 -f -b0 -q00 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -visual DirectColor &amp;amp;&amp;amp; display 850.png'''&lt;br /&gt;
&lt;br /&gt;
Adding some colour to light&lt;br /&gt;
  '''l3p -cg00,45,-50 -lc30,120,0,0.996,0.675,0.906 -f -b7 -q4 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -visual DirectColor &amp;amp;&amp;amp; display 850.png'''&lt;br /&gt;
&lt;br /&gt;
A quite passable play at colours&lt;br /&gt;
   '''l3p -cg344,35,-5 -lg25,135,00,0.996,0.675,0.906 -lg60,270,-10,0.400,0.400,0.800 -fg -b7 -q4 ./models/850.ldr &amp;amp;&amp;amp; povray 850.pov -H600 -W800 -visual DirectColor &amp;amp;&amp;amp; display 850.png'''&lt;br /&gt;
&lt;br /&gt;
Cool Warm/Cold light:&lt;br /&gt;
  '''l3p -o -b7 -fg -q10 -cg30,35,-25 -lg60,0,999,0.3,0.3,1 -lg05,90,80,1,0.3,0.5 -lg05,90,80,0.5,0.15,0.25 -lg80,180,999,0.3,0.3,1 -lg80,270,999,0.3,0.3,1 ./block.ldr'''&lt;br /&gt;
&lt;br /&gt;
==The L3P -h file==&lt;br /&gt;
 &lt;br /&gt;
 L3P (Linux) v1.3 20021201  (C) 1998-2002 Lars C. Hassing  lch@ccieurope.com&lt;br /&gt;
 Usage: l3p [options] modelpath [povpath] [options]&lt;br /&gt;
  '''-b'''[&amp;lt;color&amp;gt;] background color, default color is 0, -b gives 0.3,0.8,1&lt;br /&gt;
  '''-c'''&amp;lt;color&amp;gt; default part color, default color is 7&lt;br /&gt;
  '''-bu''' bumps&lt;br /&gt;
  '''-sw'''&amp;lt;w&amp;gt; seam width, default is 0.5&lt;br /&gt;
  '''-f'''[&amp;lt;type&amp;gt;][&amp;lt;y&amp;gt;] floor at &amp;lt;y&amp;gt;, default y is just below model&lt;br /&gt;
  '''-cg'''&amp;lt;la&amp;gt;,&amp;lt;lo&amp;gt;[,&amp;lt;r&amp;gt;] camera globe position, default is 30,45,0&lt;br /&gt;
  '''-cc'''&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;lt;z&amp;gt; camera coordinates (location)&lt;br /&gt;
  '''-cla'''&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;lt;z&amp;gt; camera look_at coordinates&lt;br /&gt;
  '''-ca'''&amp;lt;a&amp;gt; camera angle, default is 67.38 degrees&lt;br /&gt;
  '''-lg'''&amp;lt;la&amp;gt;,&amp;lt;lo&amp;gt;,&amp;lt;r&amp;gt;[,&amp;lt;color&amp;gt;] lightsource globe position, default color is 15&lt;br /&gt;
  '''-lc''&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;lt;z&amp;gt;[,&amp;lt;color&amp;gt;] lightsource coordinates, default color is 15&lt;br /&gt;
  '''-ld''' always use default lightsources&lt;br /&gt;
  '''-l''' use positions and colors of light.dat files as lightsources&lt;br /&gt;
  '''-lgeo''' use LGEO parts wherever possible&lt;br /&gt;
  '''-p''' don't substitute any primitives in the P directory with POV equivalents&lt;br /&gt;
  '''-q'''&amp;lt;n&amp;gt; quality level 0..3, default is 2&lt;br /&gt;
  '''-w'''&amp;lt;n&amp;gt; set warning level 0..3, default is 0&lt;br /&gt;
  '''-sc''' StepClock, add &amp;quot;#if (clock &amp;gt; n)&amp;quot; at steps&lt;br /&gt;
  '''-enp''' exclude non-POV code generation (L3P IFNOTPOV)&lt;br /&gt;
  '''-o''' overwrite POV file if it already exists&lt;br /&gt;
  '''-check''' check modelpath for errors, Warning level is default 1.&lt;br /&gt;
         modelpath may be a directory, which is checked recursively.&lt;br /&gt;
         If no modelpath given all files in P and PARTS are checked.&lt;br /&gt;
  '''-dist'''&amp;lt;d&amp;gt; warn about non-coplanar quads with distance greater than &amp;lt;d&amp;gt;&lt;br /&gt;
  '''-det'''&amp;lt;d&amp;gt; warn about non-coplanar quads with determinant greater than &amp;lt;d&amp;gt;&lt;br /&gt;
  '''-stdout''' redirect stderr to stdout, must be first argument&lt;br /&gt;
  '''-pp''' print primitives, prints a list of the primitives having POV equivalents&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;la&amp;gt; latitude, 90=N=-y, -90=S=+y. &amp;lt;lo&amp;gt; longitude in xz, 0=-z, 90=E=+x, -90=W=-x&lt;br /&gt;
 &amp;lt;r&amp;gt; is radius. If not specified for camera it will be as close to model as&lt;br /&gt;
 possible, if negative then camera will be -&amp;lt;r&amp;gt;% further away. If zero for&lt;br /&gt;
 lightsource, the camera distance is used. You can specify many -lc/lg options.&lt;br /&gt;
 &amp;lt;color&amp;gt; is an LDraw color (including extended colors) or &amp;lt;r&amp;gt;,&amp;lt;g&amp;gt;,&amp;lt;b&amp;gt;.&lt;br /&gt;
 If povpath is not specified or is a directory, it will be modelfilename + .pov&lt;br /&gt;
 See also l3p.txt and http://www.hassings.dk/l3p&lt;br /&gt;
 (or http://www.ldraw.org/download/software/l3p)&lt;br /&gt;
 &lt;br /&gt;
L3P (Linux) v1.3 20021201  (C) 1998-2002 Lars C. Hassing  lch@ccieurope.com&lt;br /&gt;
&lt;br /&gt;
=links=&lt;br /&gt;
&lt;br /&gt;
 L3PAO by Jeff Boen (Onyx). L3PAdd-On is a graphical user interface for L3P. &lt;br /&gt;
 http://l3pao.malagraphixia.com &lt;br /&gt;
 http://www.ldraw.org/download/win/l3pao&lt;br /&gt;
&lt;br /&gt;
 POV-Ray. The Persistence of Vision Raytracer is a high-quality, totally free tool for &lt;br /&gt;
 creating stunning three-dimensional graphics. It is  available in official versions &lt;br /&gt;
 for Windows 95/98/NT, DOS, the Macintosh, i86 Linux, SunOS, and Amiga. &lt;br /&gt;
 The source code is available for those  wanting to do their own ports. &lt;br /&gt;
 http://www.povray.org&lt;br /&gt;
&lt;br /&gt;
 LGEO PovRay parts by Lutz Uhlmann: &lt;br /&gt;
 http://www.el-lutzo.de/lego/lgeo.html.&lt;br /&gt;
&lt;br /&gt;
 Fixed LGEO parts by Lars C. Hassing: &lt;br /&gt;
 http://www.hassings.dk/l3/lgeofix.html&lt;br /&gt;
&lt;br /&gt;
 LDAO by Steve Bliss: &lt;br /&gt;
 http://home.earthlink.net/~steve.bliss/ldao/ &lt;br /&gt;
 http://www.ldraw.org/download/win/ldao&lt;br /&gt;
&lt;br /&gt;
 LDLite by Paul Gyugyi: &lt;br /&gt;
 http://www.gyugyi.com/l3g0/ldlite/ &lt;br /&gt;
 http://www.ldraw.org/download/win/ldlite&lt;br /&gt;
&lt;br /&gt;
 LdGLite by Don Heyse. Making LDLite portable with OpenGL. &lt;br /&gt;
 http://ldglite.sourceforge.net &lt;br /&gt;
 http://www.ldraw.org/download/win/ldglite&lt;br /&gt;
&lt;br /&gt;
 MLCad by Michael Lachmann. The Windows CAD program. &lt;br /&gt;
 http://www.lm-software.com/mlcad/ &lt;br /&gt;
 http://www.ldraw.org/download/win/mlcad&lt;br /&gt;
&lt;br /&gt;
 LeoCAD by Leonardo Zide. Windows/Linux CAD program. &lt;br /&gt;
 http://www.leocad.org &lt;br /&gt;
 http://www.ldraw.org/download/win/leocad&lt;br /&gt;
&lt;br /&gt;
 LDView by Travis Cobbs. Real-time 3D OpenGL viewer. &lt;br /&gt;
 http://home.san.rr.com/tcobbs/LDView/ &lt;br /&gt;
 http://www.ldraw.org/download/win/ldview&lt;br /&gt;
&lt;br /&gt;
 L3Lab by Lars C. Hassing. Viewer/examiner. &lt;br /&gt;
 http://www.hassings.dk/l3/l3lab.html &lt;br /&gt;
 http://www.ldraw.org/download/win/l3lab&lt;br /&gt;
&lt;br /&gt;
 L3P by Lars C. Hassing &lt;br /&gt;
 http://www.hassings.dk/l3/l3p.html     &lt;br /&gt;
 Download Area: http://www.hassings.dk/l3/l3p.html#download &lt;br /&gt;
 http://www.ldraw.org/download/win/l3p&lt;br /&gt;
[[Category:Linux]] [[Category:NXT]]&lt;/div&gt;</summary>
		<author><name>Lola</name></author>	</entry>

	</feed>