Oculus has high requierement. Once done, Vive/Viveport while work
straightforward.
Oculus Build is not compatible with Vive/Viveport while Oculus must disable SteamVR plugin
Unreal : To get your icon and application name wihtin the Task handler (instead of UE4Game.exe) you need to add inside [ApplicationPath]/Source/[ApplicationName]/Resources/Windows/[ApplicationName].rc & an .ico at the same place
[codesyntax lang= »csharp »]// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
include
include « Runtime/Launch/Resources/Version.h »
include « Runtime/Launch/Resources/Windows/resource.h »
/////////////////////////////////////////////////////////////////////////////
undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
pragma code_page(1252)
endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,21,1,0
PRODUCTVERSION 4,21,1,0
FILEFLAGSMASK 0x17L
ifdef _DEBUG
FILEFLAGS 0x1L
else
FILEFLAGS 0x0L
endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK « StringFileInfo »
BEGIN
BLOCK « 040904b0 »
BEGIN
VALUE « CompanyName », « Epic Games, Inc. »
VALUE « LegalCopyright », « Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. »
VALUE « ProductName », « Unreal Engine »
VALUE « ProductVersion », « 4.21.1 »
VALUE « FileDescription », « ApplicationName »
VALUE « InternalName », « ApplicationName »
VALUE « OriginalFilename », « ApplicationName.exe »
END
END
BLOCK « VarFileInfo »
BEGIN
VALUE « Translation », 0x409, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDICON_UE4Game ICON « ApplicationName.ico »
endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// French (France) resources
if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
pragma code_page(1252)
ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
« resource.h\0 »
END
2 TEXTINCLUDE
BEGIN
« \0 »
END
3 TEXTINCLUDE
BEGIN
« \r\n »
« \0 »
END
endif // APSTUDIO_INVOKED
endif // French (France) resources
/////////////////////////////////////////////////////////////////////////////
ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
endif // not APSTUDIO_INVOKED
[/codesyntax]
Oculus
Pre Build
- Pause game while HMD is off/in Oculus menu
- UI must be framerate independant
- 90 fps experience on 970/AMD 920
- Unreal Integration – Unity Integration
- Oculus Recenter View must works. In 4.21 Unreal, if you have a camera in your pawn, it will recenter it to the ground. Fix this by manually placing the pawn using VRNotifications component
After Build
- Validation
- TestAudioOutput : Your application must provide audio sound at the start and you must shut all other sound (don’t play Youtube video while testing), otherwise the VRCValidator won’t be able to work properly!
- C:\Program Files\Oculus\Support\oculus-diagnostics\OculusDebugTool.exe > use Tools/Performance Profile+LostFrameCapture
- Delete OpenVR if Steam VR plugin has not been deactivated
- Upload
Vive
Just enable SteamVR plugin & publish to their store
Viveport
Simply publish your app. More information here :
https://developer.vive.com/resources/knowledgebase/viveport-docs-eng/
Optional, you can Install Viveport SDK
Laisser un commentaire