You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: _posts/2017-08-25-how-to-calculate-reflection-vector.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ authors: [fabrizio_duroni]
15
15
16
16
---
17
17
18
-
In a [previous post](http://www.fabrizioduroni.it/2017/07/26/phong-lighting-model.html"phong model post") I talked about the Phong lighting model. I described all the different components contained inside it and how they try to describe and simulate different kind of light components. In particular you will remember that there's a specular component that try to simulated the light reflected in a specific direction: the reflection direction. In the shader implementation this direction has been calculated using a GLSL method `reflect`:
18
+
In a [previous post](/2017/07/26/phong-lighting-model.html"phong model post") I talked about the Phong lighting model. I described all the different components contained inside it and how they try to describe and simulate different kind of light components. In particular you will remember that there's a specular component that try to simulated the light reflected in a specific direction: the reflection direction. In the shader implementation this direction has been calculated using a GLSL method `reflect`:
Copy file name to clipboardExpand all lines: _posts/2017-09-11-clean-code-meaningful-names.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,11 @@ I always cared about the software I developed. I also always though that what ma
19
19
developer is how much he/she care about the software he/she is creating: the approach to the problem, the attention to
20
20
details in code, the passion put into creating every single line of code, the focus on the mission to solve his/her
21
21
customer problems with your software.
22
-
When I started to work at [lastminute.com group](http://www.lastminutegroup.com"lastminute.com group") I discovered
22
+
When I started to work at [lastminute.com group](https://lmgroup.lastminute.com/"lastminute.com group") I discovered
23
23
that I'm not the only one to think about software development in this way.
24
24
In fact an entire new approach to software development has been create by [Robert Cecil Martin](https://en.wikipedia.org/wiki/Robert_Cecil_Martin"Robert Cecil Martin"),
25
25
known as "Uncle Bob" (whatt??!?!!? :stuck_out_tongue:) and famous also to be the guy that invented the [SOLID principles](https://en.wikipedia.org/wiki/SOLID_(object-oriented_design)"Solid principles"). The name of this new approach to software development is **clean code**.
26
-
So as I promised in [my first post](http://www.fabrizioduroni.it/2017/05/10/about-me.html"about me") on this blog I
26
+
So as I promised in [my first post](/2017/05/10/about-me.html"about me") on this blog I
27
27
will publish a series of articles in which I will talk about the foundation of clean code and my personal experiences
28
28
with it. So let's start the discussion with one of the principles of clean code that impressed me the most:
Copy file name to clipboardExpand all lines: _posts/2017-10-27-model-view-presenter-architecture-android-java.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ authors: [fabrizio_duroni]
15
15
16
16
---
17
17
18
-
In a [previous post](http://www.fabrizioduroni.it/2017/08/11/model-view-presenter-architecture-ios-swift-unit-test.html"model view presenter ios post") I talked about the [Model View Presenter](https://en.wikipedia.org/wiki/Model–view–presenter"Model view presenter") architectural pattern and how it could help you to develop apps fully tested. But what about Android? Can we reach the same level of testability using this pattern and improve our TDD workflow? Let's find it out :smirk:!!
19
-
In this post we will try to develop the same application we developed on iOS in the [previous post](http://www.fabrizioduroni.it/2017/08/11/model-view-presenter-architecture-ios-swift-unit-test.html"model view presenter ios post"): a simple product catalog that shows a list of products. When you tap on one of them, its details is shown.
18
+
In a [previous post](/2017/08/11/model-view-presenter-architecture-ios-swift-unit-test.html"model view presenter ios post") I talked about the [Model View Presenter](https://en.wikipedia.org/wiki/Model–view–presenter"Model view presenter") architectural pattern and how it could help you to develop apps fully tested. But what about Android? Can we reach the same level of testability using this pattern and improve our TDD workflow? Let's find it out :smirk:!!
19
+
In this post we will try to develop the same application we developed on iOS in the [previous post](/2017/08/11/model-view-presenter-architecture-ios-swift-unit-test.html"model view presenter ios post"): a simple product catalog that shows a list of products. When you tap on one of them, its details is shown.
20
20
Below you can find the same mockup we used for the iOS version.
Copy file name to clipboardExpand all lines: _posts/2017-12-07-physically-base-rendering-introduction.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ type of the surface. Usually in these kind of engine/asstes pipeline the main pa
134
134
What results can you achieve suing PBR? These are two example images: the first one is taken from my physically based
135
135
spectral path tracing engine [Spectral Clara Lux Tracer](https://github.com/chicio/Spectral-Clara-Lux-Tracer"Spectral Clara Lux Tracer")
136
136
and the second one is taken from PBRT, the physically based engine described in the
137
-
book ["Physically based rendering: from theory to implementation" by M. Pharr, W. Jakob, G. Humphreys](http://www.pbrt.org"Physically based rendering: from theory to implementation by M. Pharr, W. Jakob, G. Humphreys").
137
+
book ["Physically based rendering: from theory to implementation" by M. Pharr, W. Jakob, G. Humphreys](https://www.pbrt.org"Physically based rendering: from theory to implementation by M. Pharr, W. Jakob, G. Humphreys").
Copy file name to clipboardExpand all lines: _posts/2018-01-03-scene-kit-physically-based-rendering.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ create games and other 3D applications without the need to know any computer gra
28
28
stuff and so on. You basically describe a Scene in terms of objects and features and Apple will do everything for you :sunglasses:.
29
29
One of the most interesting thing about SceneKit on the computer graphics side has been introduced in 2016:
30
30
physically based rendering (PBR).
31
-
We've already seen what PBR is in [a previous post](http://www.fabrizioduroni.it/2017/12/07/physically-base-rendering-introduction.html"physically based rendering introduction post"),
31
+
We've already seen what PBR is in [a previous post](/2017/12/07/physically-base-rendering-introduction.html"physically based rendering introduction post"),
32
32
so you already know its theoretical foundation stuff (or go to check it out in case you missed it :wink:). So that
33
33
means that SceneKit could render physically based scene using its own entirely new physically based rendering engine. Is it worth
34
34
it? Sure!! :blush: So, let's try it!
@@ -88,7 +88,7 @@ class LightFeatures {
88
88
89
89
We are now ready to create our `PhysicallyBasedLight` as an child of `Light` class. Our physically based light will
90
90
be of type `.directional`, and we will customize its `intensity` and `temperature`. The intensity is the flux of the
91
-
light (again, go to check [my first post about physically based rendering](http://www.fabrizioduroni.it/2017/12/07/physically-base-rendering-introduction.html"physically based introduction post")
91
+
light (again, go to check [my first post about physically based rendering](/2017/12/07/physically-base-rendering-introduction.html"physically based introduction post")
92
92
if you don't know what it is :stuck_out_tongue:), and the second one is the color temperature expressed in Kelvin
93
93
(remember: 6500 K corresponds to pure white sunlight). We also activate other interesting features: by setting
94
94
`castsShadow` to `true` we activate the rendering of shadow using shadow mapping technique, and by setting
Finally we can place our 4 objects: one basic plane mesh and 3 mesh taken from the [Stanford scan repository](http://graphics.stanford.edu/data/3Dscanrep/"Stanford scan repository").
374
+
Finally we can place our 4 objects: one basic plane mesh and 3 mesh taken from the [Stanford scan repository](https://graphics.stanford.edu/data/3Dscanrep/"Stanford scan repository").
375
375
These mesh are: the dragon, the happy buddha and Lucy. All this meshes will be rendered using the `PhysicallyBasedObject`.
376
376
We take the textures used to model the various material from [freepbr](https://freepbr.com"freepbr") website.
0 commit comments