It looks like you're new here. If you want to get involved, click one of these buttons!
I am attempting to get an Xfo to face the camera and it sort of works, but it doesn't update when the camera moves.
In the graph, I'm using the equivalent of the following to retrieve the viewport matrix:
The output from the above is converted to an Xfo and piped into the transform input of a DrawPolygonMesh.
The result is unpredictable. It seems that the initial pull [possibly] generates the correct transform, but after that there is no update. I've slaved a box to the camera, for debugging purposes, but when the camera moves the box does not follow. I'm reporting the matrix returned from the getCurrentViewportParams().getMat44() call. When the camera moves it does not generate a pull on the network, and the graph is not evaluated. If I force the graph to evaluate by changing another port value I am not seeing the matrix update as I expect. It is always coming back with the initial values.
Is there a way to do what I am attempting?
©Copyright 2017 Fabric Software Inc. All rights reserved. | Privacy