Falagard
13-04-2006 03:07:05
Tuan,
I think terrain painting is broken, or perhaps I'm missing something. The plm2 demo doesn't have terrain painting, right, just deform?
I'm using splatting2edit. First thing, I noticed that there's a mSupportModif in PagingLandScapeTexture that if false, will not update the texure after painting, and I assume the splatting2edit should have that setting to true but currently don't. After setting that to true, the upload() function gets called when I paint the terrain, however I'm not seeing the updated splatting texture rendered.
When I exit, I get some Alpha .modif png files created that DO show the modifications I've made, although where I've painted seems to be tiled unexpectedly in the .modif files. If I rename the .modif files to overwrite the original Alpha files and load the terrain I see what I painted, but it is tiled multiple times across the terrain.
The PagingLandScapeTexture_Splatting2Edit::upload() function is getting called etc.
Thoughts? I looked at the code, but since you're more familiar with it, I'd bang my head against the wall for days or weeks probably before finding something you might in an hour.
Here's a screen of the unexpected tiling, and the actual alpha png file where you can see it's not just a UV problem, the painting has actually been painted tiled into the alpha splatting texture.
Let me know if you can help, or if there's any other info you need from me.
Clay
I think terrain painting is broken, or perhaps I'm missing something. The plm2 demo doesn't have terrain painting, right, just deform?
I'm using splatting2edit. First thing, I noticed that there's a mSupportModif in PagingLandScapeTexture that if false, will not update the texure after painting, and I assume the splatting2edit should have that setting to true but currently don't. After setting that to true, the upload() function gets called when I paint the terrain, however I'm not seeing the updated splatting texture rendered.
When I exit, I get some Alpha .modif png files created that DO show the modifications I've made, although where I've painted seems to be tiled unexpectedly in the .modif files. If I rename the .modif files to overwrite the original Alpha files and load the terrain I see what I painted, but it is tiled multiple times across the terrain.
The PagingLandScapeTexture_Splatting2Edit::upload() function is getting called etc.
Thoughts? I looked at the code, but since you're more familiar with it, I'd bang my head against the wall for days or weeks probably before finding something you might in an hour.
Here's a screen of the unexpected tiling, and the actual alpha png file where you can see it's not just a UV problem, the painting has actually been painted tiled into the alpha splatting texture.
Let me know if you can help, or if there's any other info you need from me.
Clay