Skip to content

Commit

Permalink
Merge pull request #6 from guaje/sh_odf_exp
Browse files Browse the repository at this point in the history
Ray traced with uniforms
  • Loading branch information
tvcastillod authored Jun 13, 2024
2 parents 44e35a7 + 668a7c3 commit c491e75
Show file tree
Hide file tree
Showing 78 changed files with 8,282 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ docs/source/api
docs/source/auto_examples
docs/source/auto_tutorials
docs/source/reference
docs/source/sg_execution_times.rst
docs/examples/*.png
docs/examples/*.vtk
docs/examples/*.gif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,40 +97,52 @@
in float scaleVSOutput;
"""

eval_sh_2 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_2.frag"))
eval_sh_2 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_2.frag")
)

eval_sh_4 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_4.frag"))
eval_sh_4 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_4.frag")
)

eval_sh_6 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_6.frag"))
eval_sh_6 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_6.frag")
)

eval_sh_8 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_8.frag"))
eval_sh_8 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_8.frag")
)

eval_sh_10 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_10.frag"))
eval_sh_10 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_10.frag")
)

eval_sh_12 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_12.frag"))
eval_sh_12 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_12.frag")
)

eval_sh_grad_2 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_2.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_2.frag")
)

eval_sh_grad_4 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_4.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_4.frag")
)

eval_sh_grad_6 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_6.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_6.frag")
)

eval_sh_grad_8 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_8.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_8.frag")
)

eval_sh_grad_10 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_10.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_10.frag")
)

eval_sh_grad_12 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_12.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_12.frag")
)

# Searches a single root of a polynomial within a given interval.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,40 +191,52 @@ def uv_calculations(n):
}
"""

eval_sh_2 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_2.frag"))
eval_sh_2 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_2.frag")
)

eval_sh_4 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_4.frag"))
eval_sh_4 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_4.frag")
)

eval_sh_6 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_6.frag"))
eval_sh_6 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_6.frag")
)

eval_sh_8 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_8.frag"))
eval_sh_8 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_8.frag")
)

eval_sh_10 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_10.frag"))
eval_sh_10 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_10.frag")
)

eval_sh_12 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_12.frag"))
eval_sh_12 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_12.frag")
)

eval_sh_grad_2 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_2.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_2.frag")
)

eval_sh_grad_4 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_4.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_4.frag")
)

eval_sh_grad_6 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_6.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_6.frag")
)

eval_sh_grad_8 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_8.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_8.frag")
)

eval_sh_grad_10 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_10.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_10.frag")
)

eval_sh_grad_12 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_12.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_12.frag")
)

# Searches a single root of a polynomial within a given interval.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,40 +98,52 @@
in float scaleVSOutput;
"""

eval_sh_2 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_2.frag"))
eval_sh_2 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_2.frag")
)

eval_sh_4 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_4.frag"))
eval_sh_4 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_4.frag")
)

eval_sh_6 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_6.frag"))
eval_sh_6 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_6.frag")
)

eval_sh_8 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_8.frag"))
eval_sh_8 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_8.frag")
)

eval_sh_10 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_10.frag"))
eval_sh_10 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_10.frag")
)

eval_sh_12 = import_fury_shader(os.path.join("rt_odfs", "eval_sh_12.frag"))
eval_sh_12 = import_fury_shader(
os.path.join("rt_odfs", "descoteaux", "eval_sh_12.frag")
)

eval_sh_grad_2 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_2.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_2.frag")
)

eval_sh_grad_4 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_4.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_4.frag")
)

eval_sh_grad_6 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_6.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_6.frag")
)

eval_sh_grad_8 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_8.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_8.frag")
)

eval_sh_grad_10 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_10.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_10.frag")
)

eval_sh_grad_12 = import_fury_shader(
os.path.join("rt_odfs", "eval_sh_grad_12.frag")
os.path.join("rt_odfs", "descoteaux", "eval_sh_grad_12.frag")
)

# Searches a single root of a polynomial within a given interval.
Expand Down
Loading

0 comments on commit c491e75

Please sign in to comment.