On Thu, 28 Aug 2003, Norman Vine wrote:
> What errors are you getting from the Terra build ??
After tweaking the Makefile to use the right compiler and flags, and point
to glut running make gives:
g++ -I/usr/X11R6/include -O2 -g -DSAFETY -DIOSTREAMH -c terra.cc
In file included from Geom.h:24,
from Heap.h:4,
from GreedyInsert.h:4,
from terra.h:4,
from terra.cc:1:
Vec2.h:43: ISO C++ forbids declaration of `ostream' with no type
Vec2.h:43: `ostream' is neither function nor member function; cannot be
declared friend
Vec2.h:43: syntax error before `&' token
> What OS are you running ?
Slackware Linux current, which uses gcc 3.2.3. Is that the source of the
problem?
> AFAICT we want to use the Python script which if caled with no arguments
> should print some help i.e.
>
> $ python src/Prep/TerraFit/terrafit.py
AIUI this is just a script which drives terra though, not a standalone
solution?
> Usage: src/Prep/TerraFit/terrafit.py
> -h | --help
> -m | --minnodes 50
> -x | --maxnodes 600
> -e | --maxerror 50
> -f | --factor 0.033333
> -v | --version
> [file] | [path to walk]
>
> Algorithm will produce at least 50 fitted nodes, but no
> more than 600. Within that range, the algorithm will stop
> if the maximum elevation error for any remaining point
> drops below 50 meters.
Are these sensible values, or should we be pushing maxnodes up, and
maxerror down (and if so, how far) - I'm guessing that fitting a better
surface will take longer, I'm not particularly worried about this, as long
as we get a good result for the finished scenery - also more points=more
triangles, and we need to ensure we have scenery that's going to be usable
on a wide range of hardware.
--
Jon Stockill
[EMAIL PROTECTED]
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel