Per the errors from the editor, it was missing .glsl files. I just dumped some in there and it showed up as a very messy ( noise) like purple mesh. Looks like a terrain that was interpreted wrong.
Quote:
I'm also a bit confused, about what the log refers to. Is it from the terrain example from the download page or from one of the SVN branches? Or is it from the GameEngine Domino scene?
Well the log I posted was from the VS2005 (html log) build attempt from that download you linked me to.
The log from the editor I referred to above was from a scn file I put together from the same download. So I may have cause that error by not knowing about the .glsl files.
Downloading the extension should work out of the box, but for some reason it show nothing. All I have to go on is that HTML log output above.
A side note that may be the issue.
from the read me..
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:
installExtension( Horde3DTerrain::getExtensionName, Horde3DTerrain::initExtension, Horde3DTerrain::releaseExtension );
The extension is then part of the Horde3D DLL and can be used with the Horde3DTerrain.h header file.
The extension defines the uniform *terBlockParams* and the attribute *terHeight* that can be used
in a shader to render the terrain. To see how this is working in detail, have a look at the included
sample shader.
All I did was extract the zip file as instructed. Then I just compiled and ran.
but for example..
Quote:
add the extension and sample projects to the Horde3D solution.
What Horde3D solution, the source code? My project? The samples? Horde3D solution as in the folder? I know what that "sample projects" are, but what is the "extension"?
Quote:
Then add the extension
project to the project dependencies of the Horde3D Engine and the Horde3D Engine to the dependencies of
the Terrain Sample.
HUH?? LOL that is like crazy talk. A project is a VS project, how do you add that to something? Then it says to add it to the Horde3D Engine.. Again what Horde3D Engine? The engine is nothing more then an SDK right? Then add this engine back to the terrain sample? Man I feel so dizzy..
I dont know what all this is to mean but if there is more to the Horde3D_ExtTerrain please direct me to a place that will help. I dont claim to be an expert with VS, but I have used it for 5 years. That above line to me is gibberish.
I think following this explains a lot. http://www.horde3d.org/forums/viewtopic.php?f=8&t=237&p=1232&hilit=terrain+extension#p1232
I'm not sure as I was not around then but I'm guessing this talk above was in reference to how it used to be done. And now it works alone, which would clear up the confusion. If so I would remove all of that info if it is truly not relevant. If so I would guess I could just ad the bindings to my header folder? Or include the bindings in my header string.
I completely removed it and downloaded a fresh copy and now I get this log
Quote:
0.000 Initializing OpenGL renderer using OGL '2.0.3' by 'NVIDIA Corporation' on 'GeForce 7300 SE/PCI/SSE2/3DNOW!'
0.000 Extension EXT_framebuffer_multisample and/or EXT_framebuffer_blit not supported
0.344 Adding Pipeline resource 'forward.pipeline.xml'
0.344 Adding Material resource 'font.material.xml'
0.344 Adding Material resource 'logo.material.xml'
0.344 Adding SceneGraph resource 'terrain.scene.xml'
0.344 Loading resource 'forward.pipeline.xml'
0.344 Adding Material resource 'globalSettings.material.xml'
0.344 Loading resource 'font.material.xml'
0.344 Adding Shader resource 'overlay.shader.xml'
0.344 Adding Texture2D resource 'font.tga'
0.344 Loading resource 'logo.material.xml'
0.344 Adding Texture2D resource 'logo.tga'
0.344 Loading resource 'terrain.scene.xml'
0.344 SceneGraph resource 'terrain.scene.xml': Unknown node type or missing attribute for 'Terrain'
0.344 Loading resource 'globalSettings.material.xml'
0.344 Adding TextureCube resource 'ambientMap.png'
0.344 Loading resource 'overlay.shader.xml'
0.344 Shader resource 'overlay.shader.xml': Compiling shader context 'OVERLAY'
0.454 Loading resource 'font.tga'
0.532 Loading resource 'logo.tga'
0.532 Loading resource 'ambientMap.png'
0.547 Adding Camera node 'Camera'
0.547 Adding nodes from SceneGraph resource 'terrain.scene.xml'
0.547 Invalid Material resource handle 0 in setMaterialUniform
My guess is that it does not know the attribute "heightmap" and if so I must be missing a step?
for the solution or further help see
viewtopic.php?f=1&t=611