|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello.
I am creating a scene w/ a castle on top of a hill and surrounded by a
wall at the bottom. The hill consists of a merge csg consisting of the
following component:
1 box that forms the top and main body of the hill
4 cones, 1 centered on each corner, w/ 0 radius on top
An inclined plane on each side to fill in the gaps
I need help creating the inclined plane. I already put together the box
w/ the cones, and the basic picture is already looking good. When I
tried a prism object, w/ linear splines, it came out awful. I checked
the docs for anything creating an inclined plane or wedge shape, but I
can't find anything that does what i want. Please help me find a
solution, cause it is very aggravating to be so close and yet so far.
Bill Drown
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thought of using a height_field instead?
You could put together a pigment pattern perhaps to create the image for
it. 'gradient x*y' might be the thing to use. You would need more
rounded corners though, and I can't really think of anything further,
sorry.
William Drown wrote:
>
> Hello.
> I am creating a scene w/ a castle on top of a hill and surrounded by a
> wall at the bottom. The hill consists of a merge csg consisting of the
> following component:
> 1 box that forms the top and main body of the hill
> 4 cones, 1 centered on each corner, w/ 0 radius on top
> An inclined plane on each side to fill in the gaps
> I need help creating the inclined plane. I already put together the box
> w/ the cones, and the basic picture is already looking good. When I
> tried a prism object, w/ linear splines, it came out awful. I checked
> the docs for anything creating an inclined plane or wedge shape, but I
> can't find anything that does what i want. Please help me find a
> solution, cause it is very aggravating to be so close and yet so far.
>
> Bill Drown
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto:inv### [at] aolcom?Subject=PoV-News
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
William Drown wrote:
>
> Hello.
> I am creating a scene w/ a castle on top of a hill and surrounded by a
> wall at the bottom. The hill consists of a merge csg consisting of the
> following component:
> 1 box that forms the top and main body of the hill
> 4 cones, 1 centered on each corner, w/ 0 radius on top
> An inclined plane on each side to fill in the gaps
> I need help creating the inclined plane. I already put together the box
> w/ the cones, and the basic picture is already looking good. When I
> tried a prism object, w/ linear splines, it came out awful. I checked
> the docs for anything creating an inclined plane or wedge shape, but I
> can't find anything that does what i want. Please help me find a
> solution, cause it is very aggravating to be so close and yet so far.
>
> Bill Drown
There is one little trick you can try that might be to your liking.
Use a box or superellipsoid object scaled to length. Stand it up at
an appropriate angle and scale it verticaly. Then rotate it back
into a near flat position. You will find your once square box is now
sloped.
Untested example:
box{-.5,.5
scale < 10, 2.5, 5.0 >
rotate 45*z
scale < 1.0, 0.75, 1.0 >
rotate 45*-z
}
Besides this hack using primitives there is really nothing you can't
do with csg operations if you work hard enough at it or the much
easier approach would be, as Bob said, by using height fields in the
first place.
Make your own height field map for a ramp by taking a white flat
box and lay it up against a black plane. Give the box a finish with
ambient 0 and diffuse 0.6 - 1 . Place a camera pointing straight at
at it with a light source back as far as the camera but way off to
one side of the box. You will have one side of the box lit more
brightly than the other and this brightness diffrence if used as
an image for a HF object will give you a sloping ramp shape.
Or you could just cheat. Take a box the right size, tilt it, and then
bury the uneeded parts into the ground. Who's going to know ?
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
William Drown wrote in message <36FDA370.E90E076F@lamere.net>...
>Hello.
> I am creating a scene w/ a castle on top of a hill and surrounded by a
>wall at the bottom. The hill consists of a merge csg consisting of the
>following component:
> 1 box that forms the top and main body of the hill
> 4 cones, 1 centered on each corner, w/ 0 radius on top
> An inclined plane on each side to fill in the gaps
>I need help creating the inclined plane. I already put together the box
>w/ the cones, and the basic picture is already looking good. When I
>tried a prism object, w/ linear splines, it came out awful. I checked
>the docs for anything creating an inclined plane or wedge shape, but I
>can't find anything that does what i want. Please help me find a
>solution, cause it is very aggravating to be so close and yet so far.
>
> Bill Drown
>
If all you want is to fill in the gaps. Just use thin boxes rotated to the
correct angle and scaled to fit the gap. After all you don't care about the
bit "inside" the hill. Just make the "top" surface of the box match up with
the other objects.
Regards
Gordon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|