• entries
    436
  • comments
    1179
  • views
    763090

:P

Sign in to follow this  
JTippetts

823 views





What a colossal waste of time today. Didn't finish the desert terrain set like I wanted, though I did do a quickie stone-paved road type that seems to work okay. Not fantastic, but it suits for now. I didn't get around to doing the grass/scrub texture like I wanted, and I probably should do a rocky ground and a dried mud one just to round things out. That scrabbly dirt one I'm not entirely satisfied with, so I might swap it out for the stony ground one when it's done. Need something better for road fringes too; right now, I'm just blending out the paving stones into the surrounding sand.

Should start thinking about optimizations to the whole procedure of blending roads; right now, I am calling blur routines a lot, and combined with the noise generators to start with I am looking at a pretty significant generation time. Gotta see if I can cut it down a bit, to a more manageable level.

For now, though, it's bedtime...
Sign in to follow this  


7 Comments


Recommended Comments

Quote:
Should start thinking about optimizations to the whole procedure of blending roads; right now, I am calling blur routines a lot, and combined with the noise generators to start with I am looking at a pretty significant generation time. Gotta see if I can cut it down a bit, to a more manageable level.

Bit of guess work here... but your previous posts on how roads were constructed ended up with a mask-image that was mostly black but with a grey/white "line" where the path should be.

Maybe you can take advantage of the fact that the solid-colour areas won't change with blurring, and find some way of isolating just the roads? some sort of grid system and/or edge filter might well do the trick.

All based on the principle of not doing any work where you know it won't have any effect [smile]

Jack

Share this comment


Link to comment
jollyjeffers: That's a good idea. I could hack together a blur function that takes a second buffer and uses it as a mask, so that only the elements in the destination buffer that have a mask value greater or lesser than a certain threshold (specifiable) are blurred. Then, simply rasterizing ones into the mask buffer where the roads pass would suffice to keep other areas from being blurred. Or, preferably, I could even use the road blend buffer for this mask, to keep from having to build a dedicated mask buffer. Muchas gracias for the prod in the right direction, mi amigo.

RobLoach: What do you mean? Something like this?

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now