Git Product home page Git Product logo

xbuilder's Introduction

XBuilder

The level editor for the X3D game engine!

Dependencies

You will need:

Build Instructions

git clone [email protected]:catastropher/XBuilder.git
cd XBuilder
mkdir build
cd build
cmake ..
make -j 4

xbuilder's People

Contributors

catastropher avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xbuilder's Issues

View window movement

Currently the View Window receives key events, even if it's not selected. This means if e.g. I'm typing something in the console, it may still move the camera. Looking around with the arrow keys is also awkward. Ideally, we should have mouselook. The problem is, if we do mouse look while the view window has focus, it will make it awkward for users when they try to use the tools. A possible solution is to enable mouselook when a specific key is held down (e.g. in Blender, this is middle mouse button).

Performance issues from rendering the view window every frame

Currently, the X3D View Window forces X3D to re-render the scene every frame. Because this is software rendering and X3D is currently built in debug mode, this is having a huge negative impact on performance. Also, once X3D is done rendering the scene, it has to be uploaded as an OpenGL texture which is also expensive. To fix this, we should:

  • Make it so the scene is only re-rendered when necessary
  • Make the editing tools more aware of the View Window. If something in the tool changes, then the View Window should automatically be redraw. A potential issue is that a tool may draw an overlay on the level e.g. the extrude tool shows a preview. A solution may be to give each tool a custom View Window rendering callback that gets called for the current tool when the View Window needs to be redrawn.
  • When the camera moves, the View Window should also be redrawn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.