It seams the rendering is being slower if the painted shader is just a little bigger.
Is it supposed to be this way?
Regards,
Terje
Have you tried using the Paint Shader in the Terrain module? This speeds everything up.
Quote from: sjefen on January 13, 2010, 09:59:21 AM
It seams the rendering is being slower if the painted shader is just a little bigger.
Is it supposed to be this way?
Regards,
Terje
How do you mean? A little bigger than what?
Well.... I had painted something that was supposed to mask away something in the scene, then I wanted to get rid of a little more so I painted a little more. Not much, but the rendertime went noticeable up.
- Terje
The painted shader layered itself would be my guess. Erase or clear the painted shader first, then draw a new one.
Yeah.... I just tried painting a new one and the rendering is much faster :)
I don't understand why it has to layer itself like that tho. Would be nice if I could just continue paining ::)
Regards,
Terje
I think there is an option to do that. I rarely use the painted shader. I like the 'accident' way of using a distribution shader with a density fractal.
Hmmm..... I need to figure out that one.
- Terje
Hi Terje,
Quote from: sjefen on January 13, 2010, 10:35:19 AM
Yeah.... I just tried painting a new one and the rendering is much faster :)
I don't understand why it has to layer itself like that tho. Would be nice if I could just continue paining ::)
The Painted shader is procedural rather than being as if you were painting into a bitmap. This means it's resolution independent, kind of like a vector illustration is. It records your strokes. Strokes are layered because an erase stroke is like a negative stroke. If an erase stroke covers a paint stroke then it knows not to show anything there. When you erase nothing is actually deleted as such.
At some point we may have an option to bake the painted shader so you can use it's output as image map.
Regards,
Jo
Wow, that's a good bit of info. Thanks Jo!
How does the projection in the painted shader actually work then? It just projects a plane through the "active" strokes through the axis that's specified in the transform tab?
Lets say I would paint on a plane object that's 4km away. Would the projection look different through the same camera if I painted on a plane that's only 100m away?
The strokes are recorded in 3D space wherever you paint them, but the projection is done during rendering and can be changed after the stokes have been painted. The strokes are projected (stretched) along whichever axis you choose so that you can change the terrain without the strokes becoming disconnected from the terrain. If you choose 3D projection, the paint only applies within the original strokes in 3D space and is therefore very sensitive to changes in the geometry you project it onto.