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 / 3636
3635  |  3637
Subject: 
Re: User POV substitutions in L3P
Newsgroups: 
lugnet.cad
Date: 
Fri, 10 Mar 2000 13:37:27 GMT
Viewed: 
827 times
  
In lugnet.cad, Chuck Sommerville wrote:

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?

Yes, definitely.  What kind of commands do you add to the LDraw files?
My concern would be how to hook up your stuff with the standard LDraw
parts library, so we wouldn't have to maintain two separate sets of
code.

Steve



Message has 1 Reply:
  Re: User POV substitutions in L3P
 
(...) I don't believe there are any conflicts. All the commands are imbedded in comment fields. You can have a closer look. Check out this thread where I post a URL to a sample kit. (URL) (25 years ago, 11-Mar-00, to lugnet.cad)

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)

8 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