Coder Social home page Coder Social logo

brutpitt / glchaos.p Goto Github PK

View Code? Open in Web Editor NEW
775.0 26.0 61.0 25.39 MB

3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime

Home Page: https://michelemorrone.eu/glchaosp

License: BSD 2-Clause "Simplified" License

GLSL 1.04% CMake 0.47% Shell 0.04% C++ 97.17% C 0.01% HTML 0.17% Batchfile 0.02% Rich Text Format 0.01% Objective-C 1.08%
attractors glsl opengl azdo particles imgui hypercomplex webassembly emscripten webgl

glchaos.p's Introduction

Hi there πŸ‘‹

glchaos.p's People

Contributors

alessandro-gentilini avatar brutpitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glchaos.p's Issues

runtime path requirements?

hi, first of all thanks for this epic project! I've been really enjoying using it for "ambient background fractals".

I have a question about the build + runtime requirements of the project. I was able to very easily build it, but I am only able to run it successfully from the project root directory:

$ cd src
$ sh build_glChAoSP.sh

    glChAoS.p build starts . . .

    ---  CMake stage  ---

-- selected OpenGL_45 ...
-- OPENGL_INCLUDE_DIRS:
-- OPENGL_LIBRARY: /nix/store/cw3vvzl0ql7s4hb7cw0fw1y60pz7wmlp-libGL-1.6.0/lib/libOpenGL.so;/nix/store/cw3vvzl0ql7s4hb7cw0fw1y60pz7wmlp-libGL-1.6.0/lib/libGLX.so
GNU...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mhueschen/projects-reference/glChAoS.P/src/build

    ---  make stage  ---


[100%] Built target glChAoSP_Linux

    . . . end glChAoS.P


$ ../glChAoSP_Linux
[1]    1283199 floating point exception (core dumped)  ../glChAoSP_Linux
$ cd ..
$ ./glChAoSP_Linux
# (application opens in a new window and works as expected)

my goal in manually building it is to create a nix (https://github.com/NixOS/nix) derivation for the project, so it can be reproducibly built and installed on my NixOS system. it could also, then, be submitted to https://github.com/NixOS/nixpkgs which would allow others to easily install and use this fantastic tool.

I have a derivation which works and produces the same glChAoSP_Linux, but if I run it from anywhere but the project root, it crashes with the same floating point exception as above.

my guess is that there could be assumptions in the code about loading files relative to the project root, but I am not C++ literate enough to know for certain.

when you make the release builds, is there a process for producing the executables beyond sh build_glChAoSP.sh?

thanks!

fatal error C9999: *** exception during compilation *** with latest NVIDIA drivers

The problem appear ONLY in Windows with latest NVIDIA drivers 436.30 (GRD) and 431.86 (SD).
Tested with RTX 2070 and GTX 1050TI in Windows 10 19H1 (1903) and RS3 (1709).

No problem with 431.70 (SD) or olden drivers, nor in Linux (with 430.40 and below), and nor with AMD and Intel drivers/cards.
Being a drivers problem it influence all version of glChAoS.P, also the previous ones.

No problem, instead, with WebGL versions (wglChAoS.P).

I opened a "bug" on NVidia and await developments

Any report of malfunction is welcome

Stepped shadows with low precision zBuffer

Currently with low precision of depth buffer the shadows presents artifacts (stepped shadow), like this:
sShot_201991_124423

you can resolve it going in Settings (F8) and deselect the default option: Use LOW precision

I'm working to resolve it

Able to choose dedicated GPU if present? Possible solution inc.

https://stackoverflow.com/questions/68469954/how-to-choose-specific-gpu-when-create-opengl-context

"Win32 GDI integration of OpenGL doesn't offer means to explicitly select the desired device"

Maybe add #defines to glApp.h, worked for me to pre-select Nvidia RTX3070Ti over Iris Xe
#define _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
#define _declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 0x00000001;

When the Nvidia and AMD drivers see their respective symbol exported and set to nonzero in a program, they will take precedence over the integrated GPU when creating the OpenGL context

Fractals for medical imaging

Dear Michele,

I am a postdoc working at the University College of London in collaboration with the NHS and King's College. We are looking for a way to generate a dataset of 3D fractal images to use with brain imaging to help train machine-learning models.
We found your tool and were amazed by your images!
We were wondering whether there is a way to generate grayscale point clouds with a given resolution using your tools.
The images that we use are generally 91 x 109 x 91 in grayscale (well, each voxel contains one number that we generally visualise in grayscale).

I don't know if your tool is already able to do that or if it would require some tweaking. I haven't done much of C++, but I might be able to make changes if I know where to look :).

Thank you for your fantastic tool and your help!
Chris Foulon.

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.