701 Commits

Author SHA1 Message Date
PSp..om
d2579343b2 Make BitmapFont's calculation of line width match
BitmapText's version.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8475 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 09:07:27 +00:00
PSp..om
1e59de25ee Took out the unbaking of kerning because it _does_
affect all subsequent cursor positions unlike xOffset.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 08:53:02 +00:00
PSp..om
68c2fea479 The last change neglected the first character which
has special treatment for its x0 setting but still
requires that the xAdvance be adjusted to account
for accumulated xOffset.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8473 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 08:44:25 +00:00
PSp..om
ee2f44f340 Fixed some really odd text advance behavior that
caused letters and characters to overlap each other.
Basically, the offset was being included in the next
chars position... and it shouldn't be.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8472 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 08:27:09 +00:00
nor..67
b6492e958e - change spatial warning on update state to include hint to threading problems
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-20 12:44:11 +00:00
rem..om
444223b905 - Excluded spatials that have a cullHint.Always from shadow queues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8466 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 21:02:03 +00:00
sky..ok
84116c85f8 Created clickable links out of http mentions in all jME3 Javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 20:23:39 +00:00
sky..ok
1095a1fb62 Created clickable links out of http mentions in Camera Javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8464 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 19:50:07 +00:00
rem..om
854b4a00c0 - used tempVars for path interpolation instead of temp attributes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8463 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 18:42:05 +00:00
sky..ok
83fd9107c9 Fix for broken Javadoc in Material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 15:33:13 +00:00
rem..om
e9556fad0a - used back system timer for cinematics, whatever it is :D
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8453 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 22:10:41 +00:00
sky..ok
8a4d2cbdd0 Fix for strange character encoding in Box Javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 21:14:52 +00:00
sky..ok
2ee53936fd Fix for incorrect Javadoc in Box
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8450 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 21:12:53 +00:00
rem..om
be6259e5ba - fixed bad time calculation on cinematics
- Used a nano timer for precision
- javadoc'ed a bit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 19:01:09 +00:00
rem..om
d4c69da2a1 - removed deprecated usage of audioRenderer in soundTrack
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 21:29:39 +00:00
rem..om
319ccc62b4 - added a pause method to AudioNode
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8433 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 21:27:09 +00:00
rem..om
298c052d24 - Use quaternions and slerp for rotation track
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8432 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 20:55:38 +00:00
nor..67
cfc6036bf2 - cleanup after Kirill-Bomb
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8426 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 09:41:10 +00:00
sha..rd
1fb4a9be00 * Apply fix for cylinder normal generation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8425 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 02:19:16 +00:00
sha..rd
55bfc5f0cf * Update to LWJGL 2.8.1
* Audio system to use new NativeObject class for managing audio buffers and filters
 * Formatting for AndroidAudioRenderer
 * Changed AndroidAudioData to match new NativeObject class
 * AudioNode now serializes the audio key as "audio_key" instead "key"
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:33:42 +00:00
sha..rd
107380afc1 * Moved GLObjectManager to util, it is now NativeObjectManager and can be used to manage collection of any native object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8422 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:26:31 +00:00
sha..rd
bb52601e4e * Gutted out SpatialAnimation
* Fix crash in TestObjectAnimation**

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8420 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-16 23:28:48 +00:00
sha..rd
e3366f14b8 Animation system revamp
* Track is no longer generic and doesn't need to be
 * Removed implementation specific methods from Track 
 * Animation class no longer casts the track to a specific type to call setTime(). The specific Track.setTime() implementation makes the appropriate operations.
 * TempVars instance is now passed down from the AnimControl to the tracks to get rid of all temp members in the tracks 
 * Misc docs and comment changes
 * J3O files that reference BoneAnimation or SpatialAnimation class are automatically redirected to Animation class
 * MeshAnimation, previously unused, is now completely obsolete and has been deleted 
 * PoseTrack, previously unused, is now deprecated until pose loading support is added 
 * Proper formatting for SpatialTrack

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8419 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-16 23:15:55 +00:00
Sha..om
30e1128a57 * Remove silly allocation of triangle per BIH node. Use temp vars instead
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8388 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-14 14:37:05 +00:00
sha..rd
0372a5ed6d * Add lighting support to OpenGL1 renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8387 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-13 04:04:33 +00:00
sha..rd
5feebef7c5 * AwtMouseInput event queue is now synchronized like it should be
* TangentBinormalGenerator no longer writes binormal buffers. Instead it writes the W coordinate of the tangent based on the binormal's sign. Should fix "normal map seams" type problems

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-11 01:07:15 +00:00
nor..67
c79968463d - fix Animation loading by using arraycopy..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8375 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-10 15:04:18 +00:00
rem..om
cf89d515ef - Reduced the number of instantiated variable on a collision check
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8373 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-09 13:53:33 +00:00
rem..om
1afea87e89 - fixed javadoc on ChaseCam
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8371 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-09 13:10:54 +00:00
rem..om
cad42dae3c - Changed some javadoc on ChaseCam again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8370 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-09 13:00:58 +00:00
rem..om
7a5905d7f8 - Changed some javadoc on ChaseCam
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8367 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-09 09:58:28 +00:00
rem..om
7c4f085174 Added a way to clear all waypoitns at once on a motion path
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8365 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-07 21:59:45 +00:00
sha..rd
5d5e0082a7 * Fix inside view for Dome shape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8322 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 00:45:35 +00:00
sha..rd
c7ebfc9b77 * Deleted useless com.jme3.renderer.layer package
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8319 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:26:46 +00:00
sha..rd
3f95a0ca2f * Eclipse classpath no longer includes .svn folders
* Updated android.jar to 2.3
 * Add support for changing fullscreen mode in AndroidHarness
 * VBO now used by default for Android versions > 2.2
 * Fix wrong setting array type uniforms in android (e.g. Vector3Array)
 * Improved efficiency of setVertexAttrib in android by not creating iterator each time
 * Added method ParticleEmitter.killParticle()
 * Deleted useless com.jme3.renderer.layer package
 * Fix documentation of AppSettings.setCustomRenderer()
 * Fix SkyFactory on android (again!)
 * Deleted useless com.jme3.video package
 * Add KeyNames to get names of keyboard keys
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:24:36 +00:00
sha..rd
73f073c794 * Headless context will no longer initialize audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8315 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-28 01:34:13 +00:00
sha..rd
c81a1a4d3e * Fix NPE in SkyFactory when used on android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8312 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-27 02:05:03 +00:00
Kae..pl
ce259299e2 Track length getter added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 21:12:29 +00:00
Kae..pl
c773395ace Animations refactoring.
- Track is a generic interface now
- all kinds of tracks implement Track<T>
- Animation is the only animation class that should be used now (other classes like BoneAnimation or SpatialAnimation are deprecated now)
- Pose and PoseTrack are made Cloneable to easier clone the tracks and Animation
- one update to OgreLoader (using Animation instead of BoneAnimation)
- one update to tests

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8302 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 20:30:22 +00:00
Kae..pl
a649917c27 'copyFrom' method added to Camera.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 10:25:27 +00:00
sha..rd
a5be89598f * Always close InputStream in WAVLoader
* Fix use of deprecated classes/methods in android tests
 * Fix bugs with joysticks often generating events for both the negative and positive side of axis
 * Camera.clone() properly clones the gui bounding
 * Camera.setParallelProjection() updates the camera's projection matrix instead of keeping old values
 * LwjglOffscreenBuffer obeys by framerate setting and sets renderable property as needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 00:50:13 +00:00
