Hi:

I've been thinking in terrain plugin (the normal one, not the soc one) and
I think I have made some optimizations...

1º I remove a few lines in FillEdge function, because i think that if we
move the last call to this function before the 3º call and change this we
could get less triangles to represent exactly the same terrain. I've
looking it, with the bugplug, after made this change and it seems the same
terrain. But this must be checked by someone else :)

2º My second change is about the split function. I think that if all the
vertex of one block has the same height we could not split it. Why we need
more resolution for that block if that block can be represented with the
lowest detail?. So, in the split function I check if some points are in
the same height we don't need to split it again. This idea need to be
checked too because THERE IS STILL A PROBLEM (the joins with 3 lower lot
levels produce holes over some terreain where the aproximation for 9
points to discover if it the block is plane or not is not enought). But I
think that this could be a good idea...

The modified file is attached...

Oppinions, sugestions, help to solve the problems? :)

Manolo Padron  aka Manolopm on irc

Attachment: terrain.patch
Description: Binary data

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to