L3P - render any LDRAW model in POV-Ray

94 views
Skip to first unread message

Lars C. Hassing

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to
I am happy and proud to announce my L3P program.

L3P is a neat little utility that will produce a ready-to-render POV-file
from any LDRAW model using any part. It is a spin-off from my L3 project.
L3P runs under DOS or in a DOS-box in Windows95/WindowsNT.

The basic idea of L3P is to take an LDraw DAT-file and generate a POV-file
with
1) all the triangles and quads of the model and its parts
2) automatically calculated camera and light source positions
The only remaining thing for the user to do, is to start POV-Ray.

Be sure to visit the L3P Gallery to see amazing images from ordinary .DAT
files:
http://www.netby.net/Nord/Kastanjevej/JHassing/l3pgal.html

I hope you will use and enjoy L3P. Any comments are appreciated.

Best regards from Århus, Denmark
Lars C. Hassing
----------------------------------------------------------------------------

http://www.netby.net/Nord/Mandelvej/Hassing/l3p.html

Geek 2.0 code: TO[cl++ lc+(6339)] TR++ MT+(5571) TC+++(8479) MOC++ #++++
LS++ HKbm LM++ VLr YB60m


Greg Williams

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to
Lars C. Hassing wrote:
>
> I am happy and proud to announce my L3P program.
>
> L3P is a neat little utility that will produce a ready-to-render POV-file
> from any LDRAW model using any part. It is a spin-off from my L3 project.
> L3P runs under DOS or in a DOS-box in Windows95/WindowsNT.
>
> The basic idea of L3P is to take an LDraw DAT-file and generate a POV-file
> with
> 1) all the triangles and quads of the model and its parts
> 2) automatically calculated camera and light source positions
> The only remaining thing for the user to do, is to start POV-Ray.
>
> Be sure to visit the L3P Gallery to see amazing images from ordinary .DAT
> files:
> http://www.netby.net/Nord/Kastanjevej/JHassing/l3pgal.html
>
> I hope you will use and enjoy L3P. Any comments are appreciated.


I'd like to say that when this was announced on the LDRAW mailing list earlier
this week, everyone has loved using this. You can quickly and easily make ray
traced images of LDRAW models. I expect a lot of images from LDRAW to be
replaced with nice ray traced versions very quickly. This is the best program
since LDRAW itself.

--
Greg Williams
gr...@mindspring.com
http://www.mindspring.com/~gregw

jeff findley

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to
"Lars C. Hassing" <l...@cci.dk> writes:
> Be sure to visit the L3P Gallery to see amazing images from ordinary .DAT
> files:
> http://www.netby.net/Nord/Kastanjevej/JHassing/l3pgal.html
>
> I hope you will use and enjoy L3P. Any comments are appreciated.

Holy $#&^! This is really, cool! The Ice Sat V rendering blew me
away with all the detail and the excellent way that PovRay handles
translucency, shadows, and reflections so well. I know that all of
the detail is in the .dat file, but the detail really shows up in
PovRay (edges are especially crisp).

Now all you need is some sort of option to let you draw edge lines in
the proper edge line color. This would allow the pictures to be tuned
so they look more like real LEGO instructions. Optional lines aren't
really necessary here since you can see the edges of parts with good
lighting. The Villa Roma image would look better (to me anyway) if
you could see the edge lines between the bricks which make up the
walls and the roof.

Can PovRay draw lines, or does everything have to be 3D? Can lines
have translucency? If they did, you could control the darkness of the
edge lines. It's been several releases since I've picked up the
PovRay documentation, can you tell? :-)

Jeff
--
Naughty Noo-Noo!

Jeff Stembel

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to
Unfortunately, many of the pieces are transluscent. I could see the baseplate
of the Villa Roma through the white supports. They are still *very* good
though!

Jeff

jeff findley

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to
Jeff Stembel <drago...@aol.com> writes:
>
> Unfortunately, many of the pieces are transluscent. I could see the baseplate
> of the Villa Roma through the white supports. They are still *very* good
> though!
>
> Jeff
>
> jeff findley wrote:
>
> > "Lars C. Hassing" <l...@cci.dk> writes:
> > > Be sure to visit the L3P Gallery to see amazing images from ordinary .DAT
> > > files:
> > > http://www.netby.net/Nord/Kastanjevej/JHassing/l3pgal.html
> > >
> > > I hope you will use and enjoy L3P. Any comments are appreciated.
> >
> > Holy $#&^! This is really, cool!
<snip>

