565 Commits

Author SHA1 Message Date
rem..om
2d4896942d TranslucentBucket :
- Added a translucent bucket that is rendered after the processors (usefull for shadows)
- For filters, rendering this bucket is a bit particular, so you can use the TranslucentBucketFilter to render the translucent bucket in the middle of the fillter stack (doc is comming up in the wiki)
- renamed Filter's preRender method to postQueue for consistancy with processors
- added translucent objects in TestPostWater, added a fire (particles) in test transparent shadows

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 06:51:51 +00:00
Sha..rd
c91d1d264a * Added new constructor for AudioNode that accepts stream-cache parameter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 17:17:52 +00:00
Sha..rd
3a938b7dc9 * Mesh.getTriangle() now supports 32bit index buffers and no index buffers
* Fix small logging issue in InputManager
 * Added stream-cache feature to streaming audio
 * Additional javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 01:19:40 +00:00
Kae..pl
b6d7b78a70 Added shape emitters that uste the meshes' shapes to emit particles (used by Blender Loader).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7511 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-19 20:30:08 +00:00
rem..om
e73e97f753 BillboardControl :
- applied a patch from Abies to fix align to axis behaviour. 
http://jmonkeyengine.org/groups/graphics/forum/topic/billboard-control-having-issues-when-parent-node-is-being-rotated/#post-127586

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-16 17:35:09 +00:00
rem..om
bc8162104f Camera :
- fixed worldPlane init to avoid NPE when camera is loaded from a saved file.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7504 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-16 17:13:52 +00:00
rem..om
eb63ad11de Animations :
- Created a nlerp function in quaternion (thanks to Lyzards)
- Used it for rotation interpolation when blending animations (fixed the testAnimBlendBug thanks again to Lyzard)
see related post http://jmonkeyengine.org/groups/graphics/forum/topic/ogrexml-model-and-animation-blending/?topic_page=2&num=15#post-127813

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7499 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 15:46:39 +00:00
rem..om
1c76575ef7 Added empty constructor for Camera for serialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 08:14:00 +00:00
PSp..om
743ecf650e Fixed a comment to be more accurate. Max distance
is not the maximum distance for the sound to be
heard but the maximum distance that it will be
attenuated.  In other words, setting max distance
to a small value has the opposite effect of cutting
off the sound early.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 05:42:54 +00:00
PSp..om
2f415f3919 Fix an index out of bounds exception when moving an
audio node that hasn't been played yet.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-15 05:06:34 +00:00
rem..om
cacfc6b71a Properly use bitmasks on camera for checking culling ( to avoid checking against a plane if the parent node is already on the positive side of it) making culling faster
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-14 14:05:50 +00:00
sha..rd
3430cd93d1 * Prevent UnsupportedOperationException when using LightMode SinglePass
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-13 22:52:04 +00:00
rem..om
db62445d7e Post process filters :
- Fixed Apsect ratio issue with multiviews

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 17:24:21 +00:00
rem..om
792f44cf9f Post process filters :
- re-implemented multiview filters another way (filters are now correctly rendered to the size of the viewport, and that's much faster)
- fixed an issue the was messing the filter render when using setEnabled on a filter prior FilterProcessor init
- fixed a deprecated m_ mat in WaterFilter

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-09 17:00:17 +00:00
sha..rd
a28c2622d9 * Revert back to fixed ortho matrix calculation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7470 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-08 18:21:48 +00:00
rem..om
8e5832f975 Set z scale to 0 in orthoMatrix as it was before
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-08 13:49:24 +00:00
sha..rd
4fbaecc5db * Added Javadoc for Picture, FrameBuffer, Image.Format, and AppSettings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7466 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-07 23:57:24 +00:00
sha..rd
deae399075 * Fixed exception in Mesh.setInterleaved
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7464 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-07 20:07:42 +00:00
sha..rd
5bf644ff90 * Made MTLLoader more compatible
* Fixed bug where MTLLoader would skip lines
 * Fixed exception in Mesh.setInterleaved

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7463 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-07 20:05:43 +00:00
rem..om
7938b776de - Fixed crash in Curve class when building indexbuffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-07 07:49:11 +00:00
sha..rd
bef4a77169 * Fixed viewport location bug in RenderManager
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-07 05:48:44 +00:00
sha..rd
fb11b4b3ed * Fixed exception in SkyFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7460 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-07 00:02:14 +00:00
rem..om
083333ac6e - Fixed viewPort positioning and scaling for ortho cam and added multiple gui viewports to TestMultiViews
- Filters can now be added to multiple viewports, added a TestMultiViewsFilters

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7457 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-06 23:08:10 +00:00
sha..rd
6b537307fd * Deprecated ViewPort.setClearEnabled, since we have separate clear flags for each channel in the framebuffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7455 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-06 01:50:47 +00:00
nor..67
8406f0058e Kirill: Better fix for mac issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-05 01:35:38 +00:00
Sha..om
5d4c279467 * Removed argument check in Mesh.setBuffer() since now its done in VertexBuffer.setupData()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7436 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 15:41:58 +00:00
Sha..om
b56c700023 * Added null checks in setupData()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7435 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 15:40:21 +00:00
sha..rd
344efe544a * Added check in SkyFactory to ensure the images can be used in a cubemap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 13:46:15 +00:00
sha..rd
52e3da57f8 * Added check in Mesh.setBuffer() for components argument to be between 1 and 4
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 00:39:07 +00:00
sha..rd
1a3823b6aa * Set AppSettings.setRenderer() to LWJGL_OpenGL_ANY to choose renderer based on capabilities of video card.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-01 23:40:56 +00:00
sha..rd
3ed2824cc3 * Sorting ID now reset properly when shader or texture changed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7377 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-01 04:48:10 +00:00
sha..rd
0d0454f248 * Canvas is now using pbuffer workaround, allowing renderer to acquire renderer capabilities even if the canvas is not visible yet.
* Handling of context destruction is now handled individually for displays and canvases.
For canvas, this allows it to destroy the pbuffer in addition to the display.
 * VertexBuffer now has better detection for data size changes, might prevent GL errors in certain cases. NOTE: VertexBuffer.updateData() is generally more stable than VertexBuffer.setUpdateNeeded(). Refrain from using setUpdateNeeded() .. its an internal call anyway. Using it directly could cause GL errors.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7374 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-30 23:10:25 +00:00
sha..rd
dcf3f3c061 * Fixed bug in RenderImageJme Texture constructor that would not take into account width/height
* MatParam toString() method will now display value

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7368 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-29 23:52:11 +00:00
nor..67
f6757c73fc - add empty constructore to AudioNode to reenable serialization (temp fix)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7362 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-29 21:44:14 +00:00
Sha..om
d6df196a2a * J3O embedded textures now supported. All textures without a TextureKey set will have their image data directly saved in the J3O file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7355 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-28 20:36:28 +00:00
sha..rd
f640e5de21 * Added javadoc to AudioNode
* Added methods play(), playInstance() and stop() to AudioNode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 17:45:57 +00:00
sha..rd
6196de22f7 * Removed all deprecated classes, methods, and fields
* AudioNode now takes AudioRenderer in its constructor to allow audio.play() functionality

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 16:45:01 +00:00
sha..rd
33dac750d7 * Fix for jMonkeyPlatform "100% CPU usage" bug
* Deprecate Quaternion.normalize() as it does not follow naming convention


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7332 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 16:02:09 +00:00
rem..om
609d975965 Fixed a hack in Bone class for the ragdoll, so Kirill can sleep again.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7303 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-24 21:12:19 +00:00
rem..om
6c2eba12ec Fixed double TempVars locking in skeleton and bone when computing skinning matrices, thanks to cyuczieekc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7301 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-24 08:45:35 +00:00
sha..rd
4698e13644 * Fixed IllegalArgumentException in Camera.setGuiBounding
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 23:05:45 +00:00
sha..rd
e6b11e8013 * Fixed yet another bug with transforms, this time in Spatial.worldToLocal
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7296 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 20:19:19 +00:00
sha..rd
a06ce4ebcd * Fixed issue where scene graphs with non-uniform scales would give incorrect result
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7291 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 03:05:06 +00:00
sha..rd
bfe772dd71 * Animated models won't be updated unless they are in the camera frustum ... Hopefully this won't break anything
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7290 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 02:03:21 +00:00
sha..rd
1ace200526 * Actually fixed the setSpatial(null) bug now ..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7289 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 01:28:32 +00:00
sha..rd
8aa7468370 * Removed deprecated methods from AnimControl
* Fixed bug where AnimControl would crash on setSpatial(null)
 * Mesh will deserialize lod levels list using arraycopy now
 * Renamed shorthands "ar" and "manager" to their Application equivalents in AudioApp 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 01:02:07 +00:00
jos..om
9cc223c507 RenderState support for two sided Stencil Buffer operations (in order to support Shadow Volumes in the future)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7286 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-22 21:10:27 +00:00
sha..rd
7d6167c0dc * Added Renderer.invalidateState() to reset the render context
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7280 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 20:18:41 +00:00
sha..rd
e9e64c7cb7 * Removed deprecated AnimControl constructor
* Moved bind pose generation to Mesh away from Ogre loader as its a fairly common operation for animation loaders
 * Added TestCustomAnim test which demonstrates how to generate an animated model from scratch

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7277 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:41:47 +00:00
rem..om
75fa331345 - added LightNode
- used tempVars to avoid Vector3f and Quaternion instancing in update method of CameraControl.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:21:08 +00:00