Sha..om
03ffc22446 * Spatial.setLocal***() methods no longer set world transform since it will be updated later on
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8269 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-22 00:55:59 +00:00
Kae..pl
bfc57cc7db Spatial animation support added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-21 11:34:10 +00:00
sha..rd
5ac90f46fa * Formatting for many android classes which needed it desperately
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
 * Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 21:26:59 +00:00
bre..ns
2e1c4e8c29 NPE check on AudioNode read
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 23:46:21 +00:00
sha..rd
6d728615a3 * Ogre3D mesh.xml loader is now more resilient to certain models exported using blender2ogre
* Ogre3D dotScene loader can now load spot lights
 * Added some better debugging to FBO errors
 * Fix weird explosion in TestWalkingChar
 * Added additional "canvas torture methods" in TestCanvas 
 * Several fixes to canvas:
   - Issue when size becomes 0, 0
   - Freeze if no framerate limit is imposed and canvas is closed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:46:40 +00:00
sha..rd
120a3d1e4f Blender Loader
* Correct calculation of spot light's inner and outer cone angles
 * Loaded lights are now attached to the model's root node instead of being foolishly discarded


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:39:02 +00:00
sha..rd
062507e23e * Render off screen surfaces even if main screen isn't visible
* AWTLoader now supports 16-bit grayscale PNG loading as Luminance16
 * AWTLoader uses try/finally on stream
 * Fix exception in MaterialLoader (was it really that hard to fix, normen?)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 23:41:46 +00:00
rem..om
29dbdc08a4 Filters : fixed depth buffer rendering for additionnal passes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 14:32:54 +00:00
rem..om
90a7917e1a Cinematic : removed accessors with a typo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 14:19:26 +00:00