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 / 5187
5186  |  5188
Subject: 
Re: L3P Idea
Newsgroups: 
lugnet.cad
Date: 
Sat, 30 Dec 2000 00:58:53 GMT
Viewed: 
1720 times
  
Amnon Silverstein wrote:
> 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
> 
> 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?

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 { _3001_dot_dat material { Color4 } }
  object { _3001_dot_dat material { Color1 } }
Inside the _3001_dot_dat declaration the color is unknown.
Also the actual coordinates is not known, at least I don't know how to access them.

L3P could perhaps support fog like it features a floor.
I don't know the fog, do you normally only have one fog?
/Lars



Message has 1 Reply:
  I'm getting leery (was Re: L3P Idea)
 
(...) For what it's worth, I think I'd avoid taking L3P in this direction. I see L3P for what it is, a .DAT to .POV conversion tool, used for verts, lines, faces, etc. Before we start heading off into having .DAT versions of every possible .POV (...) (26 years ago, 30-Dec-00, to lugnet.cad)

Message is in Reply To:
  Re: L3P Idea
 
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 (...) (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