Are you sure the pieces are transluscent? They look like reflections
(of studs in front of the white supports) to me. I assume this could
be toned down a bit to reduce the intensity of the reflections if you
play with the material properties.

Jeff
--
Naughty Noo-Noo!

Tore Eriksson

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to

Greg Williams wrote:

> I'd like to say that when this was announced on the LDRAW mailing list earlier
> this week, everyone has loved using this. You can quickly and easily make ray
> traced images of LDRAW models. I expect a lot of images from LDRAW to be
> replaced with nice ray traced versions very quickly. This is the best program
> since LDRAW itself.

I'm stunned. It's so easy to use. First time I tried it, and it went just perfect.
No problems with my unofficial parts, no problems anyhow. Here's the result from
my first try:http://home2.swipnet.se/~w-20413/pix/lizzie.jpg

Thanks a lot, Lars!

/Tore

Travis L. Cobbs

unread,
Aug 28, 1998, 3:00:00 AM8/28/98
to
In article <35E6F083...@aol.com>,

Jeff Stembel <drago...@aol.com> wrote:
>Unfortunately, many of the pieces are transluscent. I could see the baseplate
>of the Villa Roma through the white supports. They are still *very* good
>though!

I believe that is reflection, not translucency, although I could be wrong.

New LEGO pieces are pretty shiny, so I actually think this looks about right.


--Travis Cobbs (tco...@falcon.csc.calpoly.edu)
--Help stop continental drift!

Terry Keller

unread,
Aug 29, 1998, 3:00:00 AM8/29/98
to
Tore Eriksson <tore.e...@mbox325.swipnet.se> wrote in article
<35E725B6...@mbox325.swipnet.se>...

> I'm stunned. It's so easy to use. First time I tried it, and it went just
perfect.
> No problems with my unofficial parts, no problems anyhow. Here's the
result from
> my first try:http://home2.swipnet.se/~w-20413/pix/lizzie.jpg
>
> Thanks a lot, Lars!

Ditto on the Stunned. This is a remarkable development. I bow to a master.
My first try was something a bit more difficult. I wanted to see if it
would choke, so I ran it on the Apache - that means the model file _and_ 35
subfiles.
L3P didn't miss a beat, came out perfect. WOW.
http://www.geocities.com/Area51/Corridor/4654/apachePOV.jpg

I was up till 5:00 am playing with L3P. Now if somebody can figure out a
way to make the _rest_ of POV-Ray user-friendly, I would be in heaven.

-- Terry K --

Steve Bliss

unread,
Aug 30, 1998, 3:00:00 AM8/30/98
to
In <qHWF1.1218$ey4.3...@ptah.visi.com>, Todd Lehman wrote:

>Mike Stanley <c...@NOSPAMnewsguy.com> writes:
>> > http://www.geocities.com/Area51/Corridor/4654/apachePOV.jpg
>>
>> That has got to be the absolute coolest Lego rendering I have ever
>> seen.
>
>Stereo pair!!! Stereo pair!!! Pant, pant, pant!!!

Does anyone know how hard this would be to create? Just position the camera
slightly to the left (or right), and generate another image? Or is the
positioning a very sensitive thing?

Steve

Todd Lehman

unread,
Aug 30, 1998, 3:00:00 AM8/30/98
to
Steve Bliss <bli...@worldnet.att.net> writes:
> In <qHWF1.1218$ey4.3...@ptah.visi.com>, Todd Lehman wrote:
> > Mike Stanley <c...@NOSPAMnewsguy.com> writes:
> > > > http://www.geocities.com/Area51/Corridor/4654/apachePOV.jpg
> > >
> > > That has got to be the absolute coolest Lego rendering I have ever
> > > seen.
> >
> > Stereo pair!!! Stereo pair!!! Pant, pant, pant!!!
>
> Does anyone know how hard this would be to create? Just position the camera
> slightly to the left (or right), and generate another image?

Basically, yes. It's wicked easy. The trick is to keep the center of
the image the same in both the left and right versions, and not to make
the parallax too wide or the model will look tiny.


> Or is the
> positioning a very sensitive thing?

Nope, your eyes (when viewing) are very forgiving of noise and errors!

--Todd

Eggy

unread,
Aug 30, 1998, 3:00:00 AM8/30/98
to
I would try crossing my eyes, that's basically what you're doing, but like
he said, don't give it too wide of a parallax and you should be ok, print
them side by side on a piece of paper and you should be set.

Eggy
Terry Keller wrote in message <01bdd488$ebbfd3a0$9125480c@dell-pentium>...
>Todd Lehman <leh...@visi.com> wrote in article
><pFhG1.1359$ey4.4...@ptah.visi.com>...

