OpenMind scene graph 0.7.1 released

Discussion in 'Beyond3D News' started by Saem, Apr 19, 2003.

  1. Saem

    Veteran

    Joined:
    Feb 7, 2002
    Messages:
    1,532
    Likes Received:
    6
    Recently Mind 2 Machine 3D Entertainment released the latest version (0.7.1) of its open source scene graph Open Mind. The scene graph is authored in Java and relies on Jausoft's OpenGL for Java library. It should be understood that OpenMind relies on native C++ code for its speed and is not pure Java. Open Mind is predominantly meant for games and it's reflected in its feature set.

    The current game specific feature set is:
    • Per vertex illumination
    • PNG and TGA textures
    • multi Sub Object materials
    • Display lists
    • Vertex arrays
    • Rendering ordered by texture sorting
    • Vertex colors
    • Full dynamic Fog
    • Blending
    • Mipmapping
    • View frustrum culling
    • Octree managment
    • Full dynamic lights
    • Full dynamic Cameras
    • Picking
    • Mouse and keyboard interaction
    • Bitmap font support
    For a complete feature list you can go here.

    For those interested in learning more about OpenMind you can download the binary, Java doc or SDK (with source) from here. The source is available under the LGPL licence. For those interested in contributing to this project you can visit Source Forge and browse over to the project page or click here.

    I believe this is a glimpse into the future. For the nay sayers, C++ tends to be slower than C, but this didn't stop people from moving to C++. In a short period of time, CPUs will be faster, RAM will be more abundant and the JVMs will improve. Java isn't the only candidate language, possibly and more realistically we might see C# making in roads quite soon.
     
  2. Anonymous

    Veteran

    Joined:
    May 12, 1978
    Messages:
    3,263
    Likes Received:
    0
    Well, this isn't true in any meaning - C++ isn't slower than C in any single area. It's the misuse of the language features that can cause the slowdown - but then, every language can be misused; with C++ it's just easier because of language complexity.
     
  3. Saem

    Veteran

    Joined:
    Feb 7, 2002
    Messages:
    1,532
    Likes Received:
    6
    C++ does tend to have more overhead and is thus slower.
     
  4. Anonymous

    Veteran

    Joined:
    May 12, 1978
    Messages:
    3,263
    Likes Received:
    0
    Overhead on what? It's only overhead vs. C is it's complexity - so it's a lot harder to learn it. But by itself it has no space nor time overhead.

    It's some specific programming techniques that might be called as "having overhead", but then, if you use some technique, it's overhead in C++ and C is the same. Eg. virtual functions - sure they have some (although very small one) overhead, but if you use the same thing in C (pointers to functions), it's the same overhead. Generic programming (templates in C++) have code size overhead, but if you use generic programming (eg. using preprocessor macros) in C, it's the same overhead.
     
  5. Colourless

    Colourless Monochrome wench
    Veteran

    Joined:
    Feb 6, 2002
    Messages:
    1,274
    Likes Received:
    30
    Location:
    Somewhere in outback South Australia
    Incorrect. Virtual Functions have a larger overhead than Function Pointers.

    Virtual functions work by doing object->vtable->function()

    While a Function Pointer works like object->function()

    As you can seel, virtual functions have an extra indirection.
     
  6. Anonymous

    Veteran

    Joined:
    May 12, 1978
    Messages:
    3,263
    Likes Received:
    0
    Yes, but 99% of the time you don't want to have function pointers in all your objects - then you build one table of pointers per object type - then you get the same thing as vtable.

    Ok, I'm already nagging here :)
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...