|
|
Thanks. Yes, I assumed that there are many errors in my function. But I
am still not sure, how to develop a code that does what I need to be done.
See at the very bottom (end) of this posting an excerpt of the scene
where it is important for me to create random numbers "right at that
spot" (Number(1.2) as otherwise too many extra lines of code would be
required.
How can I create random numbers, in the range from negative to positive,
within each line?
-------------------------
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 0.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks Boiler Area
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 0.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 0.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 0.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 1.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 1.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 1.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 1.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 2.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 2.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 2.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 2.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 3.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 3.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 3.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 3.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 4.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.11, 0.0, -0.00 > < 2.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -4.0, 4.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 0.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 0.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 0.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 0.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 1.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 1.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 1.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 1.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 2.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 2.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 2.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 2.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 3.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 3.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 3.9, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 3.9, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 4.4, -7.50 > scale <
1.0, 1.0, -1.0 > } // Horizontal Planks
box { < 0.01, 0.0, -0.00 > < 1.99, 0.3, -0.05 > texture { MyYellow }
rotate < 0.0, 0.0, Number(1.2) > translate < -1.0, 4.4, -7.50 > scale <
1.0, 1.0, 1.0 > } // Horizontal Planks
---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
Post a reply to this message
|
|