常用的分辨率标准:
标准 | 分辨率 / 像素 |
8K | 7680x4320 (16:9,120FPS/s,12位,约每帧3300w像素,8K显示器) |
4K |
4096×2160(约每帧885万像素,每帧数量量50MB,4K投影、4K显示器、4K电视、4K显卡、4K手机) |
2K | 2048×1080(1.9:1,约每帧221w像素) |
1080P | 1920×1080(16:9) |
720P | 1280x720 |
480P | 720x480 |
FHD 全高清(1080i及1080P) | 1920x1080(16:9,PC、电视机、4.6寸Mobile、平板PC、投影机) |
For Unity3d
how to set a Unity Fullscreen Resolution when you build a game(Mac and Windows users)?
Default is Full Screen = CHECKED Default is Native Resolution = UNCHECKED Default Screen Width = 1024 Default Screen Height = 427 Display Resolution Dialog = DISABLED Resizable Window = UNCHECKED
Make sure these settings are selected.
Whenever you build a new game using Unity, it saves a registry key (in windows) or a preference file (On Mac) under the Company Name You selected for the player settings. By default, this is “DefaultCompany”. Many (including myself) didn’t even know that Unity games did this when you build and run them.If you are like me, you will continually do test builds quickly by deleting the folder you built to, and re-building, then running the exe or app. However, the registry key or preference file will still contain old display settings and other settings that are NOT overwritten when you hit build, if you are building using the same Company Name. This will lead to Unity using the nearest resolution that you have selected as a standard resolution supported by the video card.
To fix this, locate the following registry key in windows: HKCU\Software\[company name]\[product name] and delete the entire key and rebuild, then run the game.In Mac, delete the corresponding preferences file located in ~/Library/Preferences/unity.Now when you build your game, your CUSTOM standalone resolution will work, either for fullscreen mode, or if you wish, windowed mode.
Unity on Windows does support DPI scaling. but will be scaled up the "bad" way, meaning it's blurry and bad looking. you can turn DPI scaling off for the editor and enjoy your 1mm high text. On my 4k monitor it was completely unusable that way. 4k resolution is practically unusable。
Kind of, In the sense that you can import 4K videos and reproduce them without any external assets.
Is it really 4K quality?
Probably not. mp4 is lossy and so is ogg, So I assume my video went a second round of lossy compression when it was transcoded to Ogg.
Is it practical?
Not sure. So far, video importing takes an impractical amount of time. Also, 4K in general might be too much for a mobile device rending in stereo, regardless of Unity or doing it straight in OpenGL.
If you want to playback 4K in Unity you are better off finding some plugin (or coding your own) that uses the native API for video playback that the OS you are targeting uses.Then you place the video file in either Streaming Assets or PersistentDataPath.
For Unreal
UE4 默认打包出来的游戏分辨率是 1280x720.
packaged game
1、 create a file called DefaultGameUserSettings.ini in your <ProjectName>\Config folder with the following contents:
[/Script/Engine.GameUserSettings] bUseVSync=False ResolutionSizeX=1920 ResolutionSizeY=1080 LastUserConfirmedResolutionSizeX=1920 LastUserConfirmedResolutionSizeY=1080 WindowPosX=-1 WindowPosY=-1 bUseDesktopResolutionForFullscreen=False FullscreenMode=2 LastConfirmedFullscreenMode=2 Version=5
change the value: LastUserConfirmedResolutionSizeX、LastUserConfirmedResolutionSizeY to your resolution you want.
2、use the console command,both with Shipping and Development built.
//~ r.setRes LastUserConfirmedResolutionSizeX x LastUserConfirmedResolutionSizeY [Enter]
Console: r.setRes 1920x1080
developing in BP
1、Just use "Execute Console Command":
r.setRes HORIZxVERT[f]
Adding 'f' will make the game go fullscreen.
developing in code
the options for changing game settings:whether or not to use fullscreen, the window or fullscreen resolution used, the position of the window, and scalability/graphics settings.
A pointer to the global UGameUserSettings
can be found in the global GEngine
.
UGameUserSettings* GetGameUserSettings() { if (GEngine != nullptr) { return GEngine->GameUserSettings; } return nullptr; }
Several of the values used internally by this class are saved to the GameUserSettings.ini config file. If you have external automation needs, this would be the place to start.
When you use the various mode setting functions, the mode is not immediately applied, much like you would expect from a PC game settings menu. Instead, the value is saved to the Game config. To set up a mode test flow (e.g. user selects mode, clicks apply, and is prompted to confirm if the mode is worked), you should use the following:
//Setting the mode
int32 Width = 1280, Height = 720;
UGameUserSettings* Settings = GetGameUserSettings(); // note we are using the function defined above
if (Settings != nullptr)
{
Settings->RequestResolutionChange(Width, Height, EWindowMode::Type::Windowed, false); // we can choose to ignore the command line arguments, this is probably best when the game UI sets the mode after startup
}
// ...
if (UserConfirmed)
{
Settings->ConfirmVideoMode();
// Save the requested settings to our local data now
Settings->SetScreenResolution(Settings->GetLastConfirmedScreenResolution());
Settings->SetFullscreenMode(Settings->GetLastConfirmedFullscreenMode());
Settings->SaveSettings();
}
else
{
Settings->RevertVideoMode();
}
The UGameUserSettings
class provides access to a FQualityLevels instance which it refers to when using the ApplySettings(bool)
and ApplyNonResolutionSettings()
functions.
Note that a GetQualityLevels()
function exists in GEngine
to obtain the current quality levels, unrelated to the quality levels in the user settings.
Settings->ScalabilityQuality.AntiAliasingQuality = 0; // Use "Low" AA quality Settings->ScalabilityQuality.ResolutionQuality = 3; // Use "Epic" resolution quality Settings->ApplyNonResolutionSettings(); Settings->SaveSettings();
The values range from 0 to 3 and correspond to "Low", "Medium", "High" and "Epic" as in the editor quick settings dialog and in the scalability cvars. The actual meaning of these (e.g. the cvar presets to use) can be set in Scalability.ini (some sane defaults are copied to your Saved/CleanSourceConfigs and are a good basis for your own).
相关推荐
It introduces how to setup for OpenMP in Visual Studio 2005 with Inter Fortran 10.1. With a simple 'Hello world ' example
This is a simple and short tutorial on how to set up Kinect for your Linux Mint 12 (It also should work fine with Ubuntu 12.04 or 12.10). For this task OpenNI Framework is going to be used. The ...
This could be for a playable level or a game environment exploration to show off in a portfolio. Planning process is called pre-production and what you end up with is a "Preproduction Blueprint". It...
The best-selling C++ How to Program is accessible to readers with little or no programming experience, yet comprehensive enough for the professional programmer. The Deitels’ signature live-code ...
This tutorial explains how to set up ...properties configuration files, shows how to change LogLevels for a running application. Furthermore, we explain best practices on logging and exception handling.
How to set up OpenScape Office V3 LX Demo
How To Set Up and Use the SAP ME Assembly Feature
This example demonstrates how to Set capture on the mouse to detect when it enters and leaves a specific portion of your form.
RK3399的DRM-HOWTO测试 最近在学习与调试RK3399的DRM显示架构,网上有很多例程,其中介绍比较多的是来于David Herrmann’s Github的drm-howto.开源代码 但这些源码下载后执行make编译出来的执行文件只能在PC机上测试...
the code, the hard er the game becomes to change or continue dev eloping. This book sho ws how to write simple , clean, reliable code by dev eloping two basi c games. These games are built using the ...
The book starts off with an explanation of the fundamental audio concepts, after which it proceeds to explain how to use the FMOD Ex library, how to implement a 3D audio simulation, how to use the ...
"Preproduction Blueprint" is a complete system for planning your game environments and level designs. This could be for a playable level or a game environment exploration to show off in a portfolio.
Polya reveals how the mathematical method of demonstrating a proof or finding an unknown can be of help in attacking any problem that can be "reasoned" out - from building a bridge to winning a game ...
Learn Mobile Game Development in One Day Using Gamesalad is for anyone who wants to learn how to create their own video games for desktop and mobile devices. While this is an introductory book that ...
Secure Programming for Linux and Unix HOWTO by David A. Wheeler v3.010 Edition Published v3.010, 3 March 2003 Copyright ? 1999, 2000, 2001, 2002, 2003 by David A. Wheeler This book provides a set of ...
How to apply for PMP certification? It is easy to make it following the several step and points in the file.
How to Make Sense of Any Mess: Information Architecture for Everybody Abby Covert Everything is getting more complex. It is easy to be overwhelmed by the amount of information we encounter each ...
这是一篇关于如何找到一份体面的工作的英文作文,里面语法非常丰富,是作者的呕心之作