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 / 2419
2418  |  2420
Subject: 
Re: L3P Options?
Newsgroups: 
lugnet.cad.ray
Date: 
Tue, 12 Apr 2005 17:41:01 GMT
Viewed: 
5091 times
  
In lugnet.cad.ray, Dean Earley wrote:
  
Yep.

-p Don’t substitute any primitives in the P directory with POV equivalents --------------------------------------------------------------------------- In order to have a nicer looking image some parts (primitives) in the P directory are by default substituted with POV equivalents. E.g. 4-4cyli.dat is substituted by the POV object “cylinder 0,0,0, 0,1,0, 1 open ”. In this way you will see a true cylinder and not a crude 16 edged one. Also you will typically get a 10-20% increase in rendering speed. Currently 49 primitives are substituted with POV equivalents. You can see their names by executing “l3p -pp”.Thanks for the quick response!

Sorry! I guess I didn’t make my question clear enough. I’d like to substitute the primitives still, but with those of my own creation, rather than those that L3P creates. For example I think a stud looks better with a slightly rounded top (a combination of a cylinder and a cut-off cone) rather than just a cylinder. I can do this by overriding the default #define statements by a later one but this can’t be automated easily.

A second question I just though of is how can one introduce redefinitions using IFPOV metastatements? That is probably easier as I suspect the original source code of L3P would have to be changed to do what I’d like.

Thanks for your help though,

Tim



Message has 1 Reply:
  Re: L3P Options?
 
(...) You got it. 0 L3P IFPOV meta-statements are probably the way to accomplish what you want. Hmm, thinking more about it (I could just go try it), you'll probably still need l3p's -p parameter, or l3p probably won't even look at the primitive (...) (19 years ago, 12-Apr-05, to lugnet.cad.ray)

Message is in Reply To:
  Re: L3P Options?
 
(...) Yep. -p Don't substitute any primitives in the P directory with POV equivalents ---...--- In order to have a nicer looking image some parts (primitives) in the P directory are by default substituted with POV equivalents. E.g. 4-4cyli.dat is (...) (19 years ago, 12-Apr-05, to lugnet.cad.ray)

13 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