Saturday, October 26, 2019

Vulkan Resources


[1] Vulkan-sdk https://www.lunarg.com/vulkan-sdk/
[2] Download https://vulkan.lunarg.com/
[3] Document
https://vulkan.lunarg.com/doc/view/1.1.101.0/linux/getting_started.html
https://vulkan.lunarg.com/doc/view/1.1.70.1/linux/getting_started.html
[4] C++ binding https://github.com/KhronosGroup/Vulkan-Hpp

[5] Examples https://github.com/SaschaWillems/Vulkan

[] gli, C++ image library. Works with OpenGL or Vulkan https://github.com/g-truc/gli

Sunday, October 20, 2019

https://github.com/alexjc/neural-enhance
https://github.com/idealo/image-super-resolution

Saturday, October 19, 2019

Fluids mandatory lectures



Navier-Stokes-equations
[0] Thesis: Parallel architecture to solve NSE https://tel.archives-ouvertes.fr/tel-01152623/document


[1] https://www.quora.com/What-are-the-uses-of-the-Bernoulli-equations-Eulers-equations-and-the-Navier-Stokes-equations-and-when-do-we-apply-them
[2] Prof. Wang http://web.cse.ohio-state.edu/~wang.3602/
[2] http://web.cse.ohio-state.edu/~wang.3602/courses/cse3541-2019-fall/
[2] Course http://web.cse.ohio-state.edu/~wang.3602/courses/cse788-2011-fall/
[2.1] SPH Water Simulation equations http://web.cse.ohio-state.edu/~wang.3602/courses/cse788-2011-fall/results/Yi_Liu/SPH%20Water%20Simulation.htm
[3] https://www.comsol.jp/multiphysics/fluid-flow-conservation-of-momentum-mass-and-energy
[4] Matthias Müller http://matthias-mueller-fischer.ch/
[5] CFD Intro https://www.mathematik.uni-dortmund.de/~kuzmin/cfdintro/lecture1.pdf


Others
[1] CSG https://evanw.github.io/csg.js/

Sunday, October 06, 2019

Quadtree/Octree Resources



Dual Marching Cubes
[1] C++ https://github.com/planaria/dmc
[2] C++ https://github.com/dominikwodniok/dualmc
[3] Dual MC, C++ https://github.com/VVingerfly/surfRecon

Python Quadtree
[1] https://github.com/karimbahgat/Pyqtree
[2] https://github.com/ceumicrodata/quadtree
[3] https://kpully.github.io/Quadtrees/



References:
[1] quad-boost https://arxiv.org/pdf/1607.03292.pdf
[2] Morton code http://www.cs.umd.edu/~hjs/pubs/ShaffIVC88.pdf
[3] https://www.slideserve.com/bessie/dual-marching-cubes

Monday, September 30, 2019

Thursday, September 26, 2019

PCA/WPCA

Video Lectures
[1] SVD to PCA https://www.youtube.com/watch?v=mBcLRGuAFUk

Lectures
[1] https://skymind.ai/wiki/eigenvector
[2] https://www.projectrhea.org/rhea/index.php/PCA_Theory_Examples


[3] PCA Theory Example http://www.cs.otago.ac.nz/cosc453/student_tutorials/principal_components.pdf

[4] Animation 2D PCA https://www.intmath.com/matrices-determinants/eigenvalues-eigenvectors-concept-applet.php


[5] PCA on OpenCV
https://robospace.wordpress.com/2013/10/09/object-orientation-principal-component-analysis-opencv/


[6] Wavelets, Fourier, Kalman http://www.cs.otago.ac.nz/cosc453/





Resources:
[1] https://machinelearningmastery.com/calculate-principal-component-analysis-scratch-python/
[2] https://jakevdp.github.io/PythonDataScienceHandbook/05.09-principal-component-analysis.html
[3] Draw 2D principal axis PCA https://stackoverflow.com/questions/18299523/basic-example-for-pca-with-matplotlib

Saturday, September 21, 2019

Alternatives to Renderman

https://github.com/POV-Ray/povray/tree/3.7-stable/unix

Friday, September 20, 2019

Point Splatting codes


