POV-Ray : Newsgroups : povray.binaries.images : Leg-oh : Re: Leg-oh Server Time
5 Nov 2024 18:26:16 EST (-0500)
  Re: Leg-oh  
From: Bill Pragnell
Date: 30 Jan 2009 20:10:00
Message: <web.4983a42c8d0f3ae0219167190@news.povray.org>
"clipka" <nomail@nomail> wrote:
> "Bill Pragnell" <bil### [at] hotmailcom> wrote:
> > but I think I prefer the bog-standard one (see second post), even if it is a
> > bit dark.
>
> I can't help it, but I *really* like the HDRI a lot more.

It does look more real, but the vivid nature of the reflections bother me
slightly. Those textures shouldn't be doing that!

> BTW your LEGO shots are really givig me the itches... you're gonna share the
> extensions to the part libs?

Hmm, it's all a bit rough and ready really. The parts are already there,
technically, in Anton's .inc files. All that's required is to create a new
individual .inc file for each part to fit in with the lgeo framework. There are
about 20 parts already there (handy to see how it's done), but Anton's .inc file
has hundreds of others. I've only converted three so far, the classic space
helmet (193a), the car steering wheel (3829) and the tail fin with rocket
(4746). Here they are:

http://www.infradead.org/~wmp/lgeostuff/fornow.zip

Just drop them into 'ldraw/lgeo/ar/' (assuming your library's installed in a
similar manner to mine - I'm on MacOSX). You also need to add 'A' entries in
the lg_elements.lst file, which tells l3p which parts are available - it's an
ASCII file, so just look at the other entries to see how to do it. The only
other thing to remember is to put the -ar option before -lgeo when running l3p;
it gives priority to the first option.

Converting the parts doesn't take long, but it's a little tedious cos you have
to make a test file, convert it to POV and then substitute the ar_****.inc file
and play with the transformations until the part's where you put it. I'm just
doing it whenever I notice a part obviously missing from lgeo - it tells you
which ones are missing when you run l3p. The render still works even if there
are missing parts, because l3p uses the low-res LDRAW default meshes if it
can't find lgeo or ar parts.

Hope this helps!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.