« Return to Thread: Terrain renderers status

Re: Terrain renderers status

by je.a.le :: Rate this Message:

Reply to Author | View in Thread

Jack Popovciuc a écrit :

> Hi all,
>
> There are:
> nCTerrain2 - which looks like was used by RadonLabs in their SDK,
> nCLODTerrain - another implementation of CLOD terrain?
> nMap - ?
>
> It looks like all of them are unmaintained for a some time
> None of them compiled for me from the start (I use Visual Studio 2005).
> After I spent some time on configuration, then a couple of days of
> debugging and resource files manipulations, I managed to run them.
>
> However, only nMap displays something and does not crush.
>
> nCLODTerrain demo shows wheels, which fall on something invisible
> (should  be terrain, I suppose), but it is not rendered. And after some
> time crashes with DX E_OUTOFMEMORY error on creating empty small-size
> texture (D3D9Texture->CreateEmpty()). The program itself consumes less
> than 10Mb of RAM at that moment...
>
> ncTerrain2 had a bug with not initializing terrainScale (it was a random
> huge number), then a probably bug with incorrect logic on asserting
> empty mesh state (it supposed to be Valid after creating an empty mesh).
> After a couple of days of struggling I managed to run it finaly, and a
> couple of times it even displayed smth. like untextured terrain. Then I
> started to play with size/scale, and now I am constantly receive
> E_OUTOFMEMORY from nChunkLODMesh::CreateVertexBuffer() (which is
> nD3D9Mesh::CreateVertexBuffer()), or from CreateEmptyTexture(), although
> program consumes less than 10Mb of memory, and  buffers  supposed to be
> created  are  of  reasonable size. Not sure if it is significant, but
> all the calls in these failing cases are made by ResourseServer from a
> separate thread.
>
> If someone can explain current status of these project, or give a clue
> on why this error appears, please do not hesitate to do that! Any
> information will be appreciated.
>
> Jack.
>
>

I've taken a look at nclod and nct some weeks ago. I merged both into nebula
tree,  got some results - meaning rendering on screen - , made mangalore viewers
but nothing that can actually be used into a project. Mostly huge issues with
shaders. Since I want opengl/glsl, I moved to this "problem" first...

in ncterrain2 I noticed some crash without been able to solve the problem. It
seem it has something to do with the lod/mesh selection. well, let's say I gave
up....

fist you need to compile terrain data/map that not actually into nebula.
nclodterrain  need its splatterrain shader too, which doesn't work very well
either, so in two world : Have fun !!!!

I can post my (crappy) code somewhere if this might help...

I where thinking about use this code as background resources and write a new
terrain from scratch...

BTW : this is why we need a forum : I already reported some of those bugs you
spend/wast time on too...



A+

>
> *** NOTE: To reply to the list use "reply to all",  ***
> ***       to reply direct to the sender use "reply" ***
> _______________________________________________
> Nebuladevice-discuss mailing list
> Nebuladevice-discuss@...
> https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

 « Return to Thread: Terrain renderers status