|
In lugnet.cad.dev, Travis Cobbs writes:
> 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
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 situation considered adequate
(where you can get LGEO parts into the .pov file generated by L3P)?
--
Tony Hafner
www.hafhead.com
|
|
Message has 1 Reply: | | Re: Inline POV-Ray code?
|
| (...) Yes, there are plans for this. My current issue is with the syntax being used. I'd rather use general 0 IF ... 0 ELSE ... 0 ENDIF meta-statements, rather than the 0 L3P meta-statements. (...) It seems like LGEO is pretty static now. Lutz is (...) (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
|
|
|
|