22 Jun
2022
22 Jun
'22
2:27 p.m.
i wrote this much: class CoordFrame: def __init__(self): self.mat = np.array([1.0,0,0,0],[0,1.0,0,0],[0,0,1.0,0],[0,0,0,1.0]) there are 3 things i'm likely to want to do: - place something at a specific location - orbit the camera around the origin (to animate seeing a scene from multiple angles) - transform something to be relative to the camera's view it's also nice to write code so that the camera can look at a particular point what seems most important to start with is transforming something to be relative to the camera's view i'll need to put some coping energy into remembering how to do that i guess