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.

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

-- 
Sean Lynch http://sean.lynch.tv/
patch css.c < dmca.patch; patch smtp.c < antispamlegislation.patch
patch crappysecurity.c < taxpayer.patch; rm freedom.c

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to