On Tue, 2003-07-22 at 12:51, Sean R. Lynch wrote:
> On 21 Jul 2003 14:09:47 -0400
> Jack Madison <[EMAIL PROTECTED]> wrote:
> 
> > Also, any good way to "paint" the ground?  In my attempt I
> > programatically applied a material to points in the landscape.  This IS
> > quite useful and I will continue to use this, but it lacks the precision
> > and detail necessary for something like a road.  Imagine a twisty
> > country road complete with painted lines.  How could something like this
> > be done?  Certainly the way I painted a path using set_texture just
> > isn't going to work.
> 
> Maybe you can do "building blocks" for roads; i.e. sections of roads with various 
> left-right curvatures. You couldn't do all possible country roads, but with enough 
> textures you could do a fairly convincing one. You'd just have to limit which road 
> textures were next to which others. I think you'd only have to do this for parts of 
> the road with painted lines. The other option would be to have the lines themselves 
> be shapes added later to follow the height of the road, but it seems like that would 
> cause some strange issues with the LOD code, since the lines would tend to disappear 
> under the road or float above it when they were in the distance.

You mean using still set_texture?  Maybe I haven't played around enough
with the various options, but what I have found is the landscape blends
the various materials.  In this example the road would be blended with
the landscape texture at the edges.  This isn't a great shot, but when I
tried to "paint" a brick road on my island, the brick material is
blended with the grass material (link not attachment for the bandwidth
impared):
http://madison.webhouse.cc:8080/jack/programming/pics/Screenshot1.png


> Maybe we just need to add code to the landscape engine to make such things work. 

I'm with you on this one.  The existing landscape functions work well
for what they do, but unless I'm missing something (entirely possible),
they do not provide the functionality for something like a detailed road
or path.  


Hey, I just checked out the screen shots of "Slune" wondering how they
look and I see the roads look MUCH better than my stuff (no surprise). 
The outside screen shot looks like a typical landscape and possible
blending of a brick path and a sand land, but much better than mine. 
But the city looks nothing like what I've done.  Is the city done with
landscapes, or is it really a non-landscape object as it appears?



-- 
Jack Madison <[EMAIL PROTECTED]>



-- 
Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]

Reply via email to