|
 |
For some strange reason, it seems I am unable to change the location of
the two colors inside my pigment_maps ("MyHull" texture and "MyInterior"
texture, both at the top of the code), even when changing the numeric
values. Strange.
Can anyone of you test and find out, if you encounter the same problem?
----------------------------------
#declare MyHullOutsideBottom = texture
{
pigment { color rgbt < 0.8039216, 0.5882353, 0.29411765, 0.00 > }
// 1.0, 0.0, 0.0
}
#declare MyHullOutsideTop = texture
{
pigment { color rgbt < 0.4039216, 0.1882353, 0.09411765, 0.75 > }
}
#declare MyHull = texture
{
gradient y
texture_map
{
[ 0.00 MyHullOutsideBottom ] // Hull Bronze_Metal /**/
[ 0.45 MyHullOutsideBottom ] // Hull
/* [ 0.25 MyHullOutsideTop ] // Lower Deck Window Stripe
[ 0.28 MyHullOutsideTop ] // Lower Deck Window Stripe
[ 0.28 MyHullOutsideBottom ] // Cupola Base
[ 0.35 MyHullOutsideBottom ] // Cupola Base
[ 0.35 MyHullOutsideTop ] // Cupola
[ 0.42 MyHullOutsideTop ] // Cupola
[ 0.42 MyHullOutsideBottom ] // Cupola Railing
[ 0.52 MyHullOutsideBottom ] // Cupola Railing
*/ [ 0.45 MyHullOutsideTop ] // Cupola
[ 1.00 MyHullOutsideTop ] // Cupola
}
translate < 0.0, -4.8812, 0.0 >
scale -1.0*(4.8812*2.85)
}
#declare MyHullInsideBottom = texture
{
pigment { color rgb < 0.7843137, 0.654902, 0.4156863 > }
}
#declare MyHullInsideTop = texture
{
pigment { color rgbt < 0.4039216, 0.1882353, 0.09411765, 0.75 > }
}
#declare MyInterior = texture
{
gradient y
texture_map
{
[ 0.00 MyHullInsideBottom ] // Hull Bronze_Metal /**/
[ 0.45 MyHullInsideBottom ] // Hull
/* [ 0.25 MyHullInsideTop ] // Lower Deck Window Stripe
[ 0.28 MyHullInsideTop ] // Lower Deck Window Stripe
[ 0.28 MyHullInsideBottom ] // Cupola Base
[ 0.35 MyHullInsideBottom ] // Cupola Base
[ 0.35 MyHullInsideTop ] // Cupola
[ 0.42 MyHullInsideTop ] // Cupola
[ 0.42 MyHullInsideBottom ] // Cupola Railing
[ 0.52 MyHullInsideBottom ] // Cupola Railing
*/ [ 0.45 MyHullInsideTop ] // Cupola
[ 1.00 MyHullInsideTop ] // Cupola
}
translate < 0.0, -4.8812, 0.0 >
scale -1.0*(4.8812*2.85)
}
camera
{
/*ultra_wide_angle*/ //angle 20
location < -25.0 , 0.0 , 0.0 >
//right x*image_width/image_height // not needed for v3.8
look_at < 0.0 , 0.0 , 0.0 >
}
light_source
{
< -500.0, 100.0, 500.0 >
color 1.0 * 1.3//< 1.0, 0.62353, 0.46667 >*2
}
#declare HomeBasic = blob
{
threshold 0.35
sphere { < 0.0, 0.0, 0.0 > 26.00 1.85 scale < 1.01, 0.25, 1.01 > } //
9.7624 meter tall (-4.8812 m to 4.8812 m) and exactly 19 meter usable
inside radius (38 meter diameter)
cylinder { < 0.0, 0.0, 0.0 > < 19.0, 0.0, 0.0 > 4.5 0.85 rotate < 0.0,
000.0, 0.0 > }
cylinder { < 0.0, 0.0, 0.0 > < 19.0, 0.0, 0.0 > 4.5 0.85 rotate < 0.0,
120.0, 0.0 > }
cylinder { < 0.0, 0.0, 0.0 > < 19.0, 0.0, 0.0 > 4.5 0.85 rotate < 0.0,
240.0, 0.0 > }
}
#declare HomeExact = difference
{
object { HomeBasic }
cylinder { < 20.0, 0.0, 0.0 > < 25.0, 0.0, 0.0 > 5.0 rotate < 0.0,
000.0, 0.0 > }
cylinder { < 20.0, 0.0, 0.0 > < 25.0, 0.0, 0.0 > 5.0 rotate < 0.0,
120.0, 0.0 > }
cylinder { < 20.0, 0.0, 0.0 > < 25.0, 0.0, 0.0 > 5.0 rotate < 0.0,
240.0, 0.0 > }
}
#declare HomeNegative = difference
{
box { < -25.0, -10.0, -25.0 > < 25.0, 10.0, 25.0 > }
object { HomeExact }
}
#declare MyInteriorWalls = difference
{
// cylinder { < 0.0, 4.8812, 0.0 > < 0.0, 4.9812, 0.0 > 05.0 pigment
{ color rgb < 0.5098039, 0.3137255, 0.2156863 > } } // Ceiling -
5.0812 m above main deck
cylinder { < 0.0, -1.30, 0.0 > < 0.0, -1.20, 0.0 > 24.0 pigment { color
rgb < 0.5098039, 0.3137255, 0.2156863 > } } // Main Deck - usable
diameter: exactly 19 meters/units - deck thickness: 0.1 meters/units
cylinder { < 0.0, -4.30, 0.0 > < 0.0, -4.20, 0.0 > 10.0 pigment { color
rgb < 0.5098039, 0.3137255, 0.2156863 > } } // Bottom Deck - usable
diameter: exactly 19 meters/units - ceiling height: exactly 3 meters /units
union
{
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 000.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 030.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 060.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 090.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 120.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 150.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 180.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 210.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 240.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 270.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 300.0,
0.0 > }
box { < 10.0, -4.2, -0.05 > < 25.0, -1.3, 0.05 > rotate < 0.0, 330.0,
0.0 > }
texture { MyHullInsideBottom }
rotate < 0.0, 15.0, 0.0 >
}
object { HomeNegative }
}
#declare HomeHollow = difference
{
object { HomeExact texture { MyHull } }
object { HomeExact scale < 0.999,0.996,0.999 > texture { MyInterior }
/*pigment { color rgbt < 0.8039216, 0.5882353, 0.29411765, 0.00 > }*/ }
}
#declare HomeWithInterior = union
{
object { HomeHollow }
object { MyInteriorWalls }
}
#declare LightsOrangeRings = union
{
torus { 2.475 0.025 rotate < 0.0, 0.0, 90.0 > translate < 20.0, 0.0,
0.0 > rotate < 0.0, 000.0, 0.0 > }
torus { 2.475 0.025 rotate < 0.0, 0.0, 90.0 > translate < 20.0, 0.0,
0.0 > rotate < 0.0, 120.0, 0.0 > }
torus { 2.475 0.025 rotate < 0.0, 0.0, 90.0 > translate < 20.0, 0.0,
0.0 > rotate < 0.0, 240.0, 0.0 > }
pigment { color rgb < 0.8784314, 0.2, 0.003921569 > }
finish { emission 1.0 }
}
#declare HomeLights = union
{
object { HomeWithInterior }
object { LightsOrangeRings }
light_source
{
< 0.0, 5.5, 0.0 >
color rgb 0.2
}
// cylinder { < 0.0, -1.3, 0.0 > < 0.0, -1.19, 0.0 > 19.0 pigment {
color rgb < 0.145098, 0.1921569, 0.05882353 > } } // measuring deck
diameter (do not use)
}
object { HomeLights scale 0.8 translate < 0.0, 0.0, 0.0 > rotate < 0.0,
000.0, 0.0 >}
---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
Post a reply to this message
|
 |