I just bought Blitz tree and so far I'm really happy with it's results on a 3D mesh landscape at least... despite the command syntax being incorrect!... ie... MakeTREE("filename",x#,y#,z#, size#=0, rotation#, scalex#, scaley#, scalez#)... returns a "too many parameters" error??... while MakeTREE("filename",pos_x,pos_y,pos_z, treesize=0,2)... appears to work great?
But I'm now trying to place trees using a placement-map... I have created a height-mapped scene, used the tree load command... LoadTreeColorMap("lm/treemap.bmp","lm/trees.txt",terr,20)... using the exact syntax shown in the docs... and once again I get a "not enough parameters" error?... so I added another ",20"... ie... LoadTreeColorMap("lm/treemap.jpg","lm/trees.txt",terr,20,20)... and now it works... or at least the error warning has stopped showing for this line!... but I have no idea what the last number is addressing, as it is obviously not covered in the docs?... and the position-map is still not working...
So I then created the position map using a single pixel 0,255,0 dot on a black texture (the same size as my height-map)... created th text file calling the trees (all exactly as shown in the docs)...ie...
1
"trees\sage\sage.btr" ,5, 5, 5
(# of trees followed by filesname, scale x/y/z)
... and NOW I get a "array index out-of-bounds" error?
Has anyone else here had problems implementing this?... cos I'd be very grateful of any help regarding the correct syntax for the use of placement-maps with Blitztree, as the supplied documentation is clearly out-of-date!
But I'm now trying to place trees using a placement-map... I have created a height-mapped scene, used the tree load command... LoadTreeColorMap("lm/treemap.bmp","lm/trees.txt",terr,20)... using the exact syntax shown in the docs... and once again I get a "not enough parameters" error?... so I added another ",20"... ie... LoadTreeColorMap("lm/treemap.jpg","lm/trees.txt",terr,20,20)... and now it works... or at least the error warning has stopped showing for this line!... but I have no idea what the last number is addressing, as it is obviously not covered in the docs?... and the position-map is still not working...
So I then created the position map using a single pixel 0,255,0 dot on a black texture (the same size as my height-map)... created th text file calling the trees (all exactly as shown in the docs)...ie...
1
"trees\sage\sage.btr" ,5, 5, 5
(# of trees followed by filesname, scale x/y/z)
... and NOW I get a "array index out-of-bounds" error?
Has anyone else here had problems implementing this?... cos I'd be very grateful of any help regarding the correct syntax for the use of placement-maps with Blitztree, as the supplied documentation is clearly out-of-date!