Function Init_Imposters
treecount = 64
buildingcount = 32
IMP START
IMP MAKE GROUP ImpTreeGroup, 4096, 4096, treecount, treecount
IMP GROUP SET DISTANCE SQUARED ImpTreeGroup, 1000 * 1000
IMP GROUP SET LIGHT ImpTreeGroup, 1
IMP GROUP SET FOG ImpTreeGroup, 1
IMP GROUP SET FOG COLOUR ImpTreeGroup, rgb(192,160,255)
...
End Function
Main Loop....
do
fog color 192,160,255
sync
...
(my main loop is getting huge)
...
loop
I did try setting the fog color before the sync. Also I am using version 1.0761 and when I do the update, it says it is all up to date.
I have to give credit for Dark Imposters, it does improve the speed. I have played with similar concepts using Visual Basic with Truevision3D / Revolution3D. That used billboards, shapes with less polygons. Also for forests, I tried putting simple 2D plane behind a bunch of 3D trees, giving an illusion that there is a big forest there. Only works if the terrain is flat. I think I have to give it some more depth though.