-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated data.zip link files on readme's. checked all examples
- Loading branch information
1 parent
1443a72
commit d924e96
Showing
9 changed files
with
28 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1 @@ | ||
|
||
This example includes the main and bigger class from the addon: | ||
`ofxSurfingPBR.h`. | ||
|
||
This class has multiple modules | ||
or commonly used features included by default: | ||
|
||
- Floor plane with a simple material | ||
and customizable size and transforms. | ||
- One full PBR material ready to be used. | ||
- CubeMap for the PBR material and drawing as background. | ||
- Background object with sphere or box with material. | ||
- Test Scene draw with three prims. | ||
- Lights bundle with 4 predefined lights: | ||
`Point`, `Direct`, `Spot` and `Area`. | ||
- An internal and public exposed camera. | ||
- Shader module to help integration/dev. | ||
(currently commented / disabled by default) | ||
|
||
All the modules has his own settings and a gui (ofGui) | ||
to tweak all the internal parameters. | ||
All of them with all the settings persistent, | ||
gui exposed and ready to use on any project. | ||
|
||
</br> | ||
|
||
![](Capture.PNG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
|
||
[bin/data.zip](https://mega.nz/file/saMXjATJ#hCcfG5KWJrRnwX85Wy0MmH0JMViaToS1MyOejCIxSZY) | ||
|
||
</br> | ||
|
||
This example uses the main class from the `ofxSurfingPBR.h` addon. | ||
The above class bundles almost all the modules/features from the addon. | ||
Many modules can be used as standalone, in a simpler and custom OF scene. | ||
|
||
Also we are using the `SurfingSceneManager.h` class | ||
how uses also `SurfingModelsFilesBrowser.h`. | ||
These classes are `3d models` helpers paired with the addon. | ||
With these classes we can easily browse the `3d models` files | ||
directly from our app `bin/data/` path. | ||
|
||
As we are using the full addon modules from `ofxSurfingPBR.h`, | ||
we can render the objects using the bundled materials, | ||
the plain floor, and all the `4 lights kit`, | ||
the background generators and the cubeMap. | ||
|
||
</br> | ||
[bin/data.zip](https://mega.nz/file/lOMzkJIC#tLaM9MTKA6J83nf0DoxKtoET3uevG-Y6z4_eLfIiIPQ) | ||
|
||
![](Capture.PNG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
This example do not includes the main bigger classes from the addon: | ||
`ofxSurfingPBR.h` neither the `SurfingSceneManager.h`. | ||
These both classes have multiple modules or features included by default, | ||
(as it could be the CubeMap, the background object, the floor plane...etc). | ||
|
||
Here we want to learn and create a standalone material | ||
and a standalone kit of lights. | ||
The material is applied to the floor plane | ||
and to the testing three prims scene that we will draw. | ||
|
||
The lights bundled are 4 in total. One of each of the available types | ||
into OF core: | ||
`Point`, `Direct`, `Spot` and `Area`. | ||
All with his settings on a gui to tweak all the internals. | ||
All of them with all the settings persistent, gui exposed and ready | ||
to use on any project. | ||
|
||
</br> | ||
|
||
![](Capture.PNG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
|
||
This example uses the internal class `SurfingMaterial.h`. | ||
We will create a vector of materials to be applied to many objects. | ||
To draw the object we will use the `SurfingMeshSphereDisplaced.h` class. | ||
We will have an animated mesh to test the PBR settings on there. | ||
We will create also some `ofLight`'s from the `OF core` | ||
to see how the addon can easily mix-up with the core/"vanilla" classes. | ||
|
||
</br> | ||
|
||
![](Capture.PNG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1 @@ | ||
This example is hardly based on the example | ||
`openFrameworks\examples\gl\shadowsExample` | ||
from the `OF Core` made by `@NickHardeman`. | ||
We will learn how to replace easily their `OF materials` | ||
with standalone materials that the addon includes, | ||
in this case will be standalone: | ||
all the rest of the environment will remain un-touched | ||
from the example, this means that we will not use | ||
the lights modules from the addon bigger classes like | ||
`ofxSurfingPBR.h` or `SurfingSceneManager.h` neither: | ||
only the "vanilla" classes that bundles the `OF Core` will be used | ||
besides of the material class instances for ach scene element. | ||
|
||
<br> | ||
|
||
![](Capture.PNG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters