Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decal Projected Road #214

Open
Baker7 opened this issue Sep 6, 2024 · 0 comments
Open

Decal Projected Road #214

Baker7 opened this issue Sep 6, 2024 · 0 comments

Comments

@Baker7
Copy link

Baker7 commented Sep 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant