Commit Graph

25 Commits

Author SHA1 Message Date
Ankit Khare
9b38554ee8 UEPLAT-826 : use HTML5 SDK from third party directories.
- Always pickup HTML5 sdk from third party directory.
   - Use the new html5 template by default.

[CL 2610587 by Ankit Khare in Main branch]
2015-07-04 18:45:54 -04:00
Ankit Khare
59ae1770d1 UE-12561: uncompressed lightmaps rendering incorrectly in HTML5
[CL 2505568 by Ankit Khare in Main branch]
2015-04-08 14:51:04 -04:00
Terence Burns
08ff5fa6d1 https://jira.ol.epicgames.net/browse/UEPLAT-514
Adding Texture LOD settings to Device Profiles
- this will improve how we currently edit and override lod settings on a per device type bases.
- LOD Settings can now be set in the Device Profile Editor
- Any device profiles with no values set for LOD Settings, will use the default objects.
- These can be found in BaseDeviceProfiles.ini in the /Script/Engine.TextureLODSettings section
- Appropriate defaults set for those groups not listed.

-Other fixes
- - Incorrect with_editor check in HTML5 target platform, changed to with_engine

[CL 2481510 by Terence Burns in Main branch]
2015-03-17 09:50:32 -04:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
James Moran
f1320865f9 Many improvements to HTML5.
- Fixes to the Mac HTML5 Device selection. .app files now work correctly.
- Re-enabled HTML5 in Mac Editor.
- Added HTML5LaunchHelper executable to clean up the process of LaunchOn for HTML5.
- Improve HTML5 SDK Settings Editor interface. Only the emscripten install directory is needed now, SDK version are automatically picked up and selected for use.
- Change UnrealPak to also account for bytes saved (>64KB) and percentage size of original file (<90%) when choosing to automatically turn off compression.
- Added Server Port option for HTML5 deploy to stop clashes on port 8000
- Adding more logging for use during debugging & tracing.
- Added an option to turn on HTML5 tracing api and added calls to the api.
- Fix up check() macros to throw alert messages and be more clear that something has gone wrong on HTML5.

#codereview Ankit.Khare

[CL 2452979 by James Moran in Main branch]
2015-02-20 04:41:01 -05:00
Niklas Smedberg
ac2d334930 Quick workaround for B6H and BC7 on OpenGL. This looks at the project settings (.ini) and allows D3D11 texture formats if D3D11 SM5 is the only targeted shader format, otherwise it will fall back to DXT/etc. Note that it does not check for command-line overrides, like running with -opengl.
[CL 2430775 by Niklas Smedberg in Main branch]
2015-02-03 18:35:25 -05:00
James Moran
c5c96c5855 Unreal Frontend Linker fix. Misplaced #endif
[CL 2419040 by James Moran in Main branch]
2015-01-26 14:52:47 -05:00
James Moran
4a715d8eaf Crash fix for missing html5 ini values.
[CL 2418736 by James Moran in Main branch]
2015-01-26 12:02:40 -05:00
James Moran
c5b4ca076e HTML5 SDK settings are now set via the Editor.
Android SDK path backslash duplication fix.
Fix for User inis not saving array properties correctly.

#codereview Ankit.Khare, Josh.Adams

[CL 2418611 by James Moran in Main branch]
2015-01-26 10:22:57 -05:00
James Moran
e48fdc9356 Enable User.ini's.
Switch HTML5 SDK setupt to prefer values from User*.ini's over environment varibles

FYI #codereivew josh.adams, ankit.khare, rob.jones

[CL 2383359 by James Moran in Main branch]
2014-12-10 09:07:36 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ankit Khare
55d2e28ba4 Allow html sdk path to be set using ini file.
- takes preference over EMSCRIPTEN env variable
   - editor can now detect sdk on yosemite.
   - refactor and simplyfy emscripten sdk access in .cs files.

#corereview james.moran

[CL 2345958 by Ankit Khare in Main branch]
2014-10-31 04:31:19 -04:00
Daniel Lamb
715846941d Stopped tick cook on the side from waiting on save package for async cooked items to cache.
Now editor will tick at a decent frame rate while building shaders / caching textures.
#codereview Josh.Adams, Daniel.Wright, Matthew.Griffin

