dan..om
94d036e58d
- Fixed NPE when passing a null cursor to reset cursor to default.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10355 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
649f052cad
- fix thread info output in lwjgl renderer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10313 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
30498824d0
- set back logging about jme version and graphics adapter to Level.INFO
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10312 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
ea973c14c3
- change logging from logger.info() logger.fine and logger.warning()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
7ba657e430
- set logging from Level.INFO to Level.FINE for most logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
01bf1ca843
Fixed 2 issues with shadows :
...
- Looks like Poly offset behave defferently between ATI and NVIDIA i added a bit of offset to avoid shadow acne for NVIDIA
- Added a flag needCompareModeUpdate in the Texture class to avoid setting it on every frame in the renderer. I changed Lwjgl and Jogl renderer accordingly.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
Sha..rd
be59bd91fb
* Fixed issue 550
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
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
12 years ago
sky..ok
28ce76245f
Change all source licenses to say 2009-2012
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sky..ok
751cb9e20a
Javadoc cleanup
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
PSp..om
d9dd8603b8
Remap logical ID instead of name since it is now
...
logical ID that is used for look-ups and it is
not locale specific.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
PSp..om
c3549f42f6
Fixed a bug in how POV.DOWN_RIGHT was reported...
...
it was actually sending events as if it was UP_LEFT.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9775 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
PSp..om
4b4ae178e5
Added a basic way to have default remappings of
...
joysticks that properly report their name. It's
a simple system using properties files on the
classpath. A core file has been added with at
least one known remapping.
Buttons and axes can be renamed but they can't
yet be flipped. If needed that can be added
later.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9774 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
PSp..om
6db4dde5e8
Changes to support new joystick refactoring.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9761 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
rem..om
5111fd8b66
Implemented fixedfunc binding for AlphaTestFallOff
...
- Made the relvent changes in lwjgl1Renderer
- Changed the check in the lwjglRenderer (note that it's deprecated in opengl 3)
- Removed the test in the OglESRenderer since GL_ALPHA_TEST/GL_ALPHA_FUNC no longer exists in OGLES 2, this must be handled in the fragment shader aka the alphaDiscardThreshold that is coming back in an upcoming commit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9747 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
pot..om
16851eb1d8
Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
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
13 years ago
Sha..rd
e78474a5b1
* Fix issue 506
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
pot..om
bb631ab13a
Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
ce124e7729
Renderer : Fix to copy framebuffer to exclude the upper bound if the rectangle as specified in opengl specs. Thanks @rectalogic
...
http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/lwjgl-copyframebuffer-off-by-one-error-patch/#post-184138
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9585 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
4f848ab5b5
Renderer : Caps.Multisample is now correctly added to the renderer caps when GL_ARB_multisample is present in ogl caps
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9581 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
0ba541ecd1
* Display initialization will not continue if crash is encountered
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9535 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
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
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
Sha..rd
1ef93999a3
* Fix issue 391
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cac820803b
* Better checking for MRT in renderer (first against max color attachments then against draw buffers)
...
* Now uses only OpenGL2 draw buffers instead of relying on GL_ARB_draw_buffers existing
* copyFrameBuffer() was non-functional when used against the main framebuffer because the width/height were set to zero erroneously, now it uses the current viewport parameters.
* Added TestRenderToCubemap to demonstrate render to cubemap functionality, it also uses MRT to render to all the cube sides
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
311242b6d9
- Framebuffer can now render to a cube map face, thanks to dflemstr
...
http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/how-do-i-render-to-a-face-of-a-texturecubemap/?#post-171990
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9363 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
807a3e6fc5
* Fix incorrect format for DepthStencil in TextureUtil (fix potential GL issue)
...
* Fix tex3DThumb.frag compile error (implicit int -> float conversion)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9339 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f68475319a
* Added new image format: Depth24Stencil8, for framebuffers and textures that need stencil data
...
* Renderer now uses getArray() to access mesh's buffers
* GL image format data now stored in a special data structure for easier management (instead of huge switch/case statement)
* Android texture loading: If the format is not supported by GLES spec, the texture upload will fail
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
544e1f6342
Shaders : The line numbers on error now correctly takes the version line added to the shader into account
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9295 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3a0e1f50ac
Shaders : The line number is now printed for each line of shader code in the standard error output when a shader fail to compile.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
533fb86c50
Down to 260 Javadoc warnings from 324
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
db4188c797
* InputManager will throw exception if joysticks are disabled instead of returning null
...
* Allow use of negative program IDs in LwjglRenderer (will continue instead of crashing for "Invalid ID received from driver" errors)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9116 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
d6af43a5cb
* Removed yet another check for "unknown" joystick type
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9105 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
ed1fd4a253
* Try to fix the guys problem with the joystick
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
96bde02de6
* Fix compile error in FrameBuffer, setRefreshNeeded() -> setUpdateNeeded()
...
* LwjglRenderer - Will only upload buffers that are used by a shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
70782dd431
removed typo in lwjglCanvas preventing the engine to build
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
bd828d629c
* Fixed issue with default samples value causing "No support for WGL_ARB_multisample" error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9021 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
cbd1248302
Mesh bufferList is now a SafeArrayList instead of an ArrayList
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago