Kirill Vainer
d0035b0bc6
test: fix syntax error
9 years ago
Kirill Vainer
fc488be37b
test: remove duplicate annotation
9 years ago
Kirill Vainer
2e6f2701c0
Material / MatParamTexture: remove texture unit fields
9 years ago
Kirill Vainer
f72df167c0
MPO: make sure child overrides parent
9 years ago
Teencrusher
bffa2191e5
Moved glBlendEquationSeparate from GL2 interface to GL interface. Added an example of the feature. Minors issues.
9 years ago
Teencrusher
d1aae8d479
Added support to glBlendEquation for renderes implementing GL2, and material loading support
9 years ago
Paul Speed
80f4e04935
Fixed cloning to not confuse the hardware skinning safety check
...
that attempts to protect users from shared materials.
9 years ago
Paul Speed
271f6492dd
Fixed a bug in cloning that prevented a null from being usable
...
as a 'precloned' value. This made Spatial attempt to clone its
parent.
9 years ago
Kirill Vainer
a1fd3ff3d9
VB: indicate refresh when usage changes
9 years ago
Kirill Vainer
acda6e371c
MPO: refresh MPOs on Spatial.deepClone()
9 years ago
Kirill Vainer
a4b65ec921
GLRenderer: fix line width
9 years ago
Kirill Vainer
3b5d1eebd8
renderstate: disallow line width < 1f
9 years ago
Kirill Vainer
49a9a6f99b
fix renderer crash due to merge
9 years ago
Kirill Vainer
2e4148f3c3
merge fixes
9 years ago
Kirill Vainer
f3414acc73
MPO: fix unit test
9 years ago
Kirill Vainer
85ffb48efb
unit test: more descriptive failure message
9 years ago
Kirill Vainer
c03e831f3c
SkeletonControl: fix syntax error
...
Conflicts:
jme3-core/src/main/java/com/jme3/animation/SkeletonControl.java
9 years ago
Kirill Vainer
c6c6b48bda
MPO: clone MPOs instead of sharing references
...
Conflicts:
jme3-core/src/main/java/com/jme3/scene/Spatial.java
9 years ago
Kirill Vainer
14438e78e3
fix null checks
9 years ago
Kirill Vainer
21e63687cf
MPO: add null override list check
9 years ago
Kirill Vainer
5588e859cb
MPO: clear param for null textures
9 years ago
Kirill Vainer
06b817e116
MPO: add javadoc
9 years ago
Kirill Vainer
8344994328
MPO: use List instead of ArrayList
...
Also rename get*Overrides to get*MatParamOverrides to be more specific.
9 years ago
Kirill Vainer
50658b8e53
MPO: add ability to disable an override
9 years ago
Kirill Vainer
5d2f2b19e6
spatial: fix bug in remove/clear MPO
...
add unit test for those methods
9 years ago
Kirill Vainer
5be03af564
material: fix sort id unit test failure
9 years ago
Kirill Vainer
59614e177c
MPO: implement overrides on uniforms and add test
9 years ago
Kirill Vainer
2b35f288c2
MPO: implement propagation and add test
...
Conflicts:
jme3-core/src/main/java/com/jme3/scene/Node.java
jme3-core/src/main/java/com/jme3/scene/Spatial.java
9 years ago
Kirill Vainer
280733c1ce
material: move technique logic into its own package
9 years ago
Kirill Vainer
10a87ce24e
add StaticPassLightingLogic
9 years ago
Kirill Vainer
cb5c1395b3
initial implementation of MPO (untested!)
9 years ago
Kirill Vainer
80af02e1f3
syntax error fixes
9 years ago
Kirill Vainer
0f1c35c5f0
minor formatting changes
...
Conflicts:
jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java
9 years ago
Kirill Vainer
e8df94de1c
FastMathTest: ignore failing test (for now)
9 years ago
Kirill Vainer
6a47319dbb
DefineList: fix build error
...
Also add additional unit tests for DefineList.
9 years ago
Kirill Vainer
9d035f747a
Add the new material system
...
Also includes some unrelated tests
Conflicts:
jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
9 years ago
Kirill Vainer
49339497fa
Uniform: fix crash when using vector4array
9 years ago
Kirill Vainer
e6d829fac4
GLRenderer: added fast uniforms - still need to fix Uniform.clear()
9 years ago
Jan Ivenz
75791883ec
For LightFilter to be implementable frustumCheckNeeded and intersectsFrustum need to be accesible.
9 years ago
Jan Ivenz
98a9f5c628
Fixed shader generation bug for array variables.
9 years ago
Jan Ivenz
c6143ae640
Rendering depth to texture arrays.
9 years ago
Jan Ivenz
4162fb9447
Texture arrays are now allowed as color buffer render targets.
9 years ago
javasabr
98f1bfc0c1
fixed NPE
9 years ago
Paul Speed
68ace33dbd
Fixed an NPE when jmeClone() was asked to clone a null.
9 years ago
Paul Speed
78a5a25fc1
Added the app state varargs constructor to LegacyApplication and
...
modified SimpleApplication to use it.
9 years ago
Paul Speed
3c56afeae6
Converted Application to an interface and renamed the old Application to
...
LegacyApplication. This is a breaking change for any class extending Application
directly.
And regardless, if you refer to Application then you will need to clean build
your app... and any of your dependencies that also refer to Application. Basically,
anything using an AppState will need to be clean built against the next alpha.
9 years ago
Paul Speed
ab6fb03171
Converted spatial over to use Cloner to do its various
...
deep and semi-shallow cloning. I'd be very surprised if nothing
is broken as there is only so much testing I can easily do.
Also various fixes for places I forgot to call super.cloneFields().
9 years ago
Paul Speed
f7c16e878e
Modified the clone function lookup to support inheritence.
...
It's just too useful for things like Mesh which has a dozen
or more subclasses... more useful than the limitations.
9 years ago
Paul Speed
2028f3b3f8
Added 'finer' logging for the clone() method to provide visibility for
...
debugging.
Added a setClonedValue() method to force uncloned or precloned references
in some specific use-cases.
Added an isCloned() method to tell if an object has already been cloned
in this cloner's 'session'.
9 years ago
Paul Speed
c6aac78f42
Added a clone() method and implement Cloneable.
...
Removed whitespace from the ends of lines.
9 years ago