Граф коммитов

360 Коммитов

Автор SHA1 Сообщение Дата
nockawa c6b2cd1eb4 Canvas2D: Text rendering improvements
- Introduced the useBilinear setting in FontTexture.GetCachedFontTexture
 - Introduced the useBilinearFiltering setting in Text2D, default value should cover the expected behavior
2017-03-08 14:59:22 +01:00
nockawa fc70dc16ad Merge from upstream 2017-03-08 12:21:37 +01:00
nockawa 384d477ba7 Merge remote-tracking branch 'upstream/master' into PosEngineFinal 2017-03-07 22:28:43 +01:00
nockawa 19ed936670 Canvas2D: Positioning Engine, ZE Final Fight! + bonus devs
Big boring but necessary work was done to make the positioning engine supporting scale/rotation of primitives... with a little side effect.

The side effect: before the positioning engine would round the aligned position to ensure the rendered primitive to be aligned on the rendering target's pixel. This can't be done anymore due to scaling (an aligned position of 10.5 with a scale of 2 would be aligned correctly). That's why primitive alignment was introduced and is forced for Text2D.

Bonus Developments:

 - Introduced an AOP style of logging system using TypeScript decorators to log the execution of methods and properties getter/setter. Main methods/properties of the Canvas2D rendering pipeline are using it now.
 - Prim2DBase has now an alignToPixel property to align the primitive render to the render target's pixel.
 - Text2D rendering was not using premultiplied alpha as it should be.
 - BaseFontTexture has now a isPremultipliedAlpha property and Text2D is using accordingly.
 - FontTexture.GetCachedFontTexture is now generating a texture using NEAREST_SAMPLINGMODE when SDF is not used.
 - A **Breaking change** is introduced in the constructor of BitmapFontTexture because the premultipliedAlpha argument was inserted before the onLoad one.
2017-03-07 22:27:20 +01:00
Raanan Weber 53a6ba5717 adding missing file to the build 2017-03-06 11:09:58 +01:00
Julien Moreau-Mathis e8725fc827 Adding Normal Map Procedural Texture 2017-03-02 20:31:43 +01:00
David Catuhe f149d2435d Fixed mixins 2017-02-23 18:24:52 -08:00
sevan 98599b319f Actions Manager, use keyCode as parameter for keypress and keyup 2017-02-17 20:49:20 -08:00
David Catuhe 519e6cc490 Merge pull request #1764 from wongwill86/support_loading_as_module
Separate pipe for npm module d.ts file
2017-02-13 08:42:20 -08:00
Julien Moreau-Mathis 72ee37dd2e GLTF materials common extension, getting support of lights 2017-02-12 21:17:01 +01:00
will wong af71269db7 separate pipe for npm module d.ts file 2017-02-12 00:39:32 -05:00
David Catuhe 453b59ab0d Fix project to support new projection matrices 2017-02-06 09:45:02 -08:00
nockawa 59f8362aeb Update from upstream 2017-01-28 18:00:38 +01:00
nockawa 3e73d6ea44 Canvas2D: Primitive Collision Manager (WIP) and WireFrame2D Prim
- BoundingInfo2D now has a worldAABB, with dirty/update mechanism
 - Canvas2D now support a Primitive Collision Manager (PCM)
 - A ModelRenderCache now supports update of its model data
 - Prim2DBase has a default Collision Shape which is the bounding rect of the prim.
 - SmartPropertyPrim has a uid property that returns a unique id.
 - New type of Primitive: WireFrame2D to render a multiple group of Wire Lines List.
 - math2D.ts file added in the Tools, contains a Math2D class with static helpers
 - fix a bug in ObservableDictionary
2017-01-28 17:52:07 +01:00
Palmer-JC 37d689638c Switch to Gulp for Blender zip file 2017-01-23 11:12:23 -05:00
Julian ac25a681b3 Inspector - new feature : console tab ! 2017-01-19 10:28:48 +01:00
Adam Bowman 4fb23a65ce removed attachToMesh, detachFromMesh, dispose from Ray and moved them to a new RayHelper class 2017-01-17 18:58:26 -05:00
Palmer-JC d7548f024d Compress textures cleanup
- batch scripts for directory conversion
2017-01-12 17:42:54 -05:00
nockawa 50372966f4 Update Preview Builds + bugs fix + minor changes
PreviewBuilds of all lib is updated

