Z+ = Forward, Y+ = Up, X+ = Right
//SceneView.cpp
void FViewMatrices::Init(const FMinimalInitializer& Initializer);
// first 3 rows of ViewRotationMatrix| Begin Object Class=/Script/UnrealEd.MaterialGraphNode_Root Name="MaterialGraphNode_Root_0" ExportPath="/Script/UnrealEd.MaterialGraphNode_Root'/Engine/Transient.M_Text2:MaterialGraph_0.MaterialGraphNode_Root_0'" | |
| Material="/Script/UnrealEd.PreviewMaterial'/Engine/Transient.M_Text2'" | |
| NodePosX=1392 | |
| NodePosY=-944 | |
| NodeGuid=0CB8AE394F5AB71F5CD07E978E95DA32 | |
| CustomProperties Pin (PinId=44BE94B442E53906CB0A20A5DB4455EF,PinName="Base Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="5",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,PinType.bSerializeAsSinglePrecisionFloat=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,) | |
| CustomProperties Pin (PinId=682922C94E24 |
| // new basis X Y Z to place the camera so that it's a left handed Y-UP Z-Forward system | |
| const Eigen::Vector3f cubemapFaceDirections[6][3] = { | |
| {{0, 0, 1}, {0, -1, 0}, {-1, 0, 0}}, // negx | |
| {{0, 0, 1}, {0, -1, 0}, {1, 0, 0}}, // posx | |
| {{1, 0, 0}, {0, 0, -1}, {0, -1, 0}}, // negy | |
| {{1, 0, 0}, {0, 0, 1}, {0, 1, 0}}, // posy | |
| {{-1, 0, 0}, {0, -1, 0}, {0, 0, -1}}, // negz | |
| {{1, 0, 0}, {0, -1, 0}, {0, 0, 1}}, // posz | |
| }; |
| if you keep getting "Unknown SID" | |
| Add "X-WebChannel-Content-Type": "application/json+protobuf" header in chooseServer request | |
| see | |
| https://github.com/pykeio/brainrot/blob/6419dc9417fe77bc17d62c431e486cb7643d3008/src/youtube/signaler.rs#L105 |