VR+ panoramic player + head control explain -07

VR+ panorama player + head control on the -01-
knowledge VR+ panorama player + head control on the -02-
VR+ to create a sphere panorama player + head control on the -03-
VR+ rendering video panorama player + head control on the -04-
VR+ panoramic sliding gestures player + head control on the -05- screen
VR+ telescopic panorama player + head control on -06- the head of
control to achieve VR+ panorama player + head control on the -07- split screen technology

Learning objectives

How to realize split screen

Implementation ideas

Create about two SCNView set its layer is equal to renderView layer contents, so you can achieve sub screen

The code is as follows

Self.rightView [[SCNView = alloc]init]; self.leftView = [[SCNView alloc]init]; [self addSubview:self.rightView]; [self addSubview:self.leftView]; self.rightView.hidden = true; self.leftView.hidden = true; self.rightView.playing = true; self.leftView.playing = true; self.leftView.layer.contents = self.renderView.layer.contents; self.rightView.layer.contents = self.renderView.layer.contents;

Then add a little bit of knowledge, how to achieve the video path

[self.renderNode setFilters:filters];

@property (nonatomic, copy, nullable) NSArray< CIFilter *> *filters API_AVAILABLE (MacOSX (10.9)) node property

To readers

Panorama player of all the knowledge points and the realization of the method has been fully explained, where you do not know how to leave a message below
a few renderings

VR+ panoramic player + head control explain -07
VR mode
VR+ panoramic player + head control explain -07
panorama mode
VR+ panoramic player + head control explain -07
head switch demo

This section explains the completion of
SceneKit Chinese tutorial

Code address in view