362 Commits

Author SHA1 Message Date
PSp..om
cf18f48182 Internal surgery to AppStateManager to provide more
consistent app state lifecycle, fix some state transition
related bugs, and stop confusing users... well, at least
confusing them less hopefully.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-24 21:14:25 +00:00
PSp..om
2a65ca4cb7 Added a setTimer() method for switching the default
Timer implementation.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-24 19:31:50 +00:00
sha..rd
36b6ab3286 * Prevent crash in Animation if no tracks are set on animation
* Ogre3D .material files will still load even if a single texture is not found
 * Show any exceptions that occur in material loading (if any are thrown)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 21:03:39 +00:00
sky..ok
dae6ef534b Javadoc fixes for com.jme3.math.Triangle
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 18:20:14 +00:00
sky..ok
73fb54b4b6 Documentation fixes for BatchNode: Improved Javadoc and inclusion of license header
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 06:29:10 +00:00
rem..om
58a2bf8af9 - Deprecated PositionTrack, RotationTrack, ScaleTrack as they should be replaced by spatial animation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8501 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 12:51:20 +00:00
rem..om
feeedfa682 - Removed old batching classes (GeometryBatch and BatchedGeometries) as they are no longer needed
- removed the test cases too

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8500 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 08:20:53 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
rem..om
62a02fb6f4 - Dynamic Batching
- Forgot the temp vars

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8479 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 22:26:03 +00:00
rem..om
63b62269e8 - Dynamic Batching
- Added a BatchNode that can batch geometries in its sub graph
- added support for matching to Geometry
- created propper test cases
- added a refresh flag to spatial RF_REFRESHBATCH to refresh the batch only when needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 21:47:12 +00:00
nor..67
3ff2771a69 - add backengineered JmeVersion to fix build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 12:01:02 +00:00
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