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 / 6926
6925  |  6927
Subject: 
Re: Inline POV-Ray code?
Newsgroups: 
lugnet.cad.dev, lugnet.cad.ray
Date: 
Tue, 20 Feb 2001 16:59:01 GMT
Viewed: 
783 times
  
"Travis Cobbs" <tcobbs@REMOVE.halibut.com> wrote in message
news:GrstMI.BB7@lugnet.com...
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

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
inconsistencies.

The minifig who is getting thrown back has a polygon based head, but a round
neck.

The minifig head on the bedpost (round) is totally cylindrical.

Do the printed minifig head parts need to be fixed?  Has this been fixed, and
Cale doesn't have the latest update?  Just curious.

BTW - BricksWest was AWESOME!  I'll have a big writeup on the LDraw sessions and
discussions to post later.

-Tim



Message has 3 Replies:
  Re: Inline POV-Ray code?
 
(...) Just a guess, but I don't think all the printed heads exist in the LGEO parts, so l3p can't substitute that way. And they probably don't use the cylinder primitives because of the printed faces, so once again l3p can't substitute. I suppose (...) (23 years ago, 20-Feb-02, to lugnet.cad.dev, lugnet.cad.ray)
  Re: Inline POV-Ray code?
 
(...) It's not something that can, or needs to be, fixed. Only surfaces drawn with primitive files[1] can be curved in POV-Ray[2]. The patterned area of the minifig faces are not drawn with the cylinder primitives, so they come out faceted. Steve 1) (...) (23 years ago, 20-Feb-02, to lugnet.cad.dev, lugnet.cad.ray)
  Re: Inline POV-Ray code?
 
(...) I made some heads using inline POV code: (URL) (23 years ago, 20-Feb-02, to lugnet.cad.dev, lugnet.cad.ray)

Message is in Reply To:
  Re: Inline POV-Ray code?
 
(...) 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 (...) (23 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