Nebula3 Study Notes (1): Preface

Source: Internet
Author: User

  PrefaceCurrently this engine is only a preview version, a lot of functionality is still in the development of hardware requirements: graphics card support shadermodel3.0 author blog: http://flohofwoe.blogspot.com Open-source projects usedTo avoid incompatibility between versions
  • Lua (http://www.lua.org)
  • SQLite (http://www.sqlite.org)
  • Tinyxml (http://www.grinninglizard.com/tinyxml)
  • Zlib (http://www.zlib.net)
Architecture Overview
  • Nebula3 is divided into three layers, each layer is built on another layer:
    • Base Layer: the bottom layer provides basic platform abstraction Under graphics and audio. The base layer can be used as any type of program development platform, not just real-time 3D programs.
    • Rendering layer: This is the middle layer. It adds many features on the base layer, such as 3D rendering, audio, physical and Scenario Management.
    • Application Layer: this is the highest layer. It provides a complete game framework, allowing developers to focus on the game logic without having to focus on various details.
  • Nebula3 will be integrated with Mangalore, and various subsystems of Mangalore will be integrated into the appropriate layers of nebula3.
  • Compared with nebula2, nebula3 tends to use C ++.
  • Nebula3 manages object lifecycles through reference counting and smart pointers.
  • The new object model of nebula3 uses a 4-byte base class to replace 70 + bytes in nebula2.
  • Rtti is more efficient and easy to use.
  • Nebula3 still does not use C ++ exceptions, rtti and STL (all of these are not performance reduction or portability reduction ).
  • It is faster and easier to create objects based on class names.
  • Nebula3 avoids using C lib and removes the additional code layer.
  • Nebula3 uses Lua instead of TCL as the standard scripting language (of course, it can also be added to support other scripting languages)
Base Layer
  • AppContains various application classes
  • ATTRProperty Registration
  • CoreObject Model of nebula3
  • DebugProgram memory dump and HTTP-based debugging information (this is really a good thing, the first time I heard of it)
  • HTTPThe HTTP server and client are implemented, so that debugging information can be viewed in the browser in real time.
  • IoInput/Output System, very convenient
  • MathThere is nothing special about the C ++-based mathematical library.
  • MemoryImplemented a custom memory distributor
  • MessagingMessage Definition
  • NetThe most basic TCP-based C/S architecture, more features will be provided in the high-level network expansion
  • ScriptingScript System
  • SystemFeatures related to the hardware platform and specific operating systems
  • ThreadingMultithreading
  • TimingTime/timer management
  • UtilTool library, including various containers, data structures, and a powerful string class (discard STL !)
  Rendering Layer
  • CoreGraphicsGraphics library CORE class
  • FrameFrame-based processing, such as rendertarget and postprocess
  • GraphicsSome entity type definitions, such as camera
  • InputEnter the device, that is, the mouse and keyboard handle .....
  • LightingIllumination processing, including the shadow algorithm (sm3.0 @_@)
  • ModelsSkeleton Model & Particle System
  • RenderutilCurrently, there is only one Maya camera .....
  • ResourcesResource Manager
  Application LayerThe application_win32 Project is a simple game with a framework, but it already contains many features, such as physics and databases. However, it seems that there is still a lack of GUI systems. Plug-insCurrently, there are three ode-based physical engines, SQLite-based local databases, and nebula2-based bone model systems. CompileThere is nothing to say, just open. sln and compile it directly. I have never seen such a simple open source project ^_^

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.