Giter VIP home page Giter VIP logo

aparis69 / rock-fracturing Goto Github PK

View Code? Open in Web Editor NEW
48.0 3.0 6.0 80.23 MB

Source code for the paper: Modeling Rocky Scenery using Implicit Blocks, published in The Visual Computer and presented at Computer Graphics International 2020.

Home Page: https://aparis69.github.io/public_html/projects/paris2020_Blocks.html

License: MIT License

C++ 20.00% C 78.81% Lua 0.20% Makefile 0.99%
procedural-generation signed-distance-field signed-distance-functions terrain-generation

rock-fracturing's People

Contributors

aparis69 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

Watchers

 avatar  avatar  avatar

rock-fracturing's Issues

Potentially missing header <algorithm> in blocks.cpp

Hi,
When testing under Ubuntu 20.04, gcc/g++ v9.3.0 I get this error:
==== Building RockFracturing (debug64) ==== blocks.cpp ../Code/Source/blocks.cpp: In static member function ‘static SDFNode* SDFUnionSphereLOD::OptimizedBVHRecursive(std::vector<SDFNode*>&, int, int, double)’: ../Code/Source/blocks.cpp:131:19: error: ‘partition’ is not a member of ‘std’ 131 | auto pmid = std::partition(pts.begin() + begin, pts.begin() + end, BVHPartitionPredicate(stretchedAxis, axisMiddleCut)); | ^~~~~~~~~ make[1]: *** [RockFracturing.make:132: obj/x64/Debug/blocks.o] Error 1 make: *** [Makefile:17: RockFracturing] Error 2

This can be fixed quickly by just adding #include<algorithm> in blocks.cpp. I think this small modification shouldn't require a pull-request, by I could do it if you find it necessary.

Cheers,
Jose

PS: Thanks for sharing this repo, I've been looking for something like this for a while without success.

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.