OpenSceneGraph: Encapsulating an OpenGL state machine
3r31293. 3r3-31. 3r31278. 3r31293. 3r31270. The introduction of 3r31271. 3r31278. 3r31293. As a rule, when working with rendering parameters, OpenGL acts as a state machine. A rendering state is a collection of state attributes, such as light sources, materials, textures, and display modes, turned on and off with glEnable () and glDisable (). When you set a specific state, it is valid until some other function changes it. The OpenGL pipeline supports a state stack to save and restore states at any time. The state machine provides the developer with full control over the current and stored states of the rendering. 3r31278. 3r31293. 3r31278. 3r31293. However, this approach is inconvenient when working with OSG. For this reason, the OpenGL state machine is encapsulated by the osg :: StateSet class, which takes over operations to work with the state stack and its installation in the process of traversing the scene graph. 3r31278. 3r31293. here . Thank you, dear colleagues, I will try so that this story has a sequel 3r312389. 3r31293. 3r31293. 3r31293. 3r31286. ! function (e) {function t (t, n) {if (! (n in e)) {for (var r, a = e.document, i = a.scripts, o = i.length; o-- ;) if (-1! == i[o].src.indexOf (t)) {r = i[o]; break} if (! r) {r = a.createElement ("script"), r.type = "text /jаvascript", r.async =! ? r.defer =! ? r.src = t, r.charset = "UTF-8"; var d = function () {var e = a.getElementsByTagName ("script")[0]; e. ): d ()}}} t ("//mediator.mail.ru/script/2820404/"""_mediator") () (); 3r31287.
3r31289. 3r31293. 3r31293. 3r31293. 3r31293.
It may be interesting
weber
Author20-11-2018, 02:30
Publication DateProgramming / Game development
Category- Comments: 0
- Views: 250
https://iptvbeast.net/