x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Where in the C++ source is splitscreen implemented?

Pretty much what the question is asking. I'm trying to render two viewports simultaneously in a singleplayer game, and I figure this would be a good place to start looking.

Product Version: Not Selected
Tags:
more ▼

asked Jun 10 '14 at 10:35 PM in C++ Programming

avatar image

James Ordner
382 16 17 25

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Viewport classes ofcorse :p

Aspecially UGameViewportClient

more ▼

answered Jun 10 '14 at 11:30 PM

avatar image

Shadowriver
35.8k 927 169 1105

avatar image James Ordner Jun 11 '14 at 06:11 PM

Ah, very logical place! lol. I'm just beginning to delve into the engine code, it's quite a complex beast. Thanks for the push in the right direction.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

So you dont have to search ;)

The code to create custom splitscreen viewports can be found here: 'Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h' 'Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp' 'Engine/Source/Runtime/EngineSettings/Classes/GameMapsSettings.h'

more ▼

answered Dec 29 '14 at 12:54 PM

avatar image

Eduard Gotwig
156 12 17 43

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi, please visit the "iLocalPlayer" UE4 C++ Plugin: https://www.unrealengine.com/marketplace/ilocalplayer; Functions of this plugin :1. Side-by-Side Stereo 3D implementing; 2. Asymmetric projection(or named asymmetric view frustum) implementing.

Hope this helps you.

more ▼

answered Jul 20 '17 at 05:14 PM

avatar image

YeHaike
1 4 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question