There is a period of time when developing a new renderer and you decide to make the move from 2D to 3D. You submit your 3D draws. Nothing. Black screen. Make a change. See a flicker. Keep changing things. Eventually you shake it enough to start seeing something.
5. Disable backface culling. Disable depth testing. Disable stencil testing. Remove absolutely anything that would prevent pixels from being drawn on screen. Once you can see it, you can begin bringing those in one at a time.
-
-
6. When drawing your first object, make it a tetrahedron. The verts/indices are easy to generate. They can be figured out in your head and hardcoded without too much trouble. If you draw a quad, you might look at it on side and not see it. A cube works too I guess.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.