Hi everyone, i’m having a very weird bug with stride model’s instancing. Basically i’m instancing a model and sending it to both a scene window and scene texture with the same camera. In scenewindow the model is instanciated correctly but in scene texture the model is not instanciated. (I tried to place the model directly inside the foreach and everything was working well but the framerate couldn’t keep up). I’m working with 6.3, i tried it in 6.5 but the problem just flipped and it wasn’t working on the scenewindow. I tried recreating the same situation in a new patch but i couldnt recreate the bug, anyone had a similar problem?
InstancingBug.vl (858.6 KB)
The assets are missing. But from a quick look, I would say that you could use the output of the SceneTexture and display that in the window, which would avoid rendering it twice and save a lot of performance…
Sorry,here’s the patch with the assets, by further tracking down the error i found out that one of the main causes of the problem is a switch linked to the rootscene, bypassing that switch makes everything work like a charm. I had the double scene setup because i needed to send a stream to another pc via ndi but at the same time controlling the scene on my pc( if there is another way that i’m not aware of to do that it would be great)
You can just use the InputSource of the window for the camera, you don’t need to render twice. See the pins of the camera node:
InputSource from Window.vl (15.8 KB)
Awesome, i didn’t know that. It fixed everything thanks a lot