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 / 1332
1331  |  1333
Subject: 
Re: Yet another POV-Ray inlining question
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 26 Jun 2002 18:21:38 GMT
Viewed: 
483 times
  
In lugnet.cad.ray, Dave Schuler writes:
Okay, I'm getting there, but one bit still eludes me.  If I have something
like the following:

0 REALLY NIFTY PART BY DAVE!
0 L3P IFPOV
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 POV CODE
0 L3P ELSEPOV
0 1 16 0 0 0 10 0 0 0 1 0 0 0 10 8-8SPHE.DAT
0 1 16 20 0 0 10 0 0 0 1 0 0 0 10 8-8SPHE.DAT
0 1 16 10 -20 0 10 0 0 0 1 0 0 0 10 8-8SPHE.DAT
0 END OF FILE

Is that the correct format?  Specifically, is it necessary to include the
0 character before the LDraw statements, or should the 0's be omitted?  If
the 0's omitted, it seems that L3P renders the LDraw statements, but if the
0's are included, then how does L3Lab or LDLite (or the like) know how to
recognize the necessary LDraw statements?
I've gotten to the point where my inlined POV-Ray code will render very
nicely, but the part doesn't show up at all in L3Lab, since all the LDraw
code is preceded by the 0 character.

As always, any help is appreciated!

    Dave!

You need to remove the 0's in front of the ldraw statements, and include a
0 L3P ENDPOV at the end.
L3P does the rest.

See my example I posted a long time ago:

http://news.lugnet.com/cad/dat/parts/?n=2001

-Chuck



Message has 1 Reply:
  Re: Yet another POV-Ray inlining question
 
(...) base my own. Now I'm dying to try it. I'll let you know how it works for me! Dave! (22 years ago, 26-Jun-02, to lugnet.cad.ray)

Message is in Reply To:
  Yet another POV-Ray inlining question
 
Okay, I'm getting there, but one bit still eludes me. If I have something like the following: 0 REALLY NIFTY PART BY DAVE! 0 L3P IFPOV 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 POV CODE 0 (...) (22 years ago, 26-Jun-02, to lugnet.cad.ray)

3 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