Planetside Software Forums

General => Terragen Discussion => Topic started by: gregsandor on April 18, 2007, 07:11:33 PM

Title: Can you apply Surface shader with Slope Constraints on objects?
Post by: gregsandor on April 18, 2007, 07:11:33 PM
I've tried and it doesn't crash, but not working yet.  Anyone solved this?
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: old_blaggard on April 18, 2007, 07:22:47 PM
http://forums.planetside.co.uk/index.php?topic=1249

Simply put, make sure you apply a compute terrain after all of your dispacement is applied but before the surface layer.
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: bigben on April 18, 2007, 07:31:08 PM
It depends on what you are trying to achieve.  If you're refering to the slope of the object surface, then no, it won't work.  The slope is referenced from the terrain.
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: gregsandor on April 18, 2007, 07:39:10 PM
I have a model of a pyramid.  I want to put a rock shader all over it, then using slope, put sand on the flat parts.  Kind of like snow piling up on it.
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: Oshyan on April 18, 2007, 07:52:00 PM
Slope and altitude constraints are measured against the terrain. They don't currently work on objects as far as I am aware. This may be possible in the future.

- Oshyan
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: bigben on April 18, 2007, 07:52:32 PM
That falls into the the "won't work" category.  You could try creating an image map to displace the terrain upwards to create the pyramid and another image map to displace the brick cracks (and other surface texture)... and then you could pile sand on it to your heart's content.  ;)
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: old_blaggard on April 18, 2007, 07:54:48 PM
Oh, sorry, I misunderstood the question.
Title: Re: Can you apply Surface shader with Slope Constraints on objects?
Post by: gregsandor on April 18, 2007, 07:55:51 PM
Thanks, I started with that:  terrain of the city with pyramids/terrain.  Now I'm replacing the displaced structures with modeled ones.