About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Some questions...
Author Message
jordicat Offline
Member

Post: #1
Some questions...
Hello to all comunity, I have used Esenthel engine for 2 weeks and I have seen a very very complete engine. I have executed all tutorials with no problem, except the tutorial Terrain.cpp. It crashes at function:
Bool Init()
{
Cam.at.y+=2; // move camera up

Sky .set();
Suns.New().set(*Images("gfx/sky/sun.gfx"));

// create mesh
Mesh mesh;
CreateMesh(mesh);

// create terrain MeshGroup from standard Mesh
mshg.create(mesh,VecI(5,1,5)); // create MeshGroup with 5x1x5 (5*1*5=25) splits (Mesh is splitted to 25 parts along axises)
mshg.setRender();

return true;
}

at line mshg.create(mesh,VecI(5,1,5)); // create MeshGroup with 5x1x5, throwing an exception of invalid access.
Also, I have found this same error when I tried to create a mesh group from a Box mesh.
I would like to create a terrain by this method (or better from a heightmap file if it was possible), what can I do?

Thanks for your help.
11-20-2009 10:31 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Some questions...
thanks for reporting the issue, I'll fix this in few minutes
11-20-2009 10:44 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Some questions...
please use the Autoupdate tool, the error has been fixed
11-20-2009 11:44 PM
Find all posts by this user Quote this message in a reply
jordicat Offline
Member

Post: #4
RE: Some questions...
Fantastic Esenthel, now I run the terrain tutorial OK.

I have noticed also that bump mapping has been improved in a example I have made after the update of the engine.
Thanks.
11-21-2009 12:33 PM
Find all posts by this user Quote this message in a reply
Post Reply