To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 5525
Subject: 
Re: Lego parts for PovRay
Newsgroups: 
lugnet.cad
Date: 
Thu, 22 Feb 2001 23:33:12 GMT
Viewed: 
1966 times
  
GeoMan wrote...
Anton Raves (http://www.antonraves.com) updated his excellent PovRay LEGO
library with many new parts and samples. Also he added a reference library
with pictures of all of his parts (you will need Stuffit to unzip it).

Anyone interested to render LEGO models who is missing some parts should
take a look! I have used many parts of his library that were missing from
Ldraw to render my models...

Wouldn't it be nice if L3P after LGeo also supported his library ? :-)

I've always admired Anton Raves' renderings, he is very good at setting
the light and other POV parameters. And his parts looks great, he has done
many difficult parts like propellers.

In december 2000 I asked Anton Raves whether he had considered to make
a conversion table, but it seems he is a Mac-freak :-)
He knows LDraw, MLCad, L3P etc. but as there are no Mac versions,
he hasn't gotten into them.
Perhaps Erik Olson's efforts on BrickDraw3D can be an opening.

Anton's parts are defined smaller and use different coordinates so to use
them you have to scale them x2.5 (scale 2.5), rotate (rotate <180,-90,0>)
and translate them to correct position.
Also you have to include his libraries:
#include "material.lib"
#include "library.lib"

I used to do it by hand editing the .pov file but it's time consuming!
L3P on the other hand could do it automatically! :-)

Yes, if you (or someone else, maybe many) would care to sit down and
make some sort of a conversion table for all Anton's parts, I would be happy
to include support in L3P.

For each of Anton's parts you would need to define
the corresponding DAT filename and the scale/rotate/translate (matrix)
necessary to orient it like the DAT part

Other things must be sorted out:
DAT colors to Anton's color names
handling of slopes
and of course permission from the man :-)
/Lars


Subject: 
Re: Lego parts for PovRay
Newsgroups: 
lugnet.cad
Date: 
Fri, 23 Feb 2001 02:45:17 GMT
Viewed: 
1573 times
  
In lugnet.cad, Lars C. Hassing writes:
I've always admired Anton Raves' renderings, he is very good at setting
the light and other POV parameters. And his parts looks great, he has done
many difficult parts like propellers.

In december 2000 I asked Anton Raves whether he had considered to make
a conversion table, but it seems he is a Mac-freak :-)
He knows LDraw, MLCad, L3P etc. but as there are no Mac versions,
he hasn't gotten into them.
Perhaps Erik Olson's efforts on BrickDraw3D can be an opening.

I would like to connect my program to POV-RAY.  Since BrickDraw3D aims at
being best at interactive modeling, adapting it to work alongside POVRAY
would make a natural division of labor.

Two ways to do this. 1. Finish the POVRAY plugin for the Quesa architecture.
2. Exporting POVRAY input files--probably the most desirable to POVRAY
users. For that, I'd have to discover the translation tables desired. (Or do
the obvious thing: exporting only DAT part descriptions already in memory.)

I haven't worked with POVRAY since 1994, but it was my first foray into
virtual Lego. Made my own yellow castle parts. Tim told me there were a lot
of people trying it around then, and nobody talked much to each other.

-Erik


Subject: 
Re: Lego parts for PovRay
Newsgroups: 
lugnet.cad
Followup-To: 
lugnet.cad.ray
Date: 
Fri, 23 Feb 2001 03:23:30 GMT
Viewed: 
1495 times
  
In lugnet.cad, Erik Olson writes:

Two ways to do this. 1. Finish the POV-Ray plugin for the Quesa architecture.
2. Exporting POV-Ray input files--probably the most desirable to POVRAY
users. For that, I'd have to discover the translation tables desired. (Or do
the obvious thing: exporting only DAT part descriptions already in memory.)


I just found out the POV-Ray license terms have changed since 1995. No
wonder the plug-in was never completed--they prohibit changing POV-Ray into
a plug-in....

Anyway, path #2 is good enough. There's probably some API where the user can
press a button and have POV-Ray fire up to render a new file.

I'm off to learn about this.


Subject: 
Re: Lego parts for PovRay
Newsgroups: 
lugnet.cad.ray, lugnet.cad
Date: 
Fri, 23 Feb 2001 12:15:36 GMT
Viewed: 
1652 times
  
Erik Olson wrote:

I just found out the POV-Ray license terms have changed since 1995. No
wonder the plug-in was never completed--they prohibit changing POV-Ray into
a plug-in....

Anyway, path #2 is good enough. There's probably some API where the user can
press a button and have POV-Ray fire up to render a new file.

  Check the command line options on the help file, I think the parameter
is +Ifile.pov but I'm not sure.

Leonardo


Subject: 
Re: Lego parts for PovRay
Newsgroups: 
lugnet.cad.ray, lugnet.cad
Date: 
Fri, 23 Feb 2001 18:38:26 GMT
Viewed: 
1974 times
  
In lugnet.cad.ray, Leonardo Zide writes:
Erik Olson wrote:

I just found out the POV-Ray license terms have changed since 1995. No
wonder the plug-in was never completed--they prohibit changing POV-Ray into
a plug-in....

Anyway, path #2 is good enough. There's probably some API where the user can
press a button and have POV-Ray fire up to render a new file.

Check the command line options on the help file, I think the parameter
is +Ifile.pov but I'm not sure.

Leonardo

There must be a way to do this, since Moray, http://www.stmuc.com/moray/  a
3d modeler uses Povray directly to render.

-Chuck


©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR