regarding brush rotation

prathap

30-08-2008 06:12:37

hi,i need to rotate my brush according to the object rotation,please give a sample code or an idea how can i achieve this
thx in advance

CABAListic

30-08-2008 09:31:32

ETM v2 does not support this. A brush is a 2D array that is necessarily fixed on the grid of the terrain and cannot be rotated. You could create the effect of a rotated brush by creating a bigger brush and calculate interpolated values for each array position to represent a rotated brush, but this is only viable if you don't rotate the brush too often (because it needs to be recalculated every time).

ETL v3 has support for rotating brushes, but it will still be some time before a first public release.