[CL 2318857 by Daniel Lamb in Main branch]
2014-10-03 14:56:20 -04:00
James Moran
6780d68ab2 Make HTML5 Device name unique to machine. #ttp347362
Prevents devices in the Device Manager being claimed by other machines on the same network.

#codereview Ankit.Khare

[CL 2306715 by James Moran in Main branch]
2014-09-23 06:48:14 -04:00
Ankit Khare
d72607005f Fix flipped b/r. #html5
#ttp 345097 HTML5: SideScroller2D: Background is orange

[CL 2295550 by Ankit Khare in Main branch]
2014-09-12 16:47:24 -04:00
Ankit Khare
c3e2580eee Make different browsers as HTML5 Devices.
The configuration is driven by a editor platform specific .ini setting. Also, always serve files via a web browser ( python SimpleHTTP Server ) whose life time is attached to the browser device to get around X-origin issues w/ chrome. cook on the fly path remains as such, because we already serve via the cook on the fly web server.

#HTML5
#codereview james.moran, peter.sauerbrei

[CL 2281792 by Ankit Khare in Main branch]
2014-09-02 14:36:52 -04:00
Rolando Caloca
e04529bde3 UE4 - Fix text render actors showing blocky on mobile (TTP 342605)
[CL 2237408 by Rolando Caloca in Main branch]
2014-07-30 15:36:36 -04:00
James Golding
e46a8b545c Make more classes able to be included directly
Rename Engine/Public/Texture.h to TextureResource.h
Move FTextureLODSettings into its own h/cpp files, change includes where relevant
Move FReferenceSkeleton into its own header (inc. FMeshBoneInfo) from SkeletalMeshTypes.h
#codereview roland.caloca

[CL 2137538 by James Golding in Main branch]
2014-07-04 08:02:14 -04:00
Peter Sauerbrei
b8f1f7c9b3 implement IsSDKInstalled on HTML5 target platform
#ue4
#html5

[CL 2111845 by Peter Sauerbrei in Main branch]
2014-06-20 11:47:12 -04:00
Jamie Dale
0cfe5f0651 Added PlatformInfo to DesktopPlatform and improved the editors Supported Platform UI
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms

DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.

FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2095796 by Jamie Dale in Main branch]
2014-06-05 12:13:44 -04:00
Peter Sauerbrei
aa5a1232f1 Merging
//depot/UE4-TappyChicken/Engine/Source/...

to //depot/UE4/Engine/Source/...

[CL 2081906 by Peter Sauerbrei in Main branch]
2014-05-22 09:13:12 -04:00
Terence Burns
ed12de7f13 Added support to configure which target RHI's we desire on platforms.
User can now select target RHI's for windows under: Edit->Project Preferences->Windows->Targeted RHIs

Split up GetShaderFormats into GetAllPossibleShaderFormats and GetAllTargetedShaderFormats.
D3D11 and D3D10 remain the only two on, by default, for windows.

#ReviewedBy Nick.Penwarden

[CL 2068025 by Terence Burns in Main branch]
2014-05-09 08:51:44 -04:00
Dmitry Rekman
123eaf1a69 Removed unused GetBuildArtifacts() from ITargetPlatform (this is now being done in UAT).
#codereview Peter.Sauerbrei

[CL 2059006 by Dmitry Rekman in Main branch]
2014-04-29 21:53:09 -04:00
Ankit Khare
19a878bd81 #UE4 Platforms
#HTML5

   Integerate GDC Changes into main. tested w/ QAGame, Soul and the moz custom built firefox.

   - resizable HTML5 canvas.
   - fix mouse coordinates for html5
   - depth fade using alpha ( @todo - use real webgl depth  textures )
   - fix landscape rendering. ( bgra is not supported on webgl )
   - expose a console command handler to javascript.  ( used while reszing )
   - update html5 .html5 game template.

#codereview peter.sauerbrei

[CL 2039842 by Ankit Khare in Main branch]
2014-04-23 17:30:27 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00