This example requires a browser that supports the HTML5 <canvas> feature.

Querying World, View and Canvas-space origins

Querying node World, View and Canvas-space origins via a "rendered" event.

For each of these teapots we're listening to "rendered" events on their scene nodes, which report their centre points in various coordinate systems, along with the Model, View and Projection matrices that are applied to them.

Using the Canvas space centers, we can then float a DIV over each teapot on the canvas to report its center points.

Log

Teapot 1
Teapot 2
Teapot 3