Subject:
|
Re: POV dat for L3P v1.4 - 3626bpse - Minifig Head with SW Scout Trooper Black Visor Pattern - POV
|
Newsgroups:
|
lugnet.cad.ray, lugnet.cad.dat.parts
|
Date:
|
Thu, 14 Jan 2010 22:30:54 GMT
|
Viewed:
|
1816 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad.ray, Tore Eriksson wrote:
> Ok, so now I've found out why my minifig head dats with inline POV no longer
> work. New POV-Ray version was no problems this time. But two changes frm L3P 1.3
> to 1.4 caused problems:
> The names of the colors have been changed from Color[n*] to L3Color[n*], and
> STUDS are now L3Studs.
> In my planned new version of MFHead, I will have to make if-statements
>
> How do I write if staterments in the POV code to make this correct?
>
> L3Version < 1.4 should give:
> #if (version >= 3.1) material #else texture #end { Color0 }
> L3Version > 1.3 should give:
> #if (version >= 3.1) material #else texture #end { L3Color0 }
>
> and
>
> L3Version < 1.4 should give:
> #if (STUDS)
> difference {
> cylinder { <0,0,0>, <0,-4,0>, 6 }
> cylinder { <0,0.01,0>, <0,-4.01,0>, 4 }
> }
> #end
> L3Version > 1.3 should give:
> #if (L3Studs)
> difference {
> cylinder { <0,0,0>, <0,-4,0>, 6 }
> cylinder { <0,0.01,0>, <0,-4.01,0>, 4 }
> }
> #end
> ?
>
> /Tore
Sorry for the late answer.
L3P v1.4 has L3Version declared, v1.3 has not.
#ifdef (L3Version)
material { L3Color0 }
#else
#if (version >= 3.1) material #else texture #end { Color0 }
#end
(L3P v1.4 does not support PovRay < 3.1)
For the studs I suggest that you in the beginning of your file
declare L3Studs if not already declared/defined:
#ifndef (L3Studs)
#declare L3Studs = STUDS;
#end
and then just test for L3Studs.
/Lars
|
|
Message is in Reply To:
35 Messages in This Thread: ![realistic minifig heads with ldraw and povray? -Sven Reger (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: realistic minifig heads with ldraw and povray? -Tore Eriksson (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: realistic minifig heads with ldraw and povray? -Tore Eriksson (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: realistic minifig heads with ldraw and povray? -Timothy Gould (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: realistic minifig heads with ldraw and povray? -Tore Eriksson (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![Re: realistic minifig heads with ldraw and povray? -Tore Eriksson (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: realistic minifig heads with ldraw and povray? -Tore Eriksson (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/246.gif) ![POV dat - 3626bp06 - Minifig Head with Standard Grin, Eyebrows and Microphone - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp39 - Minifig Head with Dark Grey Facial Hair Pattern - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp3k - Minifig Head with Islander White/Blue Painted Face - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp40 - Minifig Head with Messy Hair Female Pattern - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp61 - Minifig Head with Ice Planet Moustache and Eyebrows - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp62 - Minifig Head with Ice Planet Messy White Hair - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bps5 - Minifig Head with SW Smirk and Brown Eyebrows Pattern - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bpse - Minifig Head with SW Scout Trooper Black Visor Pattern - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![POV dat for L3P v1.4 - 3626bpse - Minifig Head with SW Scout Trooper Black Visor Pattern - POV -Tore Eriksson (11-Aug-09 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp7c - Minifig Head with Blue Wrap-Around Sunglasses Pattern - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bp7b - Minifig Head with Blue Sunglasses Pattern - POV -Tore Eriksson (22-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bpa2 - Minifig Head with Adventurers Mummy Pattern - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bpao - Minifig Head with Big Eyes, Curv Eyebows, Lt.Red Mouth - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bph5 - Minifig Head with Crabbe/Ron Pattern - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif) ![](/news/46.gif) ![Re: POV dat - 3626bph5 - Minifig Head with Crabbe/Ron Pattern - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bps2 - Minifig Head with SW Brown Eyebrows Pattern - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bphb - Minifig Head with Severus Snape Pattern - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![POV dat - 3626bps3 - Minifig Head with SW Small Black Eyebrows Pattern - POV -Tore Eriksson (23-Jan-08 to lugnet.cad.ray, lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![POV dat - 3626bpsc - Minifig Head with SW Grey Eyebrows & Implant Pattern - POV -Tore Eriksson (14-Jul-08 to lugnet.cad.dat.parts)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: realistic minifig heads with ldraw and povray? -Sven Reger (2-Jul-07 to lugnet.cad.ray)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Minifig Heads with Inline POV-code at LDraw Wiki POV Parts Repository -Tore Eriksson (2-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![3901.dat - Minifig Hair with Inline POV-code from Anton Raves Library -Tore Eriksson (31-Aug-07 to lugnet.cad.ray)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: realistic minifig heads with ldraw and povray? -Willy Tschager (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: realistic minifig heads with ldraw and povray? -Orion Pobursky (1-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: realistic minifig heads with ldraw and povray? -Willy Tschager (2-Jul-07 to lugnet.cad.ray)](/news/x.gif) ![](/news/46.gif) ![Re: realistic minifig heads with ldraw and povray? -Orion Pobursky (2-Jul-07 to lugnet.cad.ray)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: realistic minifig heads with ldraw and povray? -Sven Reger (3-Jul-07 to lugnet.cad.ray)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|