Platform
Resources
Pricing
Sign in
Contact us
Sumant Pattanaik
Workspace
Fork
Published
2 collections
By
Sumant Pattanaik
Edited
Jan 21, 2021
ISC
Fork of
Ray
•
2 forks
1 star
Computer Graphics Fundamentals
Vectors and vector Algebra
Rotations
Normal Matrix
Useful Javascript Array functions.
CAP 4720: Introduction to Observable
Barycentric Coordinates
Rasterization & Interpolation
Basic WebGL Programming Using REGL
Diffuse lighting: Lambert Cosine Model.
Specular lighting Model
Shade Due to Diffuse Lighting
SpotLight and its effect in Lighting.
WebGL Texture in REGL
WebGL/twgl Rendering of Multipart Model with Texture
Normal mapping
Blending Example
Stenciling Example
Model Loader, Viewer
Point In front or back of A Plane
Silhouette Edge
Rotor Quaternion
Fragment Inside/Outside Volume
SLERP: Spherical Linear Interpolation
Instancing in Regl
Color from Wavelength, Correlated Temperature and HTML color picker
HSV and HSL Color Models
Parametric curve
CAP 4720 Final Project List
OBJ Parser: obj2sc
Ray-Box intersection
Ray
Ray-Sphere (in 2D) intersection
Ray-Scene (2D) intersection
Uniform Grid Acceleration
Scaled Objects from OBJ models
Skybox rendering using Cubemap.
WebGL Texturing using twgl.
Also listed in…
Ray Tracing
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ray
=
rayANDbox
.
ray
Insert cell
Insert cell
md
`### Visualization related definitions`
Insert cell
scale
=
(
p
)
=>
[
xScale
(
p
[
0
]
)
,
yScale
(
p
[
1
]
)
]
Insert cell
windowAspect
=
width
/
height
Insert cell
yScale
=
d3
.
scaleLinear
(
)
.
domain
(
[
-
10
,
10
]
)
.
range
(
[
height
,
0
]
)
Insert cell
xScale
=
d3
.
scaleLinear
(
)
.
domain
(
[
-
10
*
windowAspect
,
10
*
windowAspect
]
)
.
range
(
[
0
,
width
]
)
Insert cell
Insert cell
md
`### External Libraries and Tools`
Insert cell
arrowhead
Insert cell
import
{
arrowhead
}
from
"@harrystevens/linear-algebra"
Insert cell
import
{
rangeSlider
,
themes
}
from
'@mootari/range-slider'
Insert cell
d3
=
require
(
"d3"
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Compare fork
Fork
View
Export
Listed in...
Computer Graphics Fundamentals
Sumant Pattanaik
Ray Tracing
Sumant Pattanaik
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rayANDbox
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
box
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ray
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ray_box
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
scale
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
windowAspect
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
yScale
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
xScale
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
height
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML