Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Adding color directions #7

Draft
wants to merge 3 commits into
base: sh-odf-impl
Choose a base branch
from

Conversation

guaje
Copy link

@guaje guaje commented Nov 8, 2024

This PR aims to calculate predominant directions within the glyphs and use them for coloring.

tvcastillod and others added 3 commits November 8, 2024 20:01
* added file for experimentation

* added SH implementation with 2 parameters

* adjusted script

* added coefficients to experimental implementation

* deleted unused variables

* added files for experimentation on each issue

* added file for experimentation with textures

* updated files

* passing coefficients through texture with few glyphs

* comparison of passing coefficients with uniforms vs texture

* Pruning duplicate coeffs.

* Refactoring FS declaration code.

* Added temp call to Fury's Central Differences Normals calculation.

* Added new file with changes.

* Restored texture_coefficients.py

* organized files

* adjusted uv vals

* Added minor changes.

* added new file for SH efficient implementation

* Minor changes in shader code.

* Added first version of Peters' paper.

* Added difinitions for constants.

* Added first functions of main shaders.

* All functions added.

* clear

* Removed rotation code and resolution dependent code.

* Renamed folder spherical_harmonics as rt_odfs.

* Organized main code.

* Created ray_traced_3.py to simplify ray_traced_1.py content. Removed BRDF functions.

* added SH efficient implementation to the base impl with texture

* Added minor changes to base Ray Tracing implementation (ray_traced_1.py).

* Minor changes on ray_traced_3.py.

* Minor changes in ray_traced_1.py

* Forwarded camera right and up vectors.

* Used 3D point as frag_coord for uv mapping.

* Tournier first implementation

* updated files

* added Tournier impl

* Improved description of ray_traced_3.py

* Prep for new ray_traced file.

* Minor changes to ray_traced3.py

* Created ray_traced_6.py to fix scalability.

* Minor changes to ray_traced_6.py

* Added README and renamed ray_traced files.

* Added ray_traced_4.0.py as an analogous version of ray_traced_2.0.py. Updated README.

* Removed ray_traced_6.0.py from PR.

* implementation with a slice

* made adjustments on odf slice example

* updated README

* Removed unused black tags.

* Minor changes in several ray_traced experiments.

* Improved multiplatform compatibility of ray_traced_6.0.py. Changed illumination model.

* fixed scaling

* Fixed merge.

* added odf actor implementation

* adjusted scaling

* Added ray_traced_7.0.py which includes an argument parser.

* Added DIPY's ODF slicer python script with argument parser for profiling tool.

* Minor changes to ray_traced_7.0.py

* Renamed experimental folder.

* Changed basis to Tournier's.

* reorganized files

* Added folders for Descoteaux and Tournier basis.

* Updated ray_traced scripts to use spherical harmonics basis.

* Added ray_traced_6.5.py to debug performance issues.

* added degree param

* adjusted the degree setting

* Changed first uniform.

* Added ray_traced_3.5.py to take single ODF screenshot.

* added tests

* adjustments on tests and parameter validation

* Added Min-Max Normalization function.

* Added composed eval sh.

* Moved newton_bisection.frag to root_finding folder.

* reorganized and refactored odf actor

* Re-added newton_bisection.frag to rt_odfs.

* Fixed uniform and flats data type. Added numCoeffs param to rayGlyphInteresctions function.

* Moved dipy_slicer.py script to personal repo. Renamed as odf_slicer_cli.py

* Minor fix on uncertainty cone actor.

* Replaced SH_DEGREE with shDegree in rayGlyphIntersections function.

* Added extra arguments to rayGlyphIntersections function.

* Renamed variables in rayGlyphIntersections finction.

* Added new eval_sh.frag.

* Added dynamic evalSH function.

* Refactored eval_sh_x functions.

* Refactored getInvVandermonde function.

* Removed unnecessary eval_sh.frag file.

* added odf actor implementation

* adjusted scaling

* reorganized files

* added degree param

* adjusted the degree setting

* added tests

* adjustments on tests and parameter validation

* reorganized and refactored odf actor

* added odf actor implementation

* adjusted scaling

* reorganized files

* added degree param

* adjusted the degree setting

* added tests

* adjustments on tests and parameter validation

* reorganized and refactored odf actor

* added odf actor implementation

* adjusted scaling

* reorganized files

* added degree param

* adjusted the degree setting

* added tests

* adjustments on tests and parameter validation

* reorganized and refactored odf actor

* adjusted odf actor and added example

* adjustments on variables name and handle degree with uniform

* made suggested changes

* adjusted odf actor test

* fixed format

* made adjustments to the format

* fixed format

* fixed codespell and docs ci's

---------

Co-authored-by: Javier Guaje <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants