GithubHelp home page GithubHelp logo

applied-scientific-research / omega3d Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 6.0 4.68 MB

GPU-accelerated 3D vortex methods solver with easy GUI

License: GNU General Public License v3.0

C++ 78.37% CMake 0.22% C 21.20% GLSL 0.21%
vortex-methods cfd potential-flow boundary-element-method imgui simd-parallelism gpu-acceleration

omega3d's People

Contributors

bhill96 avatar markstock avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

omega3d's Issues

Draw 3D stuff better

Both drawing boundaries (triangles) and particles (billboards) can be better, as can upgrading the view from orthogonal to perspective. There are three tasks here.

  1. Render in perspective, this means implementing an arcball-like rotation and an allowance to move the center of rotation.
  2. Render boundaries as solid with basic direct and ambient lighting.
  3. Instead of drawing billboards with transparency (costly with lots of overlap, and difficulty when depth culling), we may consider using instanced rendering or geometry shaders to convert each point into a screen-space fan of 7 or 9 opaque triangles. I have code for that in my lidar viewer. With the size ratio properly set, this would look much more 3D.

Create boundaries from Quad

In 2D we make our boundaries from boundary segments. We should be doing the same here with boundary quads.

File IO window for Geometry Files won't resize

When trying to add a 3D model through a .obj file on Mac, the file selection window will not keep its new window size when clicking on the resize tab. It snaps back to its original size.

When editing a feature, the feature's existing properties need to be used

It seems that if I have more than one of a type of feature (vortex blob, for example), and I edit the first blob that I made, the edit dialog is populated with the properties from the latest blob that was made/edited. I would expect to have it populated with the specific blob's properties instead.

Add Torus as boundary Feature

It is currently used to draw vortex rings pre-sim, but would be a cool object to add. This would require #6 to be implemented first to use for generate_draw_geom.

Crash when json on command line doesn't exist

When running something like Omega3D.bin threeblobs.json where the json file does not exist, the program crashes with the following ugly error:

Omega3D.bin: /home/mstock/asr/version3/Omega3D/src/json/json.hpp:17944: const value_type& nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::operator[](T*) const [with T = const char; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer>::value_type = nlohmann::basic_json<>]: Assertion `m_value.object->find(key) != m_value.object->end()' failed.
Aborted (core dumped)

What should happen is the program opens, and a dialog opens saying that we couldn't find that file.

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.