Remi Beges
d0545eb760
Minor fixes
...
*Seed is uint instead of int
*Permutation table is uint instead of int, could lead before to program
crash with negative seeds
Former-commit-id: 49ad04987a09a5f5b4bcab6ee3916db9818172b6
2012-12-01 10:07:41 +01:00
Remi Beges
a0b7364eed
Added HybridMultiF 3D & 4D
...
*new constructors for simple noises
*minor bufixes
Former-commit-id: 2f1e9b6b54087e79b3ac52fefc9bbd67fd45c0eb
2012-11-13 19:27:48 +01:00
Remi Beges
8f04f3e6a0
Added FBM 3D & 4D and HybridMultiFractal 2D + cleaned code
...
this commit will change the scale of values produced by fbm2d. This will
probably not happen again. As a consequence, fbm values will always be
constrained between -1 and 1, but do not perfectly stick to that scale.
There is no easy solution, if the user wants the best dynamic between -1
and 1, he should adjust manually the value by multiplying by a gain slightly superior to 1.
Former-commit-id: ebdba9e9f4bbb972abe355c07ec9f8bce42329b9
2012-11-09 18:38:50 +01:00
Remi Beges
7bd6202389
Merge remote-tracking branch 'upstream/master'
...
Former-commit-id: 8fe411f0146d6cc64cf8d32cc4896f7f417f62a5
2012-11-04 18:51:23 +01:00
Lynix
6301bd8f38
Fixed matrices not updated when changing shader
...
-Ugly fix
Former-commit-id: 19140fcf8966b1db9c2c324f4654db77f6a4aeef
2012-11-03 00:34:12 +01:00
Lynix
c82b2510f0
Fixed NULL caracter in shader logs
...
Former-commit-id: 998033458dce185715f7539167fb88a402a34ff3
2012-11-03 00:15:16 +01:00
Lynix
6b9c88221a
Added Shader::IsValid()
...
Former-commit-id: 829320e4fd92dafb829019d875135ca9b75a3db2
2012-11-02 23:47:09 +01:00
Lynix
9199e60436
Added implicit conversion from AABB to String
...
Former-commit-id: c41510f4e0527a174d4acb5f8f26f60f4984ce15
2012-11-02 21:50:33 +01:00
Lynix
1b3129868f
Added NzRenderer::[Get/Set]LineWidth
...
Former-commit-id: 827f762294bb67debb2a7faed07b595df2b9d20d
2012-11-01 18:28:49 +01:00
Lynix
5c2f94f953
You can now change the point size
...
Former-commit-id: b0018b14973d36f822524e8e5b94ba940a63897f
2012-11-01 18:20:15 +01:00
Lynix
d5416fb139
Fixed cast
...
Former-commit-id: 2cbcf9c10c0d2bfd2cf441528ddf712bee80d7bd
2012-10-30 19:24:05 +01:00
Lynix
1d217837cf
Added compiler tests and fixed MinGW warnings
...
Former-commit-id: 550d467e0997065943dc0b18a36d1be0edbb8114
2012-10-30 18:52:38 +01:00
Lynix
f1eb859707
Fixed fprintf specifiers
...
Thanks to Quentin Huot-Marchand
Former-commit-id: 07bb2a1c2a0baaebac42f1664487624f8d39e16c
2012-10-30 17:37:17 +01:00
Lynix
93a1738c55
Optimized VertexDeclaration::GetElement
...
Former-commit-id: a56498837ae2f6101e0641aab23b2d1d0f9130f3
2012-10-29 10:00:57 +01:00
Lynix
8132812c23
Interpolation factor is now only checked in debug
...
Former-commit-id: b5cf2b63740a0827403cac7843aca4b820b7687f
2012-10-29 09:59:55 +01:00
Lynix
a608aa0e2a
Cleaning loader code
...
Former-commit-id: a34fae25b7e70e1168fa6bfa089d8de991184036
2012-10-29 09:59:18 +01:00
Lynix
2831f596d2
Added missing include
...
Former-commit-id: c8cdcb907f85b064e5cf3a7faa23740131af9283
2012-10-29 09:56:21 +01:00
Remi Beges
9fef43951b
Replaced templates by float
...
*Since only valid template parameters were float and double, the whole
template aspect has been removed.
Double precision would only be used in extremely rare occasions
(applications needing high precision and slow performances), it is not
relevant to template the whole module for it.
Former-commit-id: fc6dd028189c608a6a7b4c312b3e5e3f53a01fd7
2012-10-27 18:59:39 +02:00
Lynix
3a9e8850c0
Added Keyboard::GetKeyName (experimental)
...
Former-commit-id: a937b98ceeed3cb7c64bf6c1f544bb7021ad01bd
2012-10-26 14:09:09 +02:00
Lynix
4c23ccf1c6
(Matrix4) Renamed Destroy to Undefine, fixed bug
...
Fixed Transpose() not checking COW ownership
Former-commit-id: de2c64b9aef5abf2f73ce6cff2fe8442c1c382c5
2012-10-26 14:08:30 +02:00
Lynix
61c081ace3
Fixed and improved Matrix class (See description)
...
-Added ApplyScale
-Added Destroy()
-Added GetInverseAffine
-Added Inverse(Affine)
-Added (Make)Transform method, generating a TRS transform matrix
-Fixed COW
-Inverse methods now takes an optionnal boolean pointer
Former-commit-id: 84e7c679c242876f9b0888875b37afa12eed311a
2012-10-24 22:32:46 +02:00
Lynix
5f95dbe82e
(NzImage) Fixed Convert crash and optimized Fill
...
Former-commit-id: 674acfd1e8e6fa28a8657ba45adedca311f54949
2012-10-24 18:41:13 +02:00
Lynix
8712de3118
Cleaned NzNormalizeAngle code
...
Former-commit-id: 3d984db7632e0c9cba032d22b1470828326c0ad9
2012-10-24 18:22:07 +02:00
Lynix
855b3676e8
Fixed quaternion interpolation
...
Former-commit-id: b43671708fb9e64517a67ba070167587688457fb
2012-10-24 18:21:33 +02:00
Lynix
889a18b8be
Fixed typo
...
Former-commit-id: 6695febce4d2d5d59d578c3219a5848b13b554f1
2012-10-24 17:59:22 +02:00
Lynix
bb003885bf
Fixed premake file of examples and template
...
Former-commit-id: 9fb60b867d80450a6afb97dbc65904bfee89b377
2012-10-24 17:59:14 +02:00
Remi Beges
745b9dbbd1
Removed 'virtual' in front of templated function
...
Former-commit-id: 7afa1cdd4ff3db4b73dcb79bcfda6739859c3215
2012-10-09 22:15:29 +02:00
Lynix
5bbc8d0fa4
Fixed debug-mode compilation
...
-Also added multiplication operator and equality comparison to Cube and
Rect
Former-commit-id: b4194a50fbe3025d3be1fc25d48a85d5a05fc5ac
2012-10-08 23:08:46 +02:00
Lynix
94268ae6b2
Fixed typo
...
Former-commit-id: 3a47a8981692b57ccad50e1044c1139c34bf9c75
2012-10-08 15:35:02 +02:00
Lynix
cfd54b859d
Added linear interpolation (Lerp) to math module
...
Former-commit-id: 5920e21f25d42701a1895734eca492fdf5351669
2012-10-08 14:45:29 +02:00
Lynix
737f2a70bd
Fixed compilation error
...
Former-commit-id: f6be1fa1b43082fa295c7dd95337475365f0c453
2012-10-05 20:14:01 +02:00
Remi Beges
a72d388c05
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
include/Nazara/Noise/NoiseMachine.hpp
src/Nazara/Noise/ComplexNoiseBase.cpp
src/Nazara/Noise/NoiseMachine.cpp
Former-commit-id: 54af2e19e336cfacee63cabe785d7b05fa392b53
2012-10-05 17:53:41 +02:00
Lynix
91f0b97142
Fixed cracks in some Vorbis files
...
Thanks to Marisa-Chan for the fix in libsndfile
Former-commit-id: e60b7671f3ce4f03c5d387ca69e3883c496e7dc0
2012-10-04 23:41:10 +02:00
Lynix
fcacaba7ca
Cleaned code
...
Former-commit-id: a61b8bf3470036cd8a61199e78609206d959966f
2012-10-04 23:39:10 +02:00
Lynix
34c1479a30
Renamed "one-library" build option to "united"
...
Former-commit-id: 0578d236b4e209f1e9b35ae4302c040322e15ee8
2012-10-04 23:32:24 +02:00
Lynix
defbb0f1a6
Updated examples
...
It is now possible to pause the animation in AnimatedMesh demo with the
P key
Former-commit-id: 98d1b5196007dd524e2257157d6e7fd3171fb070
2012-10-04 09:36:56 +02:00
Lynix
41bfaf6941
Fixed String::Simplified()
...
Former-commit-id: 6193b710728d0ff1ab0387428d65f0ce5bebd115
2012-10-04 09:34:29 +02:00
Lynix
10fc386865
Added VertexDeclaration::HasElement
...
Former-commit-id: 30dccfba56bba0e56c08da79c3fde3bdf94119cb
2012-10-04 09:33:54 +02:00
Lynix
7bab3d9443
Cleaned code
...
Former-commit-id: 65b235b0c8326e060ec7032bb2a153e22518a25a
2012-10-04 09:32:55 +02:00
Lynix
b219b19710
Fixed Tuple.inl including Utility debug headers
...
Former-commit-id: 259b43f54669c6b58e04ee16719df73b441b72dd
2012-10-04 09:23:39 +02:00
Lynix
516bf7b3b9
Fixed NzStream options
...
Former-commit-id: 1479dd2bbed9587af7b9b7c165192709478f30e1
2012-10-04 09:22:59 +02:00
Remi Beges
3f8e3cfb60
Modifications for the new architecture
...
to fullfill mixer implementation requirements
*Added FBM2D, first complex noise class of the new architecture
*Removed NoiseMachine, because was redundant and not fitting with the new
architecture
*Minor changes to almost every other noise class (mostly adding 'this->')
everywhere an inherited member from template base class was called from
the inherited class
2012-10-02 19:55:35 +02:00
Lynix
07e949404c
Added NzStream and stream options
...
Former-commit-id: d2c69b12f34fffff4d412111e7af7cc4dbb638a8
2012-10-01 00:57:32 +02:00
Lynix
aaca9349fd
Fixed Matrix4 equality comparison
...
Former-commit-id: cb1e21196c2053138a8d70bc09d39ecbf7b83ba8
2012-09-30 23:11:43 +02:00
Lynix
8d057fb3b1
Renamed GetBPP to GetBytesPerPixel
...
Also added GetBitsPerPixel
Former-commit-id: 9cc1df58133c538b1dc74215a9022d13dfd9d7f6
2012-09-30 23:11:00 +02:00
Remi Beges
a41a2ddcb3
Added ability to give offset and gain to every noise (mappedNoise) +
...
bugfixes
2012-09-30 19:13:25 +02:00
Lynix
49ac00f28d
Fixed error message
...
Former-commit-id: f07c8fe20e7e11d49da8c114cdf518bf04484855
2012-09-23 18:07:31 +02:00
Lynix
bdb7703ab2
Improved OS detection macros
...
Former-commit-id: 6f89791cfde43a813dc1250bd82ba9f54afb7786
2012-09-21 19:10:35 +02:00
Lynix
a73cd1374a
Normalized line ending
...
Former-commit-id: bd061c48bdc8f0d26159dac3b41017defef5ae1e
2012-09-21 14:24:48 +02:00
DigitalPulseSoftware
4b3772e2d8
Fixed typo
...
Former-commit-id: 440a4d3939cfee80ba4224dc8ed90084adaf0380
2012-09-21 14:20:38 +02:00