Exploring the functionalities of the three.js library has been a fascinating journey for me. As I delve into the intricacies, I've come to understand that the coordinates stored in a mesh's geometry are tuples consisting of (x,y,z). However, beneath the surface, the graphics card utilizes tuples of (x,y,z,w) for affine transformations, encoding them into 4x4 matrices.
I'm curious, is it possible to explicitly store vertices as tuples of (x,y,z,w) in three.js?
My specific application requires that the value of w is not always 1. While I understand that (x,y,z,w) can be rescaled to make w=1, it is essential for me to store vertices as 4-tuples and have the ability to set all 4 coordinates.
Instead of delving into raw WebGL, I prefer to utilize the capabilities of three.js for this purpose.