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 / 5183
5182  |  5184
Subject: 
Re: L3P Idea
Newsgroups: 
lugnet.cad
Date: 
Fri, 29 Dec 2000 21:50:29 GMT
Viewed: 
1619 times
  
Great!
However, is there a way to do substitions? For example, how about a fog
object, that creates fog in whatever color you assign to it and a depth up
to its position?
e.g. something like:


fog {
    distance 2000
    color rgbt<%R, %G, %B, %T>
    fog_type 2
    fog_offset %Y
    fog_alt 1
  }


where everything with a % gets substituted in. Is there a way to do this
with L3P already?


In lugnet.cad, Chuck Sommerville writes:
> In lugnet.cad, Amnon Silverstein writes:
> > It would be really nice if L3P could put arbitrary POV code in for parts.
> > POV code could go into the comments of the dat file.
> 
> The latest version of L3P supports it this already.  Look at this post as an
> example:
> 
> http://news.lugnet.com/cad/dat/parts/primitives/?n=107
> 
> -Chuck



Message has 1 Reply:
  Re: L3P Idea
 
(...) No. L3P (unlike e.g. L3Lab) doesn't keep track of the current color, and thus cannot substitute %R, %G, %B, %T. Colors are inherited, they come from the referencer. E.g. the _3001_dot_dat object is colorless, but gets the color from object { (...) (26 years ago, 30-Dec-00, to lugnet.cad)

Message is in Reply To:
  Re: L3P Idea
 
(...) The latest version of L3P supports it this already. Look at this post as an example: (URL) (26 years ago, 29-Dec-00, to lugnet.cad)

20 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
    

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