netradiant-custom icon indicating copy to clipboard operation
netradiant-custom copied to clipboard

Decal Projected Road

Open Baker7 opened this issue 1 year ago • 0 comments

Hey Garux, just sharing something I made that ... well for me for now ... is going to change everything ...

Decal projected roads via map preprocessing ...

(These pics were initial tests .. I don't claim they look great, I could do way better with the appearance, this was a test subject).

autoroad

decal_hills2

I didn't actually put that in the map compiler, I made Zircon engine (my modified DarkPlaces) act as command line .map tool if -csg is specified in the command line ... and it preprocesses the .map file looking for info_decal and looks for a start and end point and reads the "texture" and the "step" and the "target".

Then it creates a series of decal projections from A to B at the specified interval, inserting _decal and info_nulls to paint the road onto the map during the map compile process.

Baker7 avatar Sep 06 '24 23:09 Baker7