|
On Remberance day, I sat right here, watching the ceremonies at the Cenotaph
from my 13th floor perch in New Westminster. When the skirl of bagpipes gave way
to silence, I thought of my dad. And that always brings me to trains. Crunching
through the snow, carrying a coal oil lantern while he, a Carman, checked for
hot-boxes. A special treat for a ten year old.
And that took me to my SD40-2 and the question
how do they do those great
virtual MOC pics? So the downloading and configuing began. Countless false
starts finally lead to a working installation of M3P AddOn and POVRay 3.5. Many
thanks to all who posted hints, tips and tutorials.
Start with something simple, I thought. A few mornings in MLCad resulted in a
virtual model of my 96x96 stud Vancouver Canucks logo, done as it would have
been had I all the right coloured 1x1 bricks. Rendering it reminded me why I
have 3 PCs at home, but little else.
On to the locomotive. Ive managed to come up with a version that is not too bad
but needs work. Ive also come up with some questions.
When I run POVRay on the L3P AddOn file I get two errors when I use LGEO pats:
#declare _6081_dot_dat_clear = #if (QUAL = 0) box { <-40,0,-30>, <40,32,10> }
#else object {
// Brick 2 x 4 x 1 & 1/3 with Curved Top
lg_6081_clear
matrix <0,0,-20/LG_BRICK_WIDTH, -20/LG_BRICK_WIDTH,0,0,
0,-24/LG_BRICK_HEIGHT,0, 0,0,0>
}
#end
This errors our with undeclared identifier lg_6081_clear. I can only resolve it
by deleting the declaration.
#declare _3650a_dot_dat = #if (QUAL = 0) box { <-32.98,-32.98,-8>,
<32.98,32.98,12> } #else object {
// Technic Gear 24 Tooth Crown
lg_3650
matrix <0,0,-20/LG_BRICK_WIDTH, -20/LG_BRICK_WIDTH,0,0,
0,-24/LG_BRICK_HEIGHT,0, 0,0,0>
}
#end
This errors out with undeclared identifier lg_3650
I can correct this by adding the a after 3640.
Has any one any suggestions about what is wrong with the first error?
When rendering MLCad part 32009 (Technic Liftarm 1x11.5 Double Bent) using
LGEO, I get a completely different part. It is still a double bent liftarm but
rather than having 1 axle hole and 6 holes on the long axis, it has 1 axle hole
and 7 holes. On the short axis, it has 1 axlehole and 3 holes rather than 1
axlehole and 2 holes.
I could only resolve this by cutting and pasting all of the non-LGEO part files
into the file. Any suggestions?
Finally, I would appreciate any tips for improving the lighting. The camera and
lighting settings for the front view follow:
// Floor:
object {
plane { y, 88 hollow }
texture {
pigment { color rgb <0.8,0.8,0.8> }
finish { ambient 0.4 diffuse 0.4 }
}
}
// Background:
background { color rgb <0,0,1>}
// Camera (Latitude,Longitude,Radius = 15,-135,0)
camera {
#declare PCT = 0; // Percentage further away
#declare STEREO = 0; // Normal view
//#declare STEREO = degrees(atan2(1,12))/2; // Left view
//#declare STEREO = -degrees(atan2(1,12))/2; // Right view
location vaxis_rotate(<-3942.57,-1609.91,3960.84> +
PCT/100.0*<-4166.89,-1578.99,4166.89>,
<6.57949e+006,-3.4726e+007,-6.57949e+006>,STEREO)
sky -y
right -4/3*x
look_at <224.327,-30.917,-206.054> // calculated
angle 10
rotate <0,1e-5,0> // Prevent gap between adjecent quads
//orthographic
}
// Lights:
light_source {
<210,-2612.74,4230.75> // Latitude,Longitude,Radius: 30,180,5024.47
color rgb <.7,.7,.7> shadowless
}
light_source {
<-3128.58,-1818.97,3218> // Latitude,Longitude,Radius: 20,-135,5024.47
color rgb <.7,.7,.7>shadowless
}
light_source {
<-3558.35,-2612.74,-2296.23> // Latitude,Longitude,Radius: 30,-60,5024.47
color rgb <1,1,1>
}
light_source {
<-1965.66,-2612.74,-3888.93> // Latitude,Longitude,Radius: 30,-30,5024.47
color rgb <.7,.7,.7>shadowless
}
The results can be seen at http://www3.telus.net/chuck
Navigate to LEGO Creations>Locomotives and LEGO Creations>Mosaics.
Chucko
|
|
Message has 1 Reply: | | Re: Virtual locomotive MOC
|
| In lugnet.cad.ray Chuck Kabesh wrote... (...) This is a known error in the LGEO part. Open lg_6081.inc in a text editor. You will see that there are two lines like: #declare lg_6081 = Change the second instance into #declare lg_6081_clear = (...) In (...) (21 years ago, 1-Dec-03, to lugnet.cad.ray)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|