Compile GLviz
[1] code https://github.com/sebastianlipponer/glviz

     error: storage size of ‘shell_surface_listener’ isn’t known
 static const struct wl_shell_surface_listener shell_surface_listener = {


      solution: add #include "wayland-client-protocol.h" in SDL_waylandwindow.c


Not able to make successfully - undefined reference to symbol 'XCreateBitmapFromData'
add into extern/anttweakbar/CMakeLists.txt after set_target_properties(anttweakbar ... )

if (UNIX)
    target_link_libraries(anttweakbar X11)
endif()


Based on GLViz
[2] Surface Splatting code https://github.com/sebastianlipponer/surface_splatting

      error: storage size of ‘shell_surface_listener’ isn’t known
 static const struct wl_shell_surface_listener shell_surface_listener = {


      solution: add #include "wayland-client-protocol.h" in SDL_waylandwindow.c

Not able to make successfully - undefined reference to symbol 'XCreateBitmapFromData'
add into extern/anttweakbar/CMakeLists.txt after set_target_properties(anttweakbar ... )

if (UNIX)
    target_link_libraries(anttweakbar X11)
endif()

Graphics Guide



Persons:

[1] Point Splatting https://cgg.mff.cuni.cz/~jaroslav/

Thursday, September 12, 2019

SPH on Python

Based on https://pysph.readthedocs.io/en/1.0a1/installation.html
                https://pysph.readthedocs.io/en/latest/installation.html
Examples https://pypi.org/project/PySPH/

python3.2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
python3 -m venv /path/to/new/virtual/environment
 
 
Object arrays cannot be loaded when allow_pickle=False
pip install numpy==1.16.1
pip3 install PyQt5

 [1] SPH on Python https://github.com/pypr/pysph

Saturday, August 31, 2019

Word cloud

Python codes
[1] https://www.geeksforgeeks.org/generating-word-cloud-python/

Computer Graphics books




Basic in Fluids
Fluid Simulation for Computer Graphics Robert Bridson
The Art of Fluid Animation Jos Stam
Fluid Engine Development Doyub Kim


Fluid Simulations
 

 [1] Mathematics for 3D Game Programming and Computer Graphics


http://canvas.projekti.info/ebooks/Mathematics%20for%203D%20Game%20Programming%20and%20Computer%20Graphics,%20Third%20Edition.pdf
 [2] Computer Graphics Programming in OpenGL with C++
 [3] Opengl http://newton.uam.mx/xgeorge/uea/graficacion/(Morgan%20Kaufmann)%20Advanced%20Graphics%20Programming%20Using%20OpenGL%20(2005).pdf
 [4] 3D Graphics http://www.cse.chalmers.se/edu/year/2018/course/TDA361/LearningModern3DGraphicsProgramming.pdf
 [5]Foundations of 3D Computer Graphics
 [6] Interactive Computer Graphics https://inspirit.net.in/books/academic/Interactive%20Computer%20Graphics.pdf







Thursday, August 29, 2019

Anti Aliasing Lectures


Lectures
[1] http://cs248.stanford.edu/winter19content/lectures/02_drawtriangle/02_drawtriangle_slides.pdf
[2] http://graphics.stanford.edu/courses/cs348b-19-spring-content/lectures/08_sampling/08_sampling_slides.pdf
[3] http://www8.cs.umu.se/kurser/TDBC07/HT04/handouts/HO-lecture5.pdf


References:
[1] Super Sample http://hhoppe.com/proj/supersample/
Amortized Supersampling  http://hhoppe.com/supersample.pdf
[2] Sampling https://noahmjacobs.com/graphics/rasterizer/
[3] MultiSampling https://learnopengl.com/Advanced-OpenGL/Anti-Aliasing
[4] Anti Aliasing https://vr.arvilab.com/blog/anti-aliasing

Super-sampling Anti-aliasing Analyzed https://pdfs.semanticscholar.org/ebd9/ddb08c4244fc7df00672cacb420212cdde54.pdf

Comparison for R.T. Applications http://jacoblongazo.com/documents/Anti-Aliasing%20Paper.pdf


Related:
[1] Deep Learning Super resolution (2019) https://arxiv.org/pdf/1808.03344.pdf

Machine intelligence







Google brain https://research.google.com/bigpicture/

Mathematical Morphology on Graphs



References:
[1] A graph-based mathematical morphology reader https://arxiv.org/pdf/1404.7748.pdf
[2] Morphological filtering on graphs https://hal.archives-ouvertes.fr/hal-00700784v1/document

Monday, August 26, 2019

CGAL Alpha Shape Demos


Install CGAL
sudo apt-get install libcgal-dev

Compiling
g++ ex_alpha_shapes3.cpp -o ex1 -lCGAL -lgmp -frounding-math

Install Dependences for AlphaShape code

qtscript5-dev
libqt5opengl5-dev
libqt5svg5-dev

Others
[1] Poisson Disk Sample http://devmag.org.za/2009/05/03/poisson-disk-sampling/

Projection Resources

T-SNE SAMMON ...

Resources:
[1] t-sne tutorial https://distill.pub/2016/misread-tsne/
[2] umap python code https://colab.research.google.com/drive/1x22doRqgtsfnjFNB4MAYQPkruT2n3fmE

Source Code:
[1] https://github.com/tompollard/sammon

Friday, August 23, 2019

3D Contouring, Surface Reconstruction

IO/Tools
[1] Read OBJ file https://github.com/pywavefront/PyWavefront

Marching Squares
[1] Reading Metaballs and MS http://jamie-wong.com/2014/08/19/metaballs-and-marching-squares/
[2] https://github.com/SushantKafle/MarchingSquares

Marching cubes Python
[1] Python Code https://scikit-image.org/docs/dev/auto_examples/edges/plot_marching_cubes.html
[2] Python and OpenGL(Fast) https://github.com/ilastik/marching_cubes
[2.1] http://www.pyqtgraph.org/documentation/_modules/pyqtgraph/opengl/GLViewWidget.html
[2.2] http://www.pyqtgraph.org/ 

[3] https://github.com/pmneila/PyMCubes





Marching cubes C/C++
[0 http://paulbourke.net/geometry/polygonise/

[1] On OpenGl  http://paulbourke.net/geometry/polygonise/
     For compile :
     $g++ filename.cpp -o filename -lGL -lglut -lGLU

[2] On OpenGl https://github.com/nsf/mc

[3] Marching Cubes 33
         https://github.com/liscustodio/modified_mc33
         http://liscustodio.github.io/C_MC33/
[4] http://www.angelfire.com/linux/myp/MC/index.html

[5] Read  Wavefront obj file https://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadOBJ

[6] https://lorensen.github.io/VTKExamples/site/Cxx/Modelling/DiscreteMarchingCubes/

Lectures:
[1] O Marching Cubes(pt) http://fei.edu.br/~psergio/CG_arquivos/Marching%20Cubes.pdf

Thursday, August 22, 2019

Audio Feature Extraction



https://github.com/tuwien-musicir/rp_extract
https://github.com/tyiannak/pyAudioAnalysis

Saturday, August 17, 2019

Fluid Simulation:Compile Position Based Dynamics


PositionBasedDynamics is a library for the physically-based simulation of rigid bodies, deformable solids and fluids.

mkdir build
cd build
cmake ..

vi ../Demos/CMakeLists.txt

find_package(OpenMP)
if (OPENMP_FOUND)
     set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif(OPENMP_FOUND)

New Challenges:
Cuda version https://github.com/eric1221bday/PBF_15418

https://github.com/ebirenbaum/ParticleSolver
https://github.com/StoneBird/CIS565-FinalProject
https://github.com/chiwsy/Position_Based_Fluids

Resources:
[1] PBD https://github.com/InteractiveComputerGraphics/PositionBasedDynamics/




OpenCL version
[1] https://github.com/bwiberg/position-based-fluids

$git clone https://github.com/bwiberg/position-based-fluids.git
$cd position-based-fluids
$git submodule update --init --recursive #call dependences
$cmake -DCMAKE_BUILD_TYPE=Debug ..







Running apps

Runtastic (I uninstalled because force to update your device - Internet connection problems) Runkeeper  (Wrong GPS tracking) Strava   (Curr...