PSp..om
11f686b1e0
Some cheap defensive checks that make a nicer
...
(and more local in some cases) error for the caller.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
332fe4d3ac
Fixing bugs with applying UV maps.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
440217fbd2
Fixing a bug that raised an exception when bone animation was attached directly to the object for Blender 2.49.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
1c429f0eb2
Fix to logging (thanks to rectalogic for finding it out :).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
d63683d240
Issue 466: Blender loader duplicates vertices
...
Done. Hope it does not break anything ... too much :)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
4e987ae63e
Android : Pixel Format again. Transparent or Translucent pixel format should not be the deault setting as they drain a substential amount of fps and that most of the games will have an opaque background.
...
There is now a new ogles configType called BEST_TRANSLUCENT if users really want a transparent background.
The BEST or FASTEST confing are now both OPAQUE, this gives a nice boost to the BEST configuration.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
67712589e2
Android : changed the way the glsurface's pixel format was chosen, allowing the surface to have a translucent background
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9507 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
ca3f1d941a
* Fix issue 505
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9349bd97c6
MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c373f70d01
* Fixed issue where a model loaded from J3O would crash on render (thanks ghoust)
...
* Uniform.toString() now handles the case where name = null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
e8762bcf9d
Fix to 3D texture triangulation procedure that might have caused an image of width or height == 0 to be produced (which caused later errors during textures merging).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
8cf238a262
* Fix crash when loading animated OgreXML model exported from blender2ogre 0.5.7
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
5730bf67d8
* Removed useless code / formatted DefineList
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b007fd672a
* Added IndexBuffer.wrapIndexBuffer() for wrapping any buffer (convenience method)
...
* All index buffers now rewind the buffer before allowing any read/write ops
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fd03d28d81
* Added AssetKey.clone()
...
* WeakRefCloneAssetCache will attempt to collect GCd assets more often by not relying WeakHashMap to do so
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7b9b9905ef
* Removed workarounds for setting material parameter with m_ prefix. From now on it will only be supported when loading really old J3O files.
...
* Small optimization: if technique is already loaded, define list will not be reconstructed on define change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fbf29530f3
* Deprecated FloatToFixed: You should use regular floats on Android instead of using fixed decimal format (most mobile GPUs support float anyway)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
37aa17302f
* Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
613d519544
SDK:
...
- remove useless synchonized statements from physics
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
a6033d0193
- Added TestCursor + 3 types of cursors for user testing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
0ade9ab80f
- Removed a comment on a line that wasn't to be commented...
...
- Fixed import problem when RIFF header didn't have height/width (when it should). The loader will now use the first image's width/height. Since all images in an animation are supposed to be the same size this should not be a problem.
- Fixed import when an .ICO file contains more than one image (as it in in the case of "windows theme" files). The loader will default to a 32x32 icon in that list.
- Formatting.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
5ac9953f62
Implemented the ability to change the mouse cursor.
...
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").
NOTE: Supported formats are "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
624125aadc
Added images types support in PixelIOFactory.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9466 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
84404cfb5f
Fix for animations tracks loading. If rotations were not set up by user then the model might have been disappearing because of (0, 0, 0, 0) rotation quaternion. (0, 0, 0, 1) quaternion is set in that case.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9463 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
b97f8c1271
BatchNode : fixed an issue when a geometry was not unbatched when removed with sometihing else than removeFromParent
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
855676173a
Re fixed material contentEquals crash when technique is null...but better
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3e35e32b2d
Fixed material contentEquals crash when technique is null.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
476120616c
Modified the Serializer registration of DisconnectMessage
...
and ClientRegistrationMessage so that they have fixed IDs
and registration-independent implementations. This means
that no matter how much the internal auto-registration list
changes that a game can still manage the protocol version
in a graceful way.
Prior to this change, removal of a class registration from
Serializers auto-registered list meant that a client->server
version mismatch was impossible to detect and handle gracefully.
Also, now that it was safe to do so, I removed the auto
registration of some odd Java beans classes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9457 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
516e3065dc
Moved the string read/write to static methods to
...
make it easier to reuse in classes that want to
read/write strings the same way without using
Serializer directly.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9456 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
819407cf79
Starting to reorganize serializer a bit to later add
...
some features that will make it slightly less fragile.
The code that registers a serializer for an ID has
been centralized.
A method was added to hand out new IDs and it now
skips IDs that are already in use. This will allow
certain serializers to be fixed against specific IDs
to maintain backwards and forwards compatability even
as the automatically registered list of serializers
changes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9455 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
83f56bda4e
- add updated osx bullet natives
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9450 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
a1dd0f9061
- fix bullet ghost overlap, thanks to @iwgeric
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9449 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3450b171c2
- change TestSweepTest to apply the location to the spatial before adding the physics control to avoid having the obstacle at 0/0/0 in the first frame
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
1ef93999a3
* Fix issue 391
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
e574e73b68
- Nifty : fixed gradient material
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9446 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
2f2c44d6b1
* TangentBinormalGenerator will replace the tangent buffer if it already exists on the mesh, instead of crashing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9445 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
68551c8c17
* Fix issue 490
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9444 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
59336dee4d
* Fix issue 464
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
3cdeb6ed4d
* Fix issue 476
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9442 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
4ee09fa52e
* Ogre3D models exported from blender2ogre / Blender 2.63 now work by avoiding submeshname DTD violation
...
* Small grammer fix in FileLocator exception
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9441 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
95fb3eabbd
- revert genfiles for jme project as the project uses the netbeans 7.0.1 ant build files and would not be updated in a newer version if only this file was updated in the project
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9440 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fedcc577a2
* The javadoc will have the protected fields now
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9439 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
cd64f74898
- ANDROID fixed multitouch move taht was not sending additional pointers event. thanks to iwgeric
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9438 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d76d58c0e9
- ANDROID audio renderer : added a state check on the MediaPlayer to prenvent it to throw errors
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9437 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
0fe3b69f7d
- ANDROID Reverted a change in resolution setting, as it apparently has bad side effects on GUI
...
- Android texture util ENABLE_COMPRESSION is now public to be able to change it. Accessing it through the appSettings would be better.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9436 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
9292ac9898
- add Tests for physics raytest and sweeptest (thanks to @wezrule )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9435 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
33a69d4536
Softened terrain API to allow for different tiling implementations. Added MultiTerrainLodControl
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
dc646e048e
Fixes to luminance textures IO operations.
...
Added support for IO operations for RGB images (all except RGB10 and RGB9E5 formats).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9431 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
a2b2a85cce
Extending TexturePixel functionality.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9430 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago