Welcome, Guest! Log In | Create Account

Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000092 [Delta3D] Defect minor always 2009-10-08 11:48 2009-10-08 11:48
Reporter rioiart View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 2.3.0
Summary 0000092: testTerrain is referencing resources that are not available in the standard distribution.
Description The ability to handle and manage large and complex terrains is one of the selling points for Delta3d, sill it is a unclear from the example provided how to perform the most basic operations with terrain.
First of all the example is referencing resources and paths that are not available in the downloadable package.
Second there are no default parameters that exemplify functionality.

More concretely I am talking about %DELTA_ROOT%\examples\testterrain.cpp

- In the main function:
   dtCore::SetDataFilePathList(dataPath + ";" +
      dtCore::GetDeltaRootPath() + "/examples/data" + ";" +
      dtCore::GetDeltaRootPath() + "/examples/testTerrain" + ";");
These folders do not contain all the resources referenced in the source.

- In the main function
   arguments.getApplicationUsage()->addCommandLineOption("--geo <geopath>","Set file for geospecific data");
   arguments.getApplicationUsage()->addCommandLineOption("--geodrape <path>","Set file for geospecific drape texture across the terrain.");
What does the geospecific data represent? - no sample data is provided, the default value is geospecific = "";

- in the CreateTerrain method a call is made to:
         // Add Geospecific Dataset
         mVeg->SetGeospecificImage(mGeospecificPath);
yet no sample data is provided.

- in the the CreateLCCType method.
       industrial.AddModel("models/industry1.ive");
       industrial.AddModel("models/industry2.ive");
       deciduous.AddModel("models/Maple_silver_alone_16_1.flt/Maple_silver_alone_16_1.flt",4.0);
       deciduous.AddModel("models/Maple_silver_alone_21_1.flt/Maple_silver_alone_21_1.flt",4.0);
       deciduous.AddModel("models/Maple_silver_alone_32_1.flt/Maple_silver_alone_32_1.flt",4.0);
...etc

No such models exist in the default distribution.



Additional Information I tried to fix the example by removing the references to missing resources, but still it doesn't work.
I have attached the stdout and stderr console outputs of when I tried to run the modified version of testTerrain with no command line arguments.
Tags No tags attached.
Attached Files zip file icon notWorking.zip [^] (6,959 bytes) 2009-10-08 11:48

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-10-08 11:48 rioiart New Issue
2009-10-08 11:48 rioiart File Added: notWorking.zip


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker