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 / 141
140  |  142
Subject: 
User POV substitutions in L3P
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 8 Mar 2000 20:15:28 GMT
Viewed: 
633 times
  
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



Message has 3 Replies:
  Re: User POV substitutions in L3P
 
(...) 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. (...) (25 years ago, 8-Mar-00, to lugnet.cad.ray)
  Re: User POV substitutions in L3P
 
(...) If it makes renderings better, POV files smaller, and doesn't take a lot of effort on my part, how could I not be interested? Please continue your efforts! --Bram Bram Lambrecht / o o \ BramL@juno.com ---...---oooo-----(_...o---...--- WWW: (...) (25 years ago, 8-Mar-00, to lugnet.cad.ray)
  Re: User POV substitutions in L3P
 
Chuck Sommerville wrote... (...) Good idea, I have thought of it myself too :-) But I have postponed the implementation because I was hoping for an integration of LGEO and L3P: the effort writing POV replacements for LDraw parts naturally belongs in (...) (25 years ago, 9-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
    

Custom Search

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