Subject:
|
Re: LDRAW models and pictures
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Mon, 27 Mar 2000 22:34:01 GMT
|
Highlighted:
|
(details)
|
Viewed:
|
1946 times
|
| |
| |
In lugnet.cad, Bram Lambrecht writes:
> Could you post a code sample? (only to cad.ray, please)
> --Bram
Of course! Here it is:
plane { z,0
pigment { image_map { sys "bushes.bmp" } scale <300,300,1> }
normal { bump_map { sys "bushes.bmp" bump_size 10} scale <300,300,1> }
finish { ambient 0.2 diffuse 0.2 }
rotate <90,0,0>
translate <0,140,0>
}
I apply the same image as a bump map. It's converted internally to grayscale.
The light parts of the image give the impression of height while the dark
parts create depressions. I scale both the image map and the bump map by the
same amount so they overlap.
George
You can get some good seamless hi-res textures to use from:
http://www.totallyseamless.com/
|
|
Message is in Reply To:
| | Re: LDRAW models and pictures
|
| (...) Sounds similar to the box I made for set 6888[1]. I created three sides, and added a fourth side that wasn't visible so the shadows would look right. (...) Could you post a code sample? (only to cad.ray, please) --Bram 1) (URL) Lambrecht / o o (...) (25 years ago, 26-Mar-00, to lugnet.cad, lugnet.cad.ray)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|