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 / 6922
6921  |  6923
Subject: 
Re: Inline POV-Ray code?
Newsgroups: 
lugnet.cad.dev, lugnet.cad.ray
Date: 
Tue, 19 Feb 2002 21:13:30 GMT
Viewed: 
644 times
  
In lugnet.cad.dev, Tony Hafner writes:
I seem to recall that some curved parts have separate definitions in the
parts file itself for POV-Ray to render them better.  But I can't find any.
Is this actually possible?  Do such parts exist?  Is there a "better" way
(ie through L3P) to get alternate part definitions for use in POV-Ray?

I don't know if any official parts do it, but it is possible.  Based on an
earlier lugnet.cad.ray message, you do this:

0 L3P IFNOTPOV
(regular ldraw code goes here)
0 L3P ELSEPOV
0 (POV-Ray code goes here, commented-out)
0 L3P ENDPOV

You can also use 0 L3P IFPOV instead of IFNOTPOV if you'd prefer to switch
the order.  You can go to http://news.lugnet.com/announce/?n=930 for Lars'
original announcement and http://news.lugnet.com/cad/ray/?n=656 for an
example with the car wash brush.

--Travis Cobbs (tcobbs@REMOVE.halibut.com)



Message has 2 Replies:
  Re: Inline POV-Ray code?
 
"Travis Cobbs" <tcobbs@REMOVE.halibut.com> wrote in message news:GrstMI.BB7@lugnet.com... (...) Brings me to a question about the minifig head. I had a high-res printout of Cale Leiphart's The Fight scene made for BricksWest, and there were some (...) (22 years ago, 20-Feb-01, to lugnet.cad.dev, lugnet.cad.ray)
  Re: Inline POV-Ray code?
 
(...) Yes, that's the info I'm looking for. Thanks, Travis (and Vincent, too). Related question (for the parts officials, I suppose): Are there any plans (even tentative) to move towards adding this sort of stuff to official parts? Or is the current (...) (22 years ago, 19-Feb-02, to lugnet.cad.dev, lugnet.cad.ray)

Message is in Reply To:
  Inline POV-Ray code?
 
I seem to recall that some curved parts have separate definitions in the parts file itself for POV-Ray to render them better. But I can't find any. Is this actually possible? Do such parts exist? Is there a "better" way (ie through L3P) to get (...) (22 years ago, 19-Feb-02, to lugnet.cad.dev, lugnet.cad.ray)

26 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