To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10054
10053  |  10055
Subject: 
Re: Restart of LDA2001 Project (using LDraw models - L3P - POV)
Newsgroups: 
lugnet.cad.ray, lugnet.animation, lugnet.cad.dev
Date: 
Tue, 18 Jan 2005 01:41:46 GMT
Viewed: 
1264 times
  
In lugnet.cad.ray, Steve Bliss wrote:
In lugnet.cad.ray, Lars C. Hassing wrote:
PS. If it can help you I might consider changing L3P to generate macros
(without any arguments) in stead of declarations. I don't know the impact of
this - I'll have to investigate...

Yeah, it'd be very cool if L3P had an option to generate include files instead
of full scenes.  That way, people could run all their various model files
through L3P to generate the definitions in include files.  Then they could use
all those definitions in their scene/animation.

The coming L3P has also these new options:
  -ic[<file>] no camera, optional include file
  -il[<file>] no lights, optional include file
So,
   l3p -ic -il model.ldr model.inc
might just do what you want, assuming you still want color and primitive definitions
to be included in model.inc.
Otherwise you would have to manage color and primitive definitions yourself.

Color and primitive definitions are guarded by ifdef's,
meaning that they will be silently ignored if already defined in the "master" pov file,
that includes the models.
/Lars



Message is in Reply To:
  Re: Restart of LDA2001 Project (using LDraw models - L3P - POV)
 
(...) Yeah, it'd be very cool if L3P had an option to generate include files instead of full scenes. That way, people could run all their various model files through L3P to generate the definitions in include files. Then they could use all those (...) (20 years ago, 17-Jan-05, to lugnet.cad.ray, lugnet.animation, lugnet.cad.dev)

28 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