Skip to content

Commit

Permalink
add v1v2v3v4 slides and resize images
Browse files Browse the repository at this point in the history
  • Loading branch information
A-deLuna committed Oct 26, 2019
1 parent e858872 commit ba2ac22
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/como-encontrar-baricentricas.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h2> Punto P como suma de vectores </h2>
<h4> u CA + v CB = P
<div class="hcenter">
<div id="jxgbox" class="jxgbox" style="width:50vw; height:50vh;"> </div>
<div id="jxgbox" class="jxgbox" style="width:50vw; height:65vh;"> </div>
</div>
<div class="bottom-right">
<a id="left" href="coordeneadas-baricntricas.html">
Expand Down
2 changes: 1 addition & 1 deletion docs/como-encuentro-punto-en-triangulo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<h2> ¿Como encontramos si un punto está en un triángulo?</h2>
<div class="hcenter">
<div id="jxgbox" class="jxgbox" style="width:50vw; height:50vh;"> </div>
<div id="jxgbox" class="jxgbox" style="width:50vw; height:70vh;"> </div>
</div>
<div class="bottom-right">
<a id="left" href="codigo-dibujar-traingulo.html">
Expand Down
2 changes: 1 addition & 1 deletion docs/coordeneadas-baricntricas.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<h2> Coordenadas Baricentricas </h2>
<div class="hcenter">
<div id="jxgbox" class="jxgbox" style="width:50vw; height:50vh;"> </div>
<div id="jxgbox" class="jxgbox" style="width:50vw; height:70vh;"> </div>
</div>
<div class="bottom-right">
<a id="left" href="como-encuentro-punto-en-triangulo.html">
Expand Down
Binary file added docs/cross-product-anim.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/cross-product-simple.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/depth-buffer-baricentricas.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<link rel="stylesheet" href="jsxgraph.css">
</head>
<body>
<h2> depth-buffer-baricentricas </h2>
<h2> Interpolar entre profundidades </h2>
<div class="hcenter">
<div id="jxgbox" class="jxgbox" style="width:50vw; height:50vh;"> </div>
<div id="jxgbox" class="jxgbox" style="width:50vw; height:70vh;"> </div>
</div>
<div class="bottom-right">
<a id="left" href="depth-buffer-per-pixel4.html">
Expand Down
6 changes: 3 additions & 3 deletions docs/depth-buffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> depth-buffer </h2>
<h2> Depth Buffer </h2>
<div class="hcenter">
<img src="OverlappingScene.png"></img>
<img src="OverlappingResult.png"></img>
<img src="OverlappingScene.png" class="single-image"></img>
<img src="OverlappingResult.png" class="single-image"></img>
</div>
<div class="bottom-right">
<a id="left" href="renderer-v2.html">
Expand Down
4 changes: 2 additions & 2 deletions docs/flat-shading.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<link rel="stylesheet" href="jsxgraph.css">
</head>
<body>
<h2> flat-shading </h2>
<h2> Flat Shading </h2>
<div class="hcenter">
<div id="jxgbox" class="jxgbox" style="width:50vw; height:50vh;"> </div>
<div id="jxgbox" class="jxgbox" style="width:50vw; height:70vh;"> </div>
</div>
<div class="bottom-right">
<a id="left" href="renderer-v1.html">
Expand Down
2 changes: 2 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<body>
<h1> Intro a 3D Rendering </h2>
<h3> Por: Tony de Luna </h3>
<h4> Slides: <a class="diff" href="https://a-deluna.github.io/3dRenderingTalk/" target="_blank"> https://a-deluna.github.io/3dRenderingTalk/</a></h4>
<h4> Repo: <a class="diff" href="https://github.com/A-deLuna/3dRenderingTalk/" target="_blank">https://github.com/A-deLuna/3dRenderingTalk/ </a></h4>
<div class="bottom-right">
<a id="right" href="meta.html">
<button>
Expand Down
8 changes: 7 additions & 1 deletion docs/producto-cruz.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> producto-cruz </h2>
<h2> Producto Cruz </h2>
<div class="hcenter">
<img style="background-color:white;" src="cross-product-simple.gif"/>
</div>
<div class="hcenter">
<img style="background-color:white;" src="cross-product-anim.gif"/>
</div>
<div class="bottom-right">
<a id="left" href="producto-punto.html">
<button>
Expand Down
4 changes: 2 additions & 2 deletions docs/producto-punto.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ <h4> (a,b,c) * (x,y,z) = a*x + b*y +c*z </h4>
{ axis:true,
boundingbox: [-2,2,2,-2],
keepaspectration: true});
var p1 = board.create('point',[0,1], {name:'A'});
var p2 = board.create('point',[1,0], {name:'B'});
var p1 = board.create('point',[0,1], {name:'A', showInfobox:false});
var p2 = board.create('point',[1,0], {name:'B', showInfobox:false});
var v1 = board.create('arrow', [[0,0],'A'], {strokewidth: 5 });
var v2 = board.create('arrow', [[0,0],'B'],
{strokewidth: 5, strokeColor: "#f00"});
Expand Down
6 changes: 5 additions & 1 deletion docs/renderer-v1.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> renderer-v1 </h2>
<h2> V1 </h2>
<div class="hcenter">
<img src="renderv1.png" class="single-image">
</div>
<a class="diff" target="_blank" href="https://github.com/A-deLuna/3dRenderingTalk/commit/41ef550d3988bdc1da31010d26d3eb58df6c54f3"> <h4>Diff</h4> </a>
<div class="bottom-right">
<a id="left" href="como-encontrar-baricentricas-codigo.html">
<button>
Expand Down
6 changes: 5 additions & 1 deletion docs/renderer-v2.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> renderer-v2 </h2>
<h2> V2 </h2>
<div class="hcenter">
<img src="renderv2.png" class="single-image">
</div>
<a class="diff" target="_blank" href="https://github.com/A-deLuna/3dRenderingTalk/commit/e94f9af4d6a5d42159eb0f6a0e77fa7e06e61f1b"> <h4>Diff</h4> </a>
<div class="bottom-right">
<a id="left" href="flat-shading-simulation.html">
<button>
Expand Down
6 changes: 5 additions & 1 deletion docs/renderer-v3.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> renderer-v3 </h2>
<h2> V3 </h2>
<div class="hcenter">
<img src="renderv3.png" class="single-image">
</div>
<a class="diff" target="_blank" href="https://github.com/A-deLuna/3dRenderingTalk/commit/f53917922adb404c44d453fedcc44dab0d4a8796"> <h4>Diff</h4> </a>
<div class="bottom-right">
<a id="left" href="depth-buffer-baricentricas.html">
<button>
Expand Down
6 changes: 5 additions & 1 deletion docs/renderer-v4.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> renderer-v4 </h2>
<h2> V4 </h2>
<div class="hcenter">
<img class="single-image" src="renderv4.png">
</div>
<a class="diff" target="_blank" href="https://github.com/A-deLuna/3dRenderingTalk/commit/e8588720185d89f9e4bf5ac1f30f18bc6820cf0c"> <h4>Diff</h4> </a>
<div class="bottom-right">
<a id="left" href="uv-baricenter.html">
<button>
Expand Down
Binary file added docs/renderv1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/renderv2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/renderv3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/renderv4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion docs/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
ul, li, h1, h2, h3, h4, p , td{
ul, li, h1, h2, h3, h4, p , td, a.diff {
font-family: "Source Sans Pro", Helvetica, sans-serif;
color: #fff;
text-align: center;
}

img.single-image {
height: 70vh;
}

ul, li {
font-size: 1.5em;
}
Expand Down
4 changes: 2 additions & 2 deletions docs/texture-mapping.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2> texture-mapping </h2>
<h2> Texture Mapping </h2>
<div class="hcenter">
<img src="african_head_diffuse.png" >
<img class="single-image" src="african_head_diffuse.png" >
</div>
<div class="bottom-right">
<a id="left" href="renderer-v3.html">
Expand Down
4 changes: 2 additions & 2 deletions docs/uv-baricenter.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<h2> uv-baricenter </h2>
<div class="hcenter">
<div id="jxgbox" class="jxgbox" style="width:50vw; height:50vh;"> </div>
<div id="jxgbox" class="jxgbox" style="width:50vw; height:70vh;"> </div>
</div>
<div class="bottom-right">
<a id="left" href="uv-coords-in-model.html">
Expand All @@ -34,7 +34,7 @@ <h2> uv-baricenter </h2>
var n2 = '(.75,.55)';
var n3 = '(1,0)';
var p1 = board.create('point',[1.5,-1],{color:'blue',name:n1});
var p2 = board.create('point',[2.5,3], {color:'blue',name:n2});
var p2 = board.create('point',[2.5,2], {color:'blue',name:n2});
var p3 = board.create('point',[3.5,-1], {color:'blue',name:n3});
var p4 = board.create('point',[2.5,1], {name:'P', size:5, showInfobox:false});
var poly = board.create('polygon', [p1,p2,p3]);
Expand Down
2 changes: 1 addition & 1 deletion docs/uv-coords-in-model.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<h2> uv-coords-in-model </h2>
<div class="hcenter">
<img src="texturemapping.png" >
<img class="single-image" src="texturemapping.png" >
</div>
<div class="bottom-right">
<a id="left" href="texture-mapping.html">
Expand Down

0 comments on commit ba2ac22

Please sign in to comment.