>A little more detail, Todd. Once made, how do you view it? Separate out
>the color channels and use those nifty 3D glasses?
>
>-- Terry K --

Mike Stanley

unread,
Aug 30, 1998, 3:00:00 AM8/30/98
to
On 30 Aug 1998 16:39:12 GMT, bli...@worldnet.att.net (Steve Bliss)
wrote:

>Does anyone know how hard this would be to create? Just position the camera

>slightly to the left (or right), and generate another image? Or is the


>positioning a very sensitive thing?

I'm hoping some kind soul will put up a tutorial that will include how
to position the camera and lightsourcing either on the command-line or
in POV-Ray. All I would need would be standard positions like those
supported by LDraw and LDAO, I just have a hard time picturing things
in 3-dimensional space.
--
Unofficial listing of weekly Lego Shop at Home phone specials
http://www.lugnet.com/lsahs/
800-835-4386 (S@H USA) / 800-267-5346 ext 222 (S@H Canada)
www.auczilla.com - World's Largest Online Selection of LEGO Pieces

Lars C. Hassing

unread,
Aug 31, 1998, 3:00:00 AM8/31/98
to
Thank you all for the nice comments.

The white pieces are NOT transparent, but very reflective. Because of the
perfect symmetric geometry of Lego models, the reflection of the baseplate
is at the very same location that you would have seen the baseplate if you
could see through the white bricks.
/Lars

jeff findley <jeff.f...@sdrc.com> wrote in article
<yz9emu0...@sdrc.com>...


> Jeff Stembel <drago...@aol.com> writes:
> >
> > Unfortunately, many of the pieces are transluscent. I could see the
baseplate
> > of the Villa Roma through the white supports. They are still *very*
good
> > though!
> >

Terry Keller

unread,
Aug 31, 1998, 3:00:00 AM8/31/98
to
Todd Lehman <leh...@visi.com> wrote in article
<pFhG1.1359$ey4.4...@ptah.visi.com>...
> Steve Bliss <bli...@worldnet.att.net> writes:
> > In <qHWF1.1218$ey4.3...@ptah.visi.com>, Todd Lehman wrote:
> > > Mike Stanley <c...@NOSPAMnewsguy.com> writes:
> > > > > http://www.geocities.com/Area51/Corridor/4654/apachePOV.jpg
> > > >
> > > > That has got to be the absolute coolest Lego rendering I have ever
> > > > seen.
> > >
> > > Stereo pair!!! Stereo pair!!! Pant, pant, pant!!!
> >
> > Does anyone know how hard this would be to create? Just position the
camera
> > slightly to the left (or right), and generate another image?
>
> Basically, yes. It's wicked easy. The trick is to keep the center of
> the image the same in both the left and right versions, and not to make
> the parallax too wide or the model will look tiny.
>
>
> > Or is the
> > positioning a very sensitive thing?
>

Tom McDonald

unread,
Aug 31, 1998, 3:00:00 AM8/31/98
to
Damn cool copter.

Terry Keller wrote:
>
> My first try was something a bit more difficult. I wanted to see if it
> would choke, so I ran it on the Apache - that means the model file _and_ 35
> subfiles.
> L3P didn't miss a beat, came out perfect. WOW.
> http://www.geocities.com/Area51/Corridor/4654/apachePOV.jpg
>
> I was up till 5:00 am playing with L3P. Now if somebody can figure out a
> way to make the _rest_ of POV-Ray user-friendly, I would be in heaven.

--
Do what you can, but behave yourself.

- Tom McDonald
radio...@yahoo.com

We'll have more, right after this.

Todd Lehman

unread,
Aug 31, 1998, 3:00:00 AM8/31/98
to
Here are some stereo pair examples:

http://home.wxs.nl/~bulk0010/

Works fine on-screen :) especially in 16- or 24-bit color.

--Todd


In article <6sd7hl$nnq$1...@news.fidnet.com>, Eggy <sti...@fidnet.com> wrote:
> I would try crossing my eyes, that's basically what you're doing, but like
> he said, don't give it too wide of a parallax and you should be ok, print
> them side by side on a piece of paper and you should be set.
>

> Terry Keller wrote in message <01bdd488$ebbfd3a0$9125480c@dell-pentium>...

Eggy

unread,
Aug 31, 1998, 3:00:00 AM8/31/98
to
on screen is hard for me at times, as there is sometimes a glare, and I
really like having a printed version to throw up on the wall
Todd Lehman wrote in message ...
Reply all
Reply to author
Forward
0 new messages