Kae..pl
4a596c8082
Temporary fix to UVS loading. If no texture is applied and UV coordinates are - then they are applied to the model. At this moment user defined UVS are only applied but future implementation will take the UVS type into account.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9526 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
7beebfc4c0
Fix for mirror modifier. Wrong axis was mirrored when Y is up axis was set.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
cd79395d9b
Removing the exception throw when the mesh has no vertices. Now simply an empty geometry list will be returned.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
1d767981ee
Fixes for mirror modifier (fixing several NPE that occured when model hed no binging or UV buffers, and fixing ClassCastException when model was small and ShorBuffer instead of IntBuffer was used for vertex indexing).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
a6d42c21bb
Fix to applying properties to the mesh's geometry.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
fde6b4a447
Fixes to normals loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
0e24cf969b
Bugfix for textures loading: when one texture had several mappings it might not have appeared on the scene at all.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
a85db87169
Support for BMesh loading. Enjoy :)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
691ebcb53d
Fixes to vertex color buffer applying. This functionality is also moved from MEshHelper to MeshBuilder.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
53dd4c2941
Some additional null checks while I'm in the area.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
11f686b1e0
Some cheap defensive checks that make a nicer
...
(and more local in some cases) error for the caller.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
332fe4d3ac
Fixing bugs with applying UV maps.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
440217fbd2
Fixing a bug that raised an exception when bone animation was attached directly to the object for Blender 2.49.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
1c429f0eb2
Fix to logging (thanks to rectalogic for finding it out :).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
1e496c91fd
SDK:
...
- update ogre exporter for blender 2.63+
- add folder with script to easily update script
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9511 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
6dbc85234f
SDK:
...
- update manual
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9510 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
d63683d240
Issue 466: Blender loader duplicates vertices
...
Done. Hope it does not break anything ... too much :)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
4e987ae63e
Android : Pixel Format again. Transparent or Translucent pixel format should not be the deault setting as they drain a substential amount of fps and that most of the games will have an opaque background.
...
There is now a new ogles configType called BEST_TRANSLUCENT if users really want a transparent background.
The BEST or FASTEST confing are now both OPAQUE, this gives a nice boost to the BEST configuration.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
67712589e2
Android : changed the way the glsurface's pixel format was chosen, allowing the surface to have a translucent background
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9507 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
rem..om
9349bd97c6
MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c373f70d01
* Fixed issue where a model loaded from J3O would crash on render (thanks ghoust)
...
* Uniform.toString() now handles the case where name = null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
e8762bcf9d
Fix to 3D texture triangulation procedure that might have caused an image of width or height == 0 to be produced (which caused later errors during textures merging).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
8cf238a262
* Fix crash when loading animated OgreXML model exported from blender2ogre 0.5.7
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
5730bf67d8
* Removed useless code / formatted DefineList
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b007fd672a
* Added IndexBuffer.wrapIndexBuffer() for wrapping any buffer (convenience method)
...
* All index buffers now rewind the buffer before allowing any read/write ops
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fd03d28d81
* Added AssetKey.clone()
...
* WeakRefCloneAssetCache will attempt to collect GCd assets more often by not relying WeakHashMap to do so
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7b9b9905ef
* Removed workarounds for setting material parameter with m_ prefix. From now on it will only be supported when loading really old J3O files.
...
* Small optimization: if technique is already loaded, define list will not be reconstructed on define change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fbf29530f3
* Deprecated FloatToFixed: You should use regular floats on Android instead of using fixed decimal format (most mobile GPUs support float anyway)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
37aa17302f
* Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
613d519544
SDK:
...
- remove useless synchonized statements from physics
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
a6033d0193
- Added TestCursor + 3 types of cursors for user testing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
0ade9ab80f
- Removed a comment on a line that wasn't to be commented...
...
- Fixed import problem when RIFF header didn't have height/width (when it should). The loader will now use the first image's width/height. Since all images in an animation are supposed to be the same size this should not be a problem.
- Fixed import when an .ICO file contains more than one image (as it in in the case of "windows theme" files). The loader will default to a 32x32 icon in that list.
- Formatting.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9485 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
4e419a854c
SDK:
...
- add ogre skeleton files as recognized assets
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
caba5c80c1
SDK:
...
ModelImportTool
- fix removing texture data after import
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9482 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
27da3a106b
SDK:
...
ModelImportTool
- fix relative path creation by using correct ProjectAssetManager
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
77b827ce6b
SDK:
...
ModelImportTool
- uses FileObject list of assets instead of AssetKeys
- uses more robust copying
- supports binary ogre files (in theory)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9480 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
740a6fcf9a
SDK:
...
- enable asset list for binary ogre files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9479 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
49f6e62048
SDK:
...
- avoid backslashes in Codeless Project wizard
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
b7b06266ed
SDK:
...
- add main model file to failed list when import failed in ModelImportTool... at the right place
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
43eca4f47d
SDK:
...
- add main model file to failed list when import failed in ModelImportTool
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
2f149ec2a5
SDK:
...
- avoid duplicate fail entries in AssetDataObject
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9475 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
4df4fa8ed9
SDK:
...
- update ModelImportTool AssetKey property display on each load
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
e5f8a05055
SDK:
...
- move ModelImportTool info text to bundle file instead hardcoding it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9473 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
00641863cf
SDK:
...
- clear asset list data after failed import in ModelImportTool
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9472 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
7260603652
SDK:
...
- change editability and colors of ModelImportTool text areas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
1f4e666955
SDK:
...
- improved ModelImporter with failed assets list, better workflow and lots of information and help based on import results
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9470 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
d54451f334
SDK:
...
- avoid duplicates in AssetDataObject asset list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9469 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3594e90e66
SDK:
...
- fix creation of unnecessary +Name.material file on ogre import
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago