To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 142
141  |  143
Subject: 
Re: User POV substitutions in L3P
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 8 Mar 2000 23:03:14 GMT
Viewed: 
647 times
  
In lugnet.cad.ray, Chuck Sommerville writes:
After playing with Ldraw, The first thing I wanted to do was learn the file
format and write a converter to POV.  Then I found L3P, and was delighted.
When I saw the minifigs with faceted heads, I investigated and learned about
the triangle and quad lists in the primitives.  L3P does do some primitive
substitution, but I was limited to whatever it knew about.  To address this I
have written an L3P post processor.  The basic idea is that you put
conditional compile commands and POV rendering commands in the Ldraw
primitives and parts files.  Since the commands are stored in the comment
fields, they are ignored by Ldraw and L3P, they end up in the final POV file.
The post processor, reads the L3P generated file, and writes a new file with
the POV primitive substitutions.  The new file is smaller, and better suited
for POV rendering, since huge mesh commands are replaced with simple POV
primitives.  I have been satisfied with the results. However, it does require
editing the files in your P and Parts folders.  So far I have only added
primitives to 2 parts, just for testing.

Is there any interest in this?

-Chuck Sommerville


It sounds as a good idea since the parts/primitives libraries will need
updates only when new l-cad updates are released. The current version of l3p
allthough really good still needs regular updates to keep up with the growing
parts libraries. Take a look at my shuttle's engines
(http://www.brickshelf.com/cgi-bin/gallery.cgi?i=2677) converted with l3p to
see how bad they look compared to other parts of the shuttle...

George



Message has 1 Reply:
  Re: User POV substitutions in L3P
 
George GeoMan wrote... (...) The good thing about L3P: it is INDEPENDENT of part updates. The not so good thing about L3P: some rounded parts look egdy/angular. /Lars (25 years ago, 9-Mar-00, to lugnet.cad.ray)

Message is in Reply To:
  User POV substitutions in L3P
 
After playing with Ldraw, The first thing I wanted to do was learn the file format and write a converter to POV. Then I found L3P, and was delighted. When I saw the minifigs with faceted heads, I investigated and learned about the triangle and quad (...) (25 years ago, 8-Mar-00, to lugnet.cad.ray)

11 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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