Skip to content

Commit 984568f

Browse files
committed
Merge branch 'master' of github.com:openframeworks/openFrameworks
2 parents 0bf29b6 + 83b5fd0 commit 984568f

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
### All 0.12.0 changes newest to oldest ###
1919
Grabbed via: `git log --oneline --ancestry-path ac69b2f..34e8eac --pretty=format:'- %s [commit](https://github.com/openframeworks/openFrameworks/commit/%H)' > changes.txt`
2020

21+
Major Changes:
22+
- all: Physical Based Rendering (PBR) now supported in ofxAssimpModelLoader and ofMaterial
23+
- all: Built in shadow support
24+
- all: C++17 default
25+
- arm: aarch64 / 64bit support for Rapsberry Pi and other arm64 devices
26+
- Windows: ofMediaFoundationSoundPlayer can be used instead of fmod
27+
- macOS: ofAVEngineSoundPlayer can be used instead of fmod
28+
- Windows ofMediaFoundationPlayer for video playback. No need for codecs!!!
29+
- iOS: ARC is now enabled for all projects by default. Some addons might require -fno-objc-arc for files which aren't ARC compatible. [More info](https://stackoverflow.com/a/6658549)
30+
- emscripten: Loads of emscripten fixes to make more examples compatible.
31+
- all: new computer_vision / OpenCV examples
32+
- msys2: UCRT64 support
33+
34+
Full list:
2135
- Update manual-nightly.yml [commit](https://github.com/openframeworks/openFrameworks/commit/42b6dff3e77aa49425dffc2902d32ca86c818a59)
2236
- update submodules [commit](https://github.com/openframeworks/openFrameworks/commit/93d0efda1413471e6f50761f73b1e72f04f6ba42)
2337
- removal of some iOS examples (#7601) [commit](https://github.com/openframeworks/openFrameworks/commit/478620f212ec09b48abfd99e8e285c09b97ca921)

examples/3d/advanced3dExample/src/Swarm.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ void swarm::init(int nParticles, float positionDispersion, float velocityDispers
1717
particles.clear();
1818
}
1919

20-
ofSeedRandom();
21-
//
2220
glm::vec3 position, velocity;
2321
ofColor color;
2422
for(int i = 0; i < nParticles; i++){

examples/android/androidAdvanced3DExample/src/Swarm.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ void Swarm::init(int _nParticles, float positionDispersion, float velocityDisper
5656
// INITIALISE VALUES
5757
///////////////////////////////////////////
5858
//
59-
ofSeedRandom();
60-
//
6159
for (int i=0; i< nParticles; i++)
6260
{
6361
positions[i].x = (ofRandom(1.0f)-0.5f) * positionDispersion;

examples/gl/billboardRotationExample/src/ofApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void ofApp::update() {
5252

5353

5454
for (int i=0; i<NUM_BILLBOARDS; i++) {
55-
ofSeedRandom(i);
55+
ofSetRandomSeed(i);
5656
if(glm::distance(mouse,pos[i]) < ofRandom(100, 200)) {
5757
vel[i] -= mouseVec;
5858
}

examples/math/randomExample/src/ofApp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ofApp : public ofBaseApp{
1818
auto perform_shuffle() {
1919
std::vector<uint8_t> values = { 1, 2, 3, 4, 5, 6, 7, 8 }; // initial order
2020
ofShuffle(values);
21-
  shuffled_string_ = "shuffled values:";
21+
shuffled_string_ = "shuffled values:";
2222
for (const auto v: values) {
2323
shuffled_string_ += " " + ofToUpper(ofToHex(v));
2424
}

tests/addons/networkTcp/src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ class ofApp: public ofxUnitTestsApp{
257257
}
258258

259259
void run(){
260-
ofSeedRandom(ofGetSeconds());
261260
testNonBlocking();
262261
testBlocking();
263262
disconnectionAutoDetection();

0 commit comments

Comments
 (0)