Fix bug on Engine.createTexture when no onLoad callback where passed.

Web.config now support .fnt file loading

Fix issue in config.json (.ts instead of .js for babylon.fontTexture)
2017-01-10 09:14:00 +01:00
Loïc Baumann a634ec8ba4 Merge pull request #1656 from nockawa/bmfont
BREAKING change on babylon.fontTexture.ts, support of BMFont and minor fixes
2017-01-10 08:51:04 +01:00
nockawa 111fa7caf3 Moved fontTexture from babylon.js to Canvas2D.
Update json config files and babylong.csproj (also upgrade TS compilation to 2.1 version)
2017-01-07 09:19:30 +01:00
Clément Levasseur f3faff3d09 Add Canvas2D to the npm release script 2017-01-06 10:22:02 +01:00
David Catuhe 67cfc748c8 Merge pull request #1643 from Palmer-JC/master
Intelligent Texture Selection fully implemented
2017-01-04 11:59:02 -08:00
Palmer-JC 588b39c3d0 Intelligent Texture Selection fully implemented
Standardizes on the Khronos Texture Container (.ktx files).  All
compressed formats supported:
- astc
- dxt
- pvrtc
- etc1/2
- atc

tester page:
https://palmer-jc.github.io/scenes/compressedTextures/index.html
Try on different hardware / browsers.
2017-01-04 14:27:01 -05:00
nockawa 2b48fe72e3 Canvas2D: adding Scale9 and AtlasPicture features 2017-01-04 14:55:20 +01:00
sevan 3e3e2a04b3 Merge remote-tracking branch 'upstream/master' into Development 2016-12-20 19:14:30 -08:00
sevan 6d4a3a9ee2 Add Holographic Camera 2016-12-20 19:14:15 -08:00
Wink Saville 043f1ce464 Tweaks to readme.md's 2016-12-20 09:28:36 -08:00
Temechon 80c824532e Inspector - new tool : clickable labels (WIP) 2016-12-15 17:17:12 +01:00
David Catuhe 48f3191893 Moved to ts2.1 2016-12-13 15:35:48 -08:00
David Catuhe aa33bfffe0 Stupid me.... 2016-12-12 16:11:21 -08:00
David Catuhe 4edb5960f3 QuadFrameRenderer WIP 2016-12-12 15:42:14 -08:00
Temechon e5dcdcaeeb Merge branch 'master' of https://github.com/BabylonJS/Babylon.js 2016-12-09 20:29:42 +01:00
Temechon 95bb415aad Fixed several bugs.
New 'close' tool and new Stats panel !
2016-12-09 17:43:59 +01:00
sevan 1b48f67f75 Add Inspector Shortcut 2016-12-09 01:02:06 -08:00
sevan 8fe42b61c6 Add Webpack for libraries who needs packing 2016-12-09 00:04:42 -08:00
sevan 39ca9ec443 Inspector in global gulp 2016-12-08 00:16:06 -08:00
David Catuhe 508b0b43d7 Fix loader 2016-12-07 14:24:14 -08:00
David Catuhe 2244e43aad Merge pull request #1566 from sebavan/Development
Fix gulp... or die trying
2016-12-07 11:56:26 -08:00
sevan fa11297647 Fix gulp... or die trying 2016-12-07 11:51:45 -08:00
David Catuhe 85a8078b56 removed .js from canvas2D 2016-12-07 11:35:11 -08:00
sevan e9cb0083bd Canvas2D to new gulp 2016-12-06 23:03:09 -08:00
David Catuhe 3e432d346b v2.5.0 2016-12-06 09:27:07 -08:00
David Catuhe 083fd423ff Adding custom.config.json for custom build 2016-12-02 09:28:09 -08:00
sevan 3a806d8e51 Facto gitignore 2016-11-30 14:22:06 -08:00
sevan 5ce27602c0 Move AB to max 2016-11-30 14:13:09 -08:00
sevan dc92a4d7f0 Fix require 2016-11-30 12:03:49 -08:00
sevan 8487080475 Fix require 2016-11-30 11:52:10 -08:00
sevan 364bdbe00d Fix gulp doc 2016-11-30 11:18:11 -08:00
sevan f3cc8f01e4 add localDev environment 2016-11-30 01:02:26 -08:00