Paul Speed
2bdb3de2f5
Started implementing the JmeCloneable stuff for Spatial
...
and Mesh. Still need to catch some of the outer subclasses of
Node and Geometry. Nothing is hooked up or tested yet.
9 years ago
MeFisto94
665908cdee
Improved the MotionEvent Cloning to not throw an NPE or edit constant Vectors
9 years ago
Nehon
5970444b9c
Fixed an issue with previous commit on shadows, in the glsl100 shader
9 years ago
Nehon
493855bac9
LineWidth is now a RenderState parameter, One can change the lineWidth used to render a mesh wireframe or a mesh in Lines mode by using material.getAdditionalRenderState().setLineWidth(value)
9 years ago
MeFisto94
8477fa781b
Fixed another NPE when missing serialized waypoints and fixed having different names for write/read
9 years ago
Nehon
c4525aa550
Fixed MotionEvent clone for Spatial as it was resulting in controls added twice to the spatial. Also removed a useless line in all the constructors.
9 years ago
MeFisto94
23fe0658a6
Fixed a NPE when Serializing a Spline without points. Also fixed a Typo.
9 years ago
MeFisto94
15c9c083cd
Allow MotionEvents to be cloned
9 years ago
Paul Speed
8b1ddbe60f
First round of getting JmeCloneable implemented... added
...
support for Cloner to the controls that implemented cloneForSpatial().
Unused until spatial cloning is implemented.
9 years ago
Nehon
dff4befafb
Added an option to not render backfaces shadows with the shadow renderer and the shadow filter. It's the default for the renderer but not for the filter as it may have some edges artifacts.
9 years ago
Nehon
32be69f3e6
Remove a lot of duplicate code for shadows
9 years ago
Paul Speed
0b487ee9f3
Moved the file writing in screen shot app state to its own
...
method... 1) because it's a little cleaner, 2) because it means
subclasses can hook it if desired.
9 years ago
Nehon
f391b9c3aa
Made AbstractControl Implement Cloneable
9 years ago
Nehon
cb56fd88eb
For some reason the J3MLoader never loads the material name. Not that it's really important, but since we have the name field... let's read it...
9 years ago
Paul Speed
f83c7006f0
Removed some cloneForSpatial() methods that weren't doing anything
...
that the super class would do.
Adding @Override to cloneForSpatial() methods in jme3-core controls
and CloneableTracks.
9 years ago
Paul Speed
10947e8b50
Modified the JmeCloneable's clone() method to be jmeClone() so that
...
implementing objects will still be able to keep a regular public
clone() method that may do their own selective deep cloning. This
allows explicit demarcation between the normal 'user' facing clone()
and the two step cloning process used by Cloner.
Specifically, this will let Spatial continue to have a clone() method
that operates as it does today... with its new guts essentially calling
a properly configured Cloner.
9 years ago
Paul Speed
68425480cb
Removed a bit of commented out dead code.
9 years ago
InShadow
947904b71d
Added public method getGeometry on Batch class.
9 years ago
Paul Speed
70154f1b1d
Added a simple deep cloning that can replace all of our odd post-fixup
...
piece-meal stuff with proper full-object-graph shared reference cloning.
9 years ago
Kirill Vainer
87af1f30b0
MPO: clone MPOs instead of sharing references
9 years ago
Kirill Vainer
e691de4459
fix null checks
9 years ago
Kirill Vainer
2dafd1e485
MPO: add null override list check
9 years ago
Kirill Vainer
c586bacbb0
MPO: clear param for null textures
9 years ago
Kirill Vainer
fde095458e
MPO: add javadoc
9 years ago
Kirill Vainer
e8fd22223a
MPO: use List instead of ArrayList
...
Also rename get*Overrides to get*MatParamOverrides to be more specific.
9 years ago
Kirill Vainer
53d3b72478
MPO: add ability to disable an override
9 years ago
Nehon
838978ed15
Null check for the renderFrameBuffer of the fpp when cleaning up the fpp. It may be null if multisampling is enabled.
9 years ago
MeFisto94
870f84c6c6
Fixes #442 - Add 64bit detection for the armv7 platform
9 years ago
Daniel Johansson
9f9cb824cd
Fixed an issue with J3MLoader thinking certain texture path patterns with new texture options still looked like old style and hence ignoring new options and getting the texture path wrong.
9 years ago
Nehon
f14e609287
Updated MatParam.getAsString to reflect recent change on j3m texture parameter format
9 years ago
Kirill Vainer
2cdb4a8486
spatial: fix bug in remove/clear MPO
...
add unit test for those methods
9 years ago
Kirill Vainer
152a7638cd
material: fix sort id unit test failure
9 years ago
Kirill Vainer
adc5084f5d
MPO: implement overrides on uniforms and add test
9 years ago
Kirill Vainer
42d76cfd29
MPO: implement propagation and add test
9 years ago
Kirill Vainer
ba22487c38
material: move technique logic into its own package
9 years ago
Kirill Vainer
00b6d904af
add StaticPassLightingLogic
9 years ago
Kirill Vainer
b431d16981
Cylinder: fix incorrect axis samples for closed
9 years ago
Kirill Vainer
7639657fc1
initial implementation of MPO (untested!)
9 years ago
InShadow
6c9cd46e11
Corrected spelling mistake.
9 years ago
Teencrusher
5468a48050
Removed the modification of the input parameter that lead to a wrong axisSamples member then the cylinder was closed
9 years ago
Kirill Vainer
e87f008244
build: fix missing version tag
9 years ago
Kirill Vainer
12b3c4a140
build: fix build error
9 years ago
Alrik
f925e3eb81
- revert mistake
9 years ago
Alrik
546850130d
- make the comment more precise because user control and world inverse /
...
local bind pose transforms are also copied
9 years ago
Alrik
54d563dde2
- remove unnecessary comment
9 years ago
Kirill Vainer
ab8527770c
GLRenderer: support VBO without VAO
9 years ago
TehLeo
449bc443b3
Update BufferUtils.java
...
Fixes #395
9 years ago
Kirill Vainer
772330c308
test: delete ApplicationTest
...
doesn't work, causes a timeout error
9 years ago
Alrik
03b351f26c
- fix Bone constructor doesn't clone the given Bone object parameter
9 years ago
MeFisto94
a3372284e9
Be more verbose when the Asset Path is outside of the root.
9 years ago