Hi, need help with the Terrain extension. I dont really understand how it works.
This link
viewtopic.php?f=8&t=237&p=1232&hilit=terrain+extension#p1232Talks about how it should now work by compiling it and that It used to involve more work.
The wiki says
Quote:
To install the extension, simply copy the contents of the extension root directory to the Horde3D SDK folder and merge the directories. In Visual Studio, add the extension and sample projects to the solution. Then add the extension project to the project dependencies of the Horde3D Engine and the Horde3D Engine to the dependencies of the Terrain Sample. After that, include 'Terrain/extension.h' in 'egExtensions.cpp' of the engine and add '#pragma comment( lib, "Extension_Terrain.lib" )' to link against the terrain extension (under Windows). Finally, add the following line to ExtensionManager::installExtensions to register the extension:
and the include doc says
Quote:
In Visual Studio, add the extension and sample projects to the Horde3D solution. Then add the extension
project to the project dependencies of the Horde3D Engine and the Horde3D Engine to the dependencies of
the Terrain Sample. After that, include 'Terrain/extension.h' in 'egExtensions.cpp' of the engine and add
'#pragma comment( lib, "Extension_Terrain.lib" )' to link against the terrain extension (under Windows).
Finally, add the following line to ExtensionManager::installExtensions to register the extension:
They are similar but a bit confusing to me. Is this old info per that link above? Should the terrain extension just run after compile?
Currently I can compile but receive error "Unknown node type or missing attribute for 'Terrain'" in the log.
My guess is that it does not know the node type "heightmap" and if so I must be missing a step?
I want to thank Volker for his help thus far and felt I should start a new thread specific to this error as the last threat was getting rather daunting,