Commit Graph
100 Commits
Author SHA1 Message Date
sha..RD 27bf244729 * Added glGetError() checks after every GL call (its ugly, I know, but it helps with debugging). Added option to disable it with constant on RendererUtil.ENABLE_ERROR_CHECKING.
* Set lastFb in OGLESShaderRenderer when context is reset, this is needed otherwise the state tracker would not work correctly.
 * Fix issue with Mesh.Mode.Hybrid that wasn't rendering triangle fans correctly (was rendering them as triangle strips instead).
 * Remove call to glPointSize in OGLESShaderRenderer (it would most likely crash anyway, since GLES10 calls can't be used in a GLES20 context)
 * TestCustomMesh now uses shorts instead of ints for the index buffer. 32-bit indices are not supported on Android and are slower on Desktop, don't use them if you can avoid it.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 01:01:24 +00:00
sha..RD 9f4f321098 * Semi-colon.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:16:44 +00:00
sha..RD 30c7347cdf * If the render buffer storage format is 0 (not supported), throw exception instead of passing invalid enum to a GL call
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:05:34 +00:00
sha..RD bcf3b7e7b6 * Added proper checks for RGBA8 support. All formats now specify the renderBufferInternalFormat
* Added support for depth24 and depth24stencil8 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-07 19:01:04 +00:00
sha..RD c994965510 * Fix GBF crash when merging with blender models (since they have index component count = 1)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-02 20:03:16 +00:00
sha..RD d6448dd112 * Ensure bind pose format and num components matches base buffer. Fixes crash when batching model with 3D tangents
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-28 02:29:49 +00:00
Sha..om cc9379b42a * Check to ensure all buffers have the same number of components when merging.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10214 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-28 01:50:43 +00:00
sha..RD 84183ad154 * Material.setParam() now calls setTextureParam() instead of messing up internal state if the type is a texture
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 23:05:08 +00:00
sha..RD 9eb9463261 * Ensure that MatParam.value and MatParamTexture.texture always match, and throw exception if they dont
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10208 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 23:00:39 +00:00
sha..RD fd0c0fc0a1 * Made all placeholder assets loaded have correct asset keys (based on the key that was used to load them)
* Also made the placeholder texture use repeat mode if the original was supposed to use it 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10207 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 22:27:15 +00:00
sha..RD 65f384c06a * Enable import J3O model feature, assets with absolute paths are copied as-is, whereas the model and relative assets are copied to the user selected folder
* Add dummy ProjectAssetManager feature to support ignoring absolute paths when loading from disk (necessary for the above)
 * When gathering the asset list for a model, support ignoring absolute paths
 * Added destination folder letter case fix needed for Windows when importing absolute path assets, it will use heuristic to match some asset against the import path and if so, change the letter case to match that of the asset.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-26 06:34:46 +00:00
Sha..om d169b700f2 * Fixed interpreting unsigned value as signed causing out of bounds when using model with more than 128 bones
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-26 01:17:27 +00:00
sha..RD 455a621384 * Fix android native crashes and other bizarre problems with 32-bit index buffers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10145 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-25 02:15:50 +00:00
sha..RD 289c25e7e8 * Possible fix for memory corruption issue on Android when compressed texture formats exceeds 16 entries.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-21 21:37:13 +00:00
Sha..om 5a90cd7082 * Fixed issue where OBJ loader would fail to parse faces correctly if they had more than 1 space in them
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-28 03:07:25 +00:00
Sha..om 85059fd8a0 * Fix height = radius bug in ConeCollisionShape
* Added docs
 * Added getter for height and axis

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 17:05:41 +00:00
Sha..rd 5a3a1838f6 * Allow removal/addition of NiftyJmeDisplay from ViewPort
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-23 18:09:50 +00:00
Sha..rd 2e35519182 * Nifty will now set the BitmapText base color instead of using the material's color (which could override the color of the shared font)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9995 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:16:16 +00:00
Sha..rd 4aea96f4b9 * Made nifty mouse wheel rotation be the same as nifty LWJGL's renderer (1/-1 instead of 120/-120)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:14:51 +00:00
Sha..rd e8f747e8ce * Fix incorrect nifty display
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 02:07:12 +00:00
Sha..rd b7c76799e2 * Attempt to fix SDK / AWT panels issue "Framebuffer doesn’t have any renderbuffers attached."
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-11 07:42:31 +00:00
Sha..rd e9395812bc * Partial fix for issue 504 (Android renderer only)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 22:03:37 +00:00
Sha..rd ffa0639580 * Fix issue 526
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9989 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:57:54 +00:00
Sha..rd 2d69a5d159 * Fixed issue 460
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:55:11 +00:00
Sha..rd 0229a54b5e * Fixed some "throw new NullPointerException" statements and replaced with IllegalArgumentException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9987 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:47:19 +00:00
Sha..rd 7dae4d5238 * Fix issue 551
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:39:33 +00:00
Sha..rd be59bd91fb * Fixed issue 550
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:33:42 +00:00
Sha..rd fead899369 * Fixed issue 511
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:08:11 +00:00
Sha..rd 6745c8ed63 * Made AppletHarness fields protected instead of private to allow extension
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:58:38 +00:00
Sha..rd b3e63e9732 * Depth writes now completely disabled for all nifty elements - should fix various glitches when nifty is rendered with jME3 gui or 3D objects
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:30:56 +00:00
Sha..rd 9e03dba566 * Add checks for maximum texture resolution in all renderers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:28:00 +00:00
Sha..rd 60f52b8ea6 * When specifying OPENGL3 in AppSettings, it is now Mac OS X compatible
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9875 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-21 22:45:57 +00:00
Sha..rd 4d01146519 * Add ImageRaster.getWidth() and getHeight()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-21 21:56:22 +00:00
Sha..rd 8efd28da76 * Some optimizations for defines and shader key. Computing "compiled" define list isn't necessary to execute a lookup against asset manager. Allows faster changes in defines.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9771 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 02:09:39 +00:00
Sha..rd 1a12437436 * Remove unneeded printlns in AudioNode and HDRRenderer
* Poly offset will become disabled if factor and units are set to 0.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9770 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 02:04:33 +00:00
Sha..om d329e243fa * dotScene loader: prevent issue when dotScene file is missing an externals section.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9767 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:49:22 +00:00
Sha..om 0995dcf9b6 * Change shadow direction to demonstrate bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9766 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:02:48 +00:00
Sha..rd 5f88d137a8 * Add RenderManager.setUsingShaders() method in case it is used directly (without RenderManager.render()).
* Fix issue where LwjglOffscreenBuffer's thread would freeze after it has been destroyed 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9753 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 04:09:06 +00:00
Sha..rd 243bba48ff * Improvements to GLSL loader handling of libraries. The order of #import is maintained, it is also possible to #import in the body of the shader (but it will not be included twice). Fixed issue 523.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9752 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 01:00:33 +00:00
Sha..om 13132e10cc * Remy: please rename context.alphaTestEnabled to alphaTestFallOff and make it a float. Also, add FixedFuncBinding.AlphaTestFallOff and make J3MLoader parse it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9746 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-17 16:41:28 +00:00
Sha..rd f7a653088f * Put rangeCheck() back
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9743 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 01:51:17 +00:00
Sha..rd 105d27fddf * Problem: Slow. Solution? Speed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9742 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 01:27:54 +00:00
Sha..rd 47563c2cf1 * .. and here's the change that makes the previous change actually faster
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9741 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 01:13:40 +00:00
Sha..rd dbc59934a7 * Added new image codec that should be faster for byte component image formats like RGBA8
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9740 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 00:54:51 +00:00
Sha..rd 06d18c1366 * When a "severe" AssetNotFoundException is thrown for subassets, it won't be ignored by SceneLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9739 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-16 00:53:33 +00:00
Sha..rd cf2bd1de24 * dotScene loader can now load cameras (loads them as CameraNode). Fixes issue 226
* dotScene loader now correctly loads materials in <externals> tag. This means models exported in "Separated Materials" mode now work. Also models exported in single material mode no longer require you to rename them to match the scene name. Fixes issue 519.
 * dotScene loader also considers the ambient color in the <environment> tag and adds an AmbientLight to the scene.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9736 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:29:55 +00:00
Sha..rd a5275875a7 * HoverTank blender model now references the correct textures (PNG -> JPG)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9735 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:18:35 +00:00
Sha..rd a7bcb2b6e6 * Buggy model no longer has embedded lights
* Buggy model now uses J3M file by default 
 * Enabled specular for buggy - since specular color is set to black by default

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9734 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:07:42 +00:00
Sha..rd f9e99ab956 * Fixed rather silly bounding box computation bug. Thanks to @raistm.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9733 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 19:36:42 +00:00
Sha..rd a0d0b0922f * ArmatureModifier now sets 0.0 weight if the vertex should not be influenced by any bones. This fixes "disappearing" object issues in animated models.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9732 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 19:35:59 +00:00
Sha..rd 2bfd91ef2e * MeshLoader will no longer generate NaN weights for vertices with no bone-weight assignments. Instead it will generate zero which will cause those vertices to remain in the bind pose.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9727 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:26:08 +00:00
Sha..rd a2ff0ba179 * Fix issue where a bone weight in a vertex was set to all zero would cause the vertex to snap to 0,0,0
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9726 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:24:10 +00:00
Sha..rd 8c2bdebbae * AnimControl now forces the animation map to be non-null in all cases - when creating a new AnimControl, cloning it or loading from J3O.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9725 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:22:31 +00:00
Sha..rd 1ddb7903db * OBJ loader now supports loading models that use negative indices in the face statement
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9724 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:21:21 +00:00
Sha..rd e848c53ef4 * Add small work around in MTL loader: Do not accept "d 0" or "Tr 0" as they hide the model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9723 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:20:34 +00:00
Sha..rd 46fb4c43b4 * Fix UTF8 error in ConstraintDefinition
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9722 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 05:19:57 +00:00
Sha..rd 07a6ca931f * Fix "particlesPerSecond set to 0 accumulates timeDiff" issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9713 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-10 23:18:40 +00:00
Sha..rd 6aefda2e38 * BatchNode / GeometryBatchFactory now batch animated models correctly. Note that any control(s) are removed during the batching process, and must be re-added after batching for animation to work.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-10 23:09:52 +00:00
Sha..rd 2a11aae3a4 * ImageRaster now supports Android. However the constructor can no longer be used. Instead user should create it by using ImageRaster.create() which automatically defers the handling to JmeSystem.
* TestImageRaster tests both reading and writing from various types of formats now by chaining the image conversions
 * 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-09 23:39:45 +00:00
Sha..rd 6cddcf8f1d * Fix crash in TestWalkingChar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-06 03:52:32 +00:00
Sha..rd 3c4405868a * Fix incorrect bounding box calculation when points are not centered on origin
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-06 03:51:46 +00:00
Sha..om be1aa87f55 * Fixed issue 518 .. again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 22:02:27 +00:00
Sha..om c8b3ae7f64 * Fix issue 518
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9704 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 21:58:12 +00:00
ShA..Rd 9ad757596b * Fixed issue where using images with pregenerated mips would cause performance loss due to them being generated again and again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 21:26:05 +00:00
ShA..Rd 96c4b31e0f * Partial fix for issue 532 and issue 533
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9702 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 20:39:14 +00:00
Sha..rd 0ddc10a0c0 * Fixed minor javadoc issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9657 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 03:27:20 +00:00
Sha..rd 6f5d4ef943 * Added ViewPort.clearProcessors() to remove all processors from a viewport
* Make JmeSystem error message regarding delegate more readable (split to another line)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9656 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 03:20:53 +00:00
Sha..rd f5f3a85042 * Added new ImageRaster thing, it can let you read and write pixels on jME3 images without caring about the underlying format. NOTE: None of the jME3 internal classes use it yet, the code has yet to be ported.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 03:18:22 +00:00
Sha..rd 69cbad9ce9 * Deprecated Intensity formats and RGB10, these never worked, and never will
* Fixes to Alpha16, Luminance16, Luminance16F, Luminance32F, Luminance16Alpha16, Luminance16FAlpha16F, RGB16, RGB16F_to_RGB111110F, RGBA16 image formats.
 * Added support for ARGB4444 format on destop

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 02:19:47 +00:00
Sha..om 78bbe9b251 * Fix issue where blender animation importer was truncating the animation duration to an integer (thanks rectalogic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9626 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-06 20:57:45 +00:00
Sha..rd 2ab5e4abbe * Nifty GUI now uses Unshaded.j3md for rendering which is cleaner
* Nifty GUI performance much faster, but global font text isn't taken into account in OGL1 mode (fix TBD)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 23:50:54 +00:00
Sha..rd 38ff6f7560 * Fixed issue where setting an unset define then setting an already set define would cause the unset define to not be updated in the shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9623 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 22:00:48 +00:00
Sha..rd 0a38ca0cf4 * GLSL spec allows having unset uniforms/attributes/varyings as long as they are not used in the shader, thus they are now always in scope
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9622 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 21:59:58 +00:00
Sha..rd dba5ba5851 * Fixed culling with asymmetric frustums
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9621 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 20:39:05 +00:00
Sha..rd 277a2bcc4d * SDK build fixed. Normen now owes me a beer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9620 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 05:53:50 +00:00
Sha..rd 896c0d31a5 * Forgot to commit this quite crucial class ..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 05:41:49 +00:00
Sha..rd b0286ae5ff * Fixed "IllegalArgumentException: Comparison method violates its general contract!" issue with CollisionResults
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9618 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 23:33:04 +00:00
Sha..rd ac0f3a107c * Fix issue where setting texture on renderer with no mipmaps and then setting the same texture with mipmaps would prevent them from being generated (fixed for desktop GL1/GL2 and android)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 23:17:29 +00:00
Sha..rd e78474a5b1 * Fix issue 506
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 21:52:17 +00:00
Sha..rd be58274ab8 * Fix issue 520 again: pressing mouse over jme and releasing over nifty did not tell jme about the release.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:39:15 +00:00
Sha..rd f82be26af8 * Fix issue 520
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:34:16 +00:00
Sha..rd 8e153c0379 * LwjglGL1Renderer: do not set vertexbuffer on mesh if vertexcolor is disabled. This fixes issue where an unshaded material still uses vertex colors even if they are disabled.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:32:57 +00:00
Sha..rd 20566963f8 * Add javadoc for InputManager.setMouseCursor()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:29:42 +00:00
Sha..om 94f424f203 * ViewPort will only set refresh flags on scene if its a Geometry (since normally a node based scene graph would have these flags set already).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9580 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-23 14:52:24 +00:00
Sha..rd c7186886bc * OGLESShaderRenderer.readFrameBuffer() can now read from the main framebuffer in RGBA format.
* Add JmeSystem.writeImageFile() for a platform independent image writing method. Desktop and Android implementations are available.
 * ScreenshotAppState no longer depends on AWT or Desktop Java, instead it uses JmeSystem.writeImageFile() which will run on Android as well.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-20 01:06:15 +00:00
Sha..rd a3255e4f45 * Javadoc fixes to FastMath
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:52:35 +00:00
Sha..rd 9d95528e21 * Fixed issue where setReverbEnabled(false) after setPositional(false) did not actually remove reverb. Reverb is now removed automatically when setPositional(false) per contract of the method.
* Formatted the classes.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:46:04 +00:00
Sha..rd 5497fcc7e6 * Fixed issue where attaching scene to viewport does not force it to update
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:44:26 +00:00
Sha..rd 6c12291559 * Missed this one yesterday, removed FixedFunc name from UnshadedArray.j3md
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:42:20 +00:00
Sha..rd eae0a18246 * Fix crash in SaveGame class due to lack of regex escape -> used char token instead
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:40:32 +00:00
Sha..rd 0a3f7903a4 * Added methods to BufferUtils to create Vector4f buffers or set them
* Start implementing issue 504 (capacity -> limit)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:39:25 +00:00
Sha..rd f401c9c1da * Material world parameters are now set in uniformBindingManager instead of RenderManager
* Fix issue 497 -> TempVars are no longer used to set world parameters so they cannot leak onto other params or lighting values
 * Uniform is no longer serializable
 * Cleaned up uniform from old/outdated stuff

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9555 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:36:06 +00:00
Sha..rd 9b9fa57de4 * Formatting and names in ShaderDebug
* Remove shininess=0 in TestParallax, its bad

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:33:09 +00:00
Sha..rd d46ee26002 * The bounding box will compute faster, maybe even more faster on Android .. If its bad, please go ahead and complain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:02:57 +00:00
Sha..rd 7825249952 * Made some classes pretty, hope you like it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:00:03 +00:00
Sha..rd 27e97c34da * 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:56:51 +00:00
Sha..rd 55d75c5abc * Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now).
^ Make sure your shader languages are appropriate for each shader type (vert / frag) in your J3MS!
 * Shaders no longer have the "usable" member and the renderers don't use it either (its useless)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:53:53 +00:00
Sha..rd af7435ffdf * jME3 now shows error dialog on exception by default (unless user overrides handleError)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:49:05 +00:00
Sha..rd cc3577acdc * Android renderer now supports configuration changes (see: http://jmonkeyengine.org/groups/android/forum/topic/supporting-device-configuration-changes/#post-181170)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:46:44 +00:00
Sha..om 5d982c71d1 * Applied wezrule's patch: http://jmonkeyengine.org/groups/physics/forum/topic/making-an-object-hover-purely-by-applying-forces/#post-181360
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-09 14:08:00 +00:00