Hi all,

I have the Terrain Node source code. It compiles, but it does not work.

The screen is black and crashes when space is pressed : In this case the glPolygonMode is altered.... using both test examples.

Any suggestions?

Bye!


On 4/24/05, Dirk Reiners <[EMAIL PROTECTED]> wrote:

        Hi Mike,

On Thu, 2005-04-21 at 21:05 -0700, mike penick wrote:
> Hello,
>
> I was read the old posts in the mailing lists and someone was talking
> about a Terrain Node. Does anybody know what happen to this project or
> have a link to some of the source or documentation from this project?

That was code by Christoph Fuenfzig. I just realized that I never
checked that into Contrib. I just did it, you can check it out and take
a look. I haven't tried it in a while, though.

> If we were to make our own Terrain LODing would it be okay to do the
> following to rebuild the map every frame.
>
> With dynamic updated geometry objects is okay to do something like
> this every frame:
>
> geo->getTypes()->clear();
> geo->getLengths()->clear();
> geo->getLengths()->clear();
>
> or is that inefficent and have the possiblility of memory
> fragmentation. I read something about this in the old posts but there
> was never really a straight answer.

The problem is that it depends on your STL implementation, which differs
from system to system, and from compiler to compiler. If clear() frees
the memory it could be a problem. But there is not really that much you
can do about it, as set will probably also do a realloc.

        Dirk

--
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users



--
Aitor Moreno
   [EMAIL PROTECTED]

Reply via email to