Git Product home page Git Product logo

fatuous's Introduction

fatuous's People

Contributors

hbina avatar

Stargazers

 avatar  avatar  avatar  avatar

fatuous's Issues

How to engineering around Imgui owning variables?

Imgui uses a lot of pointers for its internal use and as such, tends to "own" various variables. We could avoid this by simply passing it the pointer to our variable say, but then again I really don't want to deal with pointers math (for aesthetic and technical reasons)

Currently, we deal with this by having to write more code.

PSA : Need someone with a decent computer to benchmark this

I only have a shitty Dell laptop. Someone with a better computer (preferably one with a dedicated GPU) to benchmark and make sure its just my shitty laptop that's shit but not the code.

I think the next biggest thing is to render per mesh so we can filter out unseen meshes.

error when trying to build the project

Followed the steps as described in the README and the PDF but came across an error when trying to cmake ..

I did do git clone --recursive [email protected]:hbina/akarin_engine.git

Error

cglotr@cglotr-ThinkPad-T480:~/workspace/akarin_engine/build$ cmake ..
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using X11 for window creation
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Error at thirdparty/glfw/CMakeLists.txt:210 (message):
  The RandR headers were not found


-- Configuring incomplete, errors occurred!
See also "/home/cglotr/workspace/akarin_engine/build/CMakeFiles/CMakeOutput.log".
See also "/home/cglotr/workspace/akarin_engine/build/CMakeFiles/CMakeError.log".

GCC version

cglotr@cglotr-ThinkPad-T480:~/workspace/akarin_engine/build$ gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version

cglotr@cglotr-ThinkPad-T480:~/workspace/akarin_engine/build$ cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Problems with OpenGL compliance

There have been several cases where the program behaves differently in Windows and Linux. It is entirely possible, perhaps likely, that we have been doing OpenGL wrong and are entering undefined behavior. Namely, we are probably doing shaders wrong.

An option is to use ANGLE.

Big troubles with loading textures to OpenGL

This problem will be solved with the introduction of dynamic runtime shader loading in the program, but just as a note I will post the problem here.

Loading textures into GLSL requires 2 things

  1. something like this: ShaderUtilities::setInt(model_shader, "depth_map", 4);
  2. then something like this: glBindTexture(GL_TEXTURE_CUBE_MAP, depth_cube_map);

Notice how we must store the information somehow.

Should we fork ImGui?

Complaints:

  1. For compatibility reasons, ImGui uses C. We are all about modern C++, so make it work with the standard library.
  2. Warn if identical names are used. Currently, it will simply not work without any warning.

Idea: Make Entities a monoid

The book DoD talks a lot about entities merging together into a swarm to reduce computational complexity of low resolution objects.
Here's an idea : the way we compose many entities into one is by making them compose-able in the first place!

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.