Hi good people,
I'm having a problem in figuring out how to set color effects on scene creation...
if using the following code the color matrix is not applied on the first render...
......
var view = new Marzipano.RectilinearView(sceneData.initialViewParameters, limiter);
var createSceneParams = {
source: source,
geometry: geometry,
view: view,
pinFirstLevel: true,
layerOpts: { effects: sceneEffects } // set color effects
};
var mzScene = $scope.viewer.createScene(createSceneParams);
$scope.switchScene(mzScene , 0);
.......
but after the scene is first showed and visible, if i run:
..........
scene.layer().setEffects(sceneEffects);
..........
the problem if i use the second version there will be a "glitch" where you see the image without color matrix applied and then after a few millisenconds you see the effects kicking in....
How can i garantee that the first scene is already showed using the color matrix?? what i'm i missing?
Thanks Rui.