Planetside Software Forums

General => Terragen Discussion => Topic started by: Inscrutable on November 18, 2008, 03:26:19 PM

Title: Problem with Rock Object and displacement
Post by: Inscrutable on November 18, 2008, 03:26:19 PM
Hi, I've done a search of the forums and can't see that this has been asked before but if it has been, please accept my apologies and I'd be grateful if you could point me in the right direction.

Basically, I was just trying out the rock object with a single instance but applying Mr Lamppost's procedural granite and some displacement to the surface.  Unfortunately, as you can see in the screenshot, the result is that the sides appear to not meet.  Is this a known issue and is there a fix or get-around?

Thanks,

Inscrutable
Title: Re: Problem with Rock Object and displacement
Post by: Kevin F on November 18, 2008, 03:34:57 PM
It's half underground. Just reposition to be above/on the surface.
Title: Re: Problem with Rock Object and displacement
Post by: cyphyr on November 18, 2008, 03:40:06 PM
I don't think that's the issue :)
This is a known issue, related to the displacement, try removing all displacement and then start adding small amounts at low frequency and see how far you can "up it".
For close up rocks you might want to model your own in a separate package and get it exactly right.
Good luck
richard
Title: Re: Problem with Rock Object and displacement
Post by: reck on November 23, 2008, 03:54:34 PM
Will this problem with the rock object be fixed in the next release?

It is of limited use at the moment without the ability to add displacement to make it look like a rock. Even with relatively small displacement it still brakes apart and trying to add some small voronoi displacement caused it to render a 100% black.

Title: Re: Problem with Rock Object and displacement
Post by: Mohawk20 on November 23, 2008, 04:38:07 PM
And what happens if you increase the amount of sides?
Title: Re: Problem with Rock Object and displacement
Post by: FrankB on November 23, 2008, 05:26:37 PM
Forget about displacing the rock object for the moment, guys, it's not going to work. The object itself is a regual object, unlike the fake stones, which have "infinite" detail (ok maybe not infinite in practice). You an apply displacements as you can see, but the rock obect has sides and they tear apart.

Frank
Title: Re: Problem with Rock Object and displacement
Post by: reck on November 23, 2008, 05:53:38 PM
Yeah Frank I was thinking it would work like fake stones, but the rock just falls to bits. Obviously with no displacement it doesn't look to good so hopefully this will get fixed for the next update.

Mohawk I increased the sides to a few hundred but it still doesn't work. I got better results when I selected smooth normals but there are still problems with the rock object and it just doesn't seem to work to well right now.
Title: Re: Problem with Rock Object and displacement
Post by: Matt on December 07, 2008, 02:01:56 PM
Displacement occurs along the face normal, which is not smoothed across the face boundaries unless you enabled smooth normals on the rock. You can fix this by enabling smooth normals, but then you lose the appearance of sharp edges. I may be able to improve this in future versions by having separate smoothing options for shading (lighting) and displacement.

Matt
Title: Re: Problem with Rock Object and displacement
Post by: reck on December 07, 2008, 03:30:39 PM
Quote from: Matt on December 07, 2008, 02:01:56 PM
I may be able to improve this in future versions by having separate smoothing options for shading (lighting) and displacement.

Matt


Would be nice if you could  :)