Sun, 04/10/2022 - 03:02
Forums:
TCollection_AsciiString filename = QString("C:/Users/pathToPicture/sky.png").toStdString().c_str();
Graphic3d_CubeMapPacked cubeMap(filename);
m_view->SetBackgroundCubeMap(&cubeMap);
Produces following error:
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
Unable to get the first side of cubemap
Any idea what I am missing?
Thanks!
Sun, 04/10/2022 - 08:35
Wrong dimensions of (not attached) image "sky.png"?
Sun, 04/10/2022 - 18:21
sky.png seems to be ok.
is working correct.
Also tried differend file formats (jpg, png, bmp)
Sun, 04/10/2022 - 19:21
That's how cubemap image usually looks.
Mon, 04/11/2022 - 00:03
works!
Thanks!!
Edit:
For some reason the cube is up side down and mirrored?
BTW: Left and Right are both "+" in your picture ;)