Planetside Software Forums

Support => Terragen Support => Topic started by: Kranky on December 31, 2008, 06:30:51 AM

Title: Strange Painted shader
Post by: Kranky on December 31, 2008, 06:30:51 AM
Yesterday I tried to use a painted shader for blending a texture. I start painting, stopped it, used the painted shader as blending shader and rendered. But the texture was blended in stripes on the terrain. Then I started the painted shader again for correct and optimize it, but that wasn't my painting!? Everything was stretched - so I tried again, but with the same result.
Today I created a new painted shader for testing - with the same effect.

paint1.jpg is my painted shader.
paint2.jpg is the painted shader after stopping and starting again (without doing anything else between).
Title: Re: Strange Painted shader
Post by: old_blaggard on December 31, 2008, 12:51:13 PM
Could you share a .tgd? My first guess is that the painted shader is applying displacement to the terrain.
Title: Re: Strange Painted shader
Post by: Kranky on December 31, 2008, 01:40:09 PM
(TGD attached...)
Title: Re: Strange Painted shader
Post by: PG on December 31, 2008, 03:47:38 PM
Actually I would presume that you've started painting without pausing the preview. Best thing to do is delete that painted shader, let the preview render to 100%, pause it and then start painting and unpause it only when you're done. For a terrain like this I would use an absolute brush rather than view based.
Title: Re: Strange Painted shader
Post by: Kranky on December 31, 2008, 10:09:51 PM
I pause the preview always when it's done to paint. And I also used an absolute brush and a view based with the same result.
Title: Re: Strange Painted shader
Post by: Oshyan on January 16, 2009, 12:18:10 AM
Sorry for the late response. It looks like the paint strokes are simply being stretched when they're applied to the terrain shape. This will be affected by how you're applying the painted shader to your terrain. If you're using an Image Map Shader with the Painted Shader as input you should be able to use different projections. PlanY would probably create what you're seeing now, whereas Through Camera might provide more of the result you want. Something to play with at any rate.

- Oshyan
Title: Re: Strange Painted shader
Post by: cyphyr on January 16, 2009, 03:11:20 AM
I've had almost exactly the same thing hapen to me. Plan Y projection got streatched and distorted. 3D projection seems to be more stable.
Richard
Title: Re: Strange Painted shader
Post by: Kranky on January 16, 2009, 07:05:04 AM
Yesterday I switched to 3D projection and this works fine! :)