Section 4 operator and Trackball

After the article was published, you have many questions, and I found some very basic. If you ask me to talk more carefully, I'll start again and write more carefully. Although you don't need to look at the code, you may still want to have a comparison when talking about the code. The author uses version 3.6.5, which I have uploaded to Baidu on ...

Posted by kf on Sat, 22 Jan 2022 02:05:16 +0100

OSG data loading performance optimization: texture compression

1. Theoretical knowledge As we all know, texture storage is RGBA. If these four numbers are not compressed, the storage space occupied by them is quite large. Each channel is calculated by 0 ~ 255 bytes, a pixel RGBA is 4 bytes, and a picture as large as 1024x1024 will occupy 1024x1024x4=4M. If it is not compressed, a GPU can only store 1024 1 ...

Posted by ubuntu-user on Fri, 21 Jan 2022 19:30:20 +0100

Section 31 AutoCAD operator - orthogonal operator

function This section simulates an AutoCAD operator. It is found that many netizens are using OSG to do CAD related operations, and there are many problems about using orthogonal operators. The functions of this paper are as follows: Draw a wireframe as the backgroundOrthogonal projectionWith the mouse wheel up and down, you can zoom in a ...

Posted by corylulu on Fri, 24 Dec 2021 23:50:16 +0100