Hello Sebastian!

Sebastian Bechtold wrote:
> [...] but my plan would, for example, make it possible
> to render markings onto them, or draw softly rounded curves.

I'm specifically interested in the "markings" part (although I'm also
curious at how you want to implement softly rounded curves without
breaking the current concept of texture display).

This might require information which is currently not in the scenery
files, such as the actual position of the centerline and width of the
linear features. The triangles don't represent this information anymore,
however it is available from the scenery sources (e.g. the scenery
database). In general, making this information available in a suitable
format shouldn't be a technical problem (maybe one of available manpower
for implementing the stuff required, but that only means that it may
take longer).

Another possibility - at least for simple roads - would be to add a
centerline to the road texture and make TerraGear create an appropriate
texture mapping similar to how it is done currently in genapts for the
taxiways. Unfortunately, the part of TerraGear which creates the texture
coordinates does not know anymore that the polygon it is currently
operating on originally was a linear feature (blown up according to its
width to a polygon). So this approach might require some reorganisation
of the TerraGear architecture. Given that the current architecture is
quite complex (mainly due to the fact that the task at hand is complex)
 I don't think this is feasible without risking to break anything to a
larger extent.

When we're discussing about runtime creation of textures we might also
get into discussing blending of ground textures. In that case, we should
keep in mind that in reality not all types of landcovers actually blend
into each other.

When flying overhead forest areas - especially dense forest - these
typically do not blend with surrounding agricultural or greenland areas,
at least not in "civilised" areas where man tends to create sharp
corners by land usage. That's actually not related to this specific
discussion, but I wanted to note that before I forget.

Cheers,
Ralf


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to