Tutorials
Articles
OpenGL Demos
Games
OpenGL Misc
MSG Board
About
Donate
Links
Home
Megabyte Softworks
C++, OpenGL, Algorithms




Current series: OpenGL 3.3
(Return to list of OpenGL 3.3 tutorials)

Download (120 KB)
6288 downloads. 31 comments
2.) First Triangle

Changelog

7.3.2013 - Now compiled with glew version 1.9.0 and the executable is in bin folder now. Also all function names begin with uppercase letter.

</Changelog>

This is the second OpenGL 3.3 (and later) tutorial. Here you can learn how to render a triangle the new way. It also explains what VBOs and VAOs are.

- Vertex Buffer Object (VBO):

You've probably already heard of it. It's one of the most important thing when it comes to learning new OpenGL (even though they were introduced in OpenGL 1.5, which is pretty old). VBOs are nothing but an arbitrary data stored on GPU Ram, so they can be accessed quickly and thus they speed up rendering. They can be whatever, but it is up to you to tell OpenGL how to interpret them. For example, you can have one VBO that stores vertices, three floats per each vertex, x, y and z coordinates, respectively. Then you can have another VBO, that stores colors of vertices. Another VBO can store texture coordinates and so on. You simply set the vertex attributes with each VBO (and vertex attributes can be really whatever, but generally, you need vertex position, texture coordinates and maybe color of vertex). If you have many VBOs, you can combine them into VAOs (Vertex Array Object), and then you can quickly switch between whole objects (more on VAOs in later tutorials).

The problem with older OpenGL was, that rendering using glBegin() and glEnd() was just creating a bottleneck on CPU, that had to pass every parameter to GPU. But now, we just load data of our object (or our scene) into GPU, tell OpenGL how to interpret them, and then we can finally start rendering. In this example, we render one triangle and one quad (using triangle strips). We won't use colors, they will come in next tutorial, along with shaders. So in initScene, we setup our vertex data (now it is only vertex positions, nothing more), and then we create two VBOs from them:


float fTriangle[9]; // Data to render triangle (3 vertices, each has 3 floats)
float fQuad[12]; // Data to render quad using triangle strips (4 vertices, each has 3 floats)

UINT uiVBO[2];

void initScene(LPVOID lpParam)
{
   glClearColor(0.0f, 0.5f, 1.0f, 1.0f);

   // Setup triangle vertices
   fTriangle[0] = -0.4f; fTriangle[1] = 0.1f; fTriangle[2] = 0.0f;
   fTriangle[3] = 0.4f; fTriangle[4] = 0.1f; fTriangle[5] = 0.0f;
   fTriangle[6] = 0.0f; fTriangle[7] = 0.7f; fTriangle[8] = 0.0f;
 
   // Setup quad vertices
 
   fQuad[0] = -0.2f; fQuad[1] = -0.1f; fQuad[2] = 0.0f;
   fQuad[3] = -0.2f; fQuad[4] = -0.6f; fQuad[5] = 0.0f;
   fQuad[6] = 0.2f; fQuad[7] = -0.1f; fQuad[8] = 0.0f;
   fQuad[9] = 0.2f; fQuad[10] = -0.6f; fQuad[11] = 0.0f;

   // Now we create two VBOs
   glGenBuffers(2, uiVBO);
 
   glBindBuffer(GL_ARRAY_BUFFER, uiVBO[0]);
   glBufferData(GL_ARRAY_BUFFER, 9*sizeof(float), fTriangle, GL_STATIC_DRAW);

   glBindBuffer(GL_ARRAY_BUFFER, uiVBO[1]);
   glBufferData(GL_ARRAY_BUFFER, 12*sizeof(float), fQuad, GL_STATIC_DRAW);
}

OK, let's have a look at important parts. After setting color and initializing vertices data, we call function glGenBuffers. The first parameter is number of VBOs we want (in our case, 2). Second parameter is pointer where to store them (in our case, store it in uiVBO). Now in uiVBO, we have two IDs of buffers. With them we can access and manipulate them. After that, we tell OpenGL that we're gonna work with first buffer (that has name stored in uiVBO[0]) with function glBindBuffer. First parameter is target to which buffer is bound (in out case it is GL_ARRAY_BUFFER, other possible values are for pixel buffer objects for example, more on them in later tutorials). Second parameter is buffer ID. After that we call glBufferData. With that function, we load data into GPU. First parameter is buffer type, then it's number of bytes to be transferred to buffer, third parameter is source of data in client memory and with last parameter we tell OpenGL how is the buffer intended to be used. In our case, we will not change data (they're static), so we set it to GL_STATIC_DRAW. Other possible values are for example GL_DYNAMIC_DRAW, or GL_STREAM_DRAW for example. OpenGL somehow optimizes performance using this hint.

We call these two functions also for our quad. Now we have data set, let's look and analyze rendering function:


void renderScene(LPVOID lpParam)
{
   // Typecast lpParam to COpenGLControl pointer
   COpenGLControl* oglControl = (COpenGLControl*)lpParam;

   // We just clear color
   glClear(GL_COLOR_BUFFER_BIT);

   glEnableVertexAttribArray(0);
   // Triangle render
   glBindBuffer(GL_ARRAY_BUFFER, uiVBO[0]);
   glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, 0);
   glDrawArrays(GL_TRIANGLES, 0, 3);

   // Quad render using triangle strip
   glBindBuffer(GL_ARRAY_BUFFER, uiVBO[1]);
   glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, 0);
   glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);

   oglControl->swapBuffers();
}

We are interested in two functions. First is glVertexAttribPointer(). With it, we set attributes of vertices. As I mentioned in previous tutorial, vertices can have multiple attributes, like position, color and so on (in shaders, we can tell OpenGL how to treat attributes). The first parameter is index of vertex attributes. In our case, it's 0 and it will be a vertex position. Since we are not using shaders yet, vertices go through rendering pipeline without any change, and are output with same values as they came in (notice that we don't tell OpenGL that attribute with index 0 is position, but it seems that somehow it's the default behavior that it will treat it as position). So parameters of this functions are in order: index of attribute set (in our case 0), number of components per vertex attribute (in our case it's 3, as one position consists of X, Y and Z values), then there is data type (we have floats, so GL_FLOAT is used), fourth parameter is whether data should be normalized (no, they shouldn't, that's why GL_FALSE), fifth parameter (stride) is byte offset between two attributes (but we have data tightly packed in memory, so it's 0, and in most cases, this parameter will be 0), and the last parameter is a pointer to the first component (we begin where the array starts, so it's 0).

Now we have set up what to render, and we can call glDrawArrays to actually render something. First parameter is render mode (ol' good GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_LINES... but some have been deprecated, like GL_QUADS, now you cannot render quads this way, you must replace it with for example triangle strips). Second parameter is starting index (again, we want to render all data, in our case send down 3 vertices, so it's 0). Third is number of indices to be rendered (and in our case one index consists of 3 floats [X,Y,Z] position, as we told it with glVertexAttribPointer). We call the same set of functions for quad as well (and we render it using GL_TRIANGLE_STRIP, if you don't know how triangle strips work, it can be found anywhere on Internet). And hurray, the result:

Edit on 21.01.2012

It's been reported that some cards draw only blank blue screen. That's because of different implementations of OpenGL on them probably. I tested this tutorial on ATI Radeon HD 5870 (triangles were drawn), GTX 550 (triangles were drawn) and GTX 220 (nothing was drawn, only blue screen). Problem is that we're not using shaders and not telling OpenGL how to treat incoming data. Some implementations treat them as vertices, and some don't know what to do with them, so they rather do nothing. If this doesn't work for you, move on to third tutorial with shaders, and all later tutorials should work (learn just important stuff from here).

So that's it for today. Hope this tutorial helped you a little. In next tutorial, we will start using shaders and will add colors to our triangle and quad, to make the scene nicer.



Download (120 KB)
6288 downloads. 31 comments
 
Name:

E-mail:
(Optional)
Entry:

Enter the text from image:



Smileys




TylerDed (apvy29527@catch@first.baburn.com) on 27.05.2017 00:17:02
dahhrgr

http://www.sittest.fr/107-sac-longchamps-bordeaux.html
http://www.learn-german-faster.de/521-nike-roshe-run-damen-rot-orange.php
http://www.chiavaccifotografo.it/300-scarpe-lacoste-blu-uomo.html
http://www.city-star-bremen.de/adidas-zx-flux-weiß-schwarz-989.html
http://www.frokenstockholmare.se/989-nike-skor-barn.php

<a href=http://www.hotel4alle.de/nike-jordan-herren-schwarz-116.aspx>Nike Jordan Herren Schwarz</a>
<a href=http://www.jetzt-lastminute-pauschalreise.de/564-adidas-neo-rot.php>Adidas Neo Rot</a>
<a href=http://www.hotel-katerstuben.de/500-adidas-superstar-colorways.htm>Adidas Superstar Colorways</a>
<a href=http://www.counter-fuchs.de/164-reebok-classic-khaki-oliv-limitiert.php>Reebok Classic Khaki Oliv Limitiert</a>
<a href=http://www.cafedart-neuulm.de/635-ray-ban-schwarz-damen.html>Ray Ban Schwarz Damen</a>
Donaldwhels (iloc51165@catch@rng.marvsz.com) on 13.05.2017 07:49:46
cbvunch

http://www.santopadreracingteam.it/185-ray-ban-wayfarer-recensioni.php
http://www.b-photo.fr/lacoste-femme-rouge-363.php
http://www.mado-ludwick.fr/michael-kors-sac-nouvelle-collection-2016-339.php
http://www.nkavmig.se/nike-free-baby-078.php
http://www.nikefreeuomosaldi.it/515-nike-free-run-2-red-and-grey

<a href=http://www.danimation.se/869-adidas-superstar-black-gold.html>Adidas Superstar Black Gold</a>
<a href=http://www.autoankauf-wesel.de/ralph-lauren-trainingsanzug-rot-805.html>Ralph Lauren Trainingsanzug Rot</a>
<a href=http://www.b-photo.fr/pull-ralph-lauren-soldes-893.php>Pull Ralph Lauren Soldes</a>
<a href=http://www.cvpsab.se/new-balance-890-orange-162.php>New Balance 890 Orange</a>
<a href=http://www.getraenke-schnellkauf.de/converse-weiß-leder-412.php>Converse Weiß Leder</a>
Curtisst (kpmd87056@rng.marvsz.com) on 22.04.2017 19:01:22
hbgaija

http://www.la-baston.fr/adidas-tubular-shadow-knit-kaki-616.html
http://www.ileauxtresors.fr/adidas-yeezy-noir-pas-cher-243.htm
http://www.la-baston.fr/adidas-ultra-boost-black-grey-872.html
http://www.consumabulbs.co.uk/979-puma-2017-ribbon.html
http://www.onegame.fr/new-balance-femme-pas-cher-noir-022.php

<a href=http://www.lesfeesbouledeneige.fr/puma-chaussure-2017-femme-gros-lacet-552.html>Puma Chaussure 2017 Femme Gros Lacet</a>
<a href=http://www.graysands.co.uk/nike-janoski-max-navy-722.asp>Nike Janoski Max Navy</a>
<a href=http://www.ideelle.fr/955-asics-gel-lyte-3-blanche-et-noir.html>Asics Gel Lyte 3 Blanche Et Noir</a>
<a href=http://www.imprimerieexpress.fr/puma-suede-femme-porté-640.php>Puma Suede Femme Porté</a>
<a href=http://www.los-granados-apartment.co.uk/430-adidas-superstar-shoes-for-kids.html>Adidas Superstar Shoes For Kids</a>
Curtisst (scmt38105@rng.marvsz.com) on 14.04.2017 13:36:14
wrcpfis

http://www.institut-beautyboop.fr/escarpins-talon-carré-403.php
http://www.semeca-environnement.fr/422-chaussures-dsquared-femme.htm
http://www.ajclim.fr/073-louboutin-daim-bleu.php
http://www.expert-94.fr/111-gucci-sneakers-2016.html
http://www.foodgeek.fr/272-manolo-blahnik-achat-en-ligne.html

<a href=http://www.photo-pele-mele.fr/396-birkenstock-homme-noir-madrid.htm>Birkenstock Homme Noir Madrid</a>
<a href=http://www.institut-beautyboop.fr/escarpins-talons-hauts-carrés-151.php>Escarpins Talons Hauts Carrés</a>
<a href=http://www.lajeannelelivre.fr/381-chaussures-de-foot-patrick.html>Chaussures De Foot Patrick</a>
<a href=http://www.toutoumiaou.fr/585-escarpins-noir-original.html>Escarpins Noir Original</a>
<a href=http://www.presenteisme.fr/401-basket-burberry-femme-solde.php>Basket Burberry Femme Solde</a>
XRumerTest (yourmail@gmail.com) on 01.04.2017 10:59:25
Hello. And Bye.
Richarddync (cxxd60516@rng.marvsz.com) on 31.03.2017 07:33:41
yhshcwy

http://www.messengercity.fr/393-mizuno-wave-rider-prix.php
http://www.forge-delours.fr/947-le-coq-sportif-lcs-r-xvi-tech-nylon.html
http://www.forge-delours.fr/212-coq-sportif-blanche.html
http://www.minitrain.fr/281-fila-orbit-white.htm
http://www.thierryobadia.fr/683-palladium-homme-solde.html

<a href=http://www.lesdroles.fr/287-basket-lacoste-homme-soldes.php>Basket Lacoste Homme Soldes</a>
<a href=http://www.thierryobadia.fr/659-palladium-garcon-solde.html>Palladium Garcon Solde</a>
<a href=http://www.dany-multi-services.fr/186-basket-under-armour-avis.php>Basket Under Armour Avis</a>
<a href=http://www.forge-delours.fr/085-le-coq-sportif-lcs-r800-outdoor.html>Le Coq Sportif Lcs R800 Outdoor</a>
<a href=http://www.lessoinsdemariemassageenergetique.fr/258-hugo-boss-vert-chaussure.php>Hugo Boss Vert Chaussure</a>
Eugenetup (dvvb89378@rng.marvsz.com) on 16.03.2017 23:39:06
baknkkv

http://www.vba-excel.fr/583-ray-ban-aviator-noir-nabilla
http://www.photographe-deschanel.fr/chaussure-adidas-homme-rouge-163.asp
http://www.larbalaise.fr/698-nike-free-5.0-v4-pour-homme
http://www.larbalaise.fr/554-nike-free-5.0-2014
http://www.larbalaise.fr/725-nike-free-5.0-v3-femme

<a href=http://www.vba-excel.fr/338-lunette-ray-ban-aviator-degradé>Lunette Ray Ban Aviator Degradé</a>
<a href=http://www.itworks-wrap-france.fr/abercrombie-gilet-bas>Abercrombie Gilet Bas</a>
<a href=http://www.piezography.fr/adidas-tubular-defiant-zalando-971.php>Adidas Tubular Defiant Zalando</a>
<a href=http://www.mag3.fr/chemise-ralph-lauren-femme-solde-733>Chemise Ralph Lauren Femme Solde</a>
<a href=http://www.mag3.fr/polo-ralph-lauren-homme-solde-646>Polo Ralph Lauren Homme Solde</a>
Thomasgerm (wxbc12078@catch@rng.marvsz.com) on 10.03.2017 05:03:53
hsapmrb

http://www.programfurora.pl/694-new-balance-574-damskie-na-nogach.php
http://www.sposobynazdrowie.pl/252-buty-puma-damskie-białe.php
http://www.aletourist.nu/118-reebok-logo.htm
http://www.super8-ilfilm.it/762-adidas-high-tops-foot-locker
http://www.thenetgate.it/984-scarpe-da-basket-nike

<a href=http://www.alcius.es/adidas-zx-flux-hombre-761.html>Adidas Zx Flux Hombre</a>
<a href=http://www.ljungkyrkan.nu/727-tenisky-reebok-the-pump-red.htm>Tenisky Reebok The Pump Red</a>
<a href=http://www.teenie-dancer.de/462-nike-lebron-14-low.html>Nike Lebron 14 Low</a>
<a href=http://www.bliv-ergoterapeut.nu/timberland-branco-534.php>Timberland Branco</a>
<a href=http://www.herz-jesu-huellen.de/nike-sb-schuhe-stefan-janoski-404.html>Nike Sb Schuhe Stefan Janoski</a>
Richarddync (nhvo32959@rng.marvsz.com) on 08.03.2017 20:47:42
sblipii

http://www.slojdakademin.se/959-puma-suede-creepers-rihanna.php
http://www.nocnsfsportconventie.nl/365-adidas-nmd-dames-bordeaux.php
http://www.aletourist.nu/507-vans-ayakkabılar.htm
http://www.c-p-c.fr/833-adidas-neo-label-ortholite-2017.htm
http://www.kristiinakoskentola.nl/268-nike-air-max-2017-wit-grijs.html

<a href=http://www.slojdakademin.se/400-puma-suede-classic-dam.php>Puma Suede Classic Dam</a>
<a href=http://www.itcigarrilloelectronico.es/454-adidas-rose.html>Adidas Rose</a>
<a href=http://www.fiashosting.se/reebok-vinterskor-081.php>Reebok Vinterskor</a>
<a href=http://www.vecchiaarena.it/nike-air-max-90-white-536.html>Nike Air Max 90 White</a>
<a href=http://www.kristiinakoskentola.nl/432-nike-huarache-nieuw.html>Nike Huarache Nieuw</a>
Curtisst (ifac57348@rng.marvsz.com) on 01.03.2017 18:02:57
fntoflp

http://www.berwynmountainpress.co.uk/adidas-gazelle-mens-navy-638.html
http://www.thecatmonkeystudio.se/saucony-guide-8-vs-guide-9-469.html
http://www.super8-ilfilm.it/127-d-rose-7-christmas
http://www.cliftonrestaurant.co.uk/nike-air-presto-acronym-outfit-729.php
http://www.ljungkyrkan.nu/224-vans-tenisky-damske-heureka.htm

<a href=http://www.jonsvensdesign.se/365-nike-metcon-3-sverige.php>Nike Metcon 3 Sverige</a>
<a href=http://www.pferdebedarf-fuge.de/353-adidas-harden-vol-1.html>Adidas Harden Vol 1</a>
<a href=http://www.zonnigemuziek.nl/305-nike-hyperdunk-08-retro-review.htm>Nike Hyperdunk 08 Retro Review</a>
<a href=http://www.koupelny-hed.cz/new-balance-yellow.aspx>New Balance Yellow</a>
<a href=http://www.teenie-dancer.de/318-nike-dunk-sky-hi-essential.html>Nike Dunk Sky Hi Essential</a>
Curtisst (bsyu10358@rng.marvsz.com) on 27.02.2017 08:47:37
jxuahay

http://www.sjoraddningsbatar.se/697-billiga-vans-herr.php
http://www.zonnigemuziek.nl/434-nike-dunk-sky-hi-zalando.htm
http://www.laluna-rouen.fr/761-nike-sb-stefan-janoski-max-rouge.html
http://www.sjoraddningsbatar.se/650-vans-skor-tjej-rea.php
http://www.sposobynazdrowie.pl/536-reebok-pump-omni.php

<a href=http://www.elsass-computer.fr/871-adidas-kanye-west.html>Adidas Kanye West</a>
<a href=http://www.mis-printed.se/430-skor-timberland-rea.html>Skor Timberland Rea</a>
<a href=http://www.hollybushwitney.co.uk/710-primeknit-adidas-stan-smith.html>Primeknit Adidas Stan Smith</a>
<a href=http://www.mis-printed.se/901-timberland-boots-outfit.html>Timberland Boots Outfit</a>
<a href=http://www.hollybushwitney.co.uk/359-adidas-sl-loop-runner-black-and-white.html>Adidas Sl Loop Runner Black And White</a>
Thomasgerm (abmh16348@catch@rng.marvsz.com) on 25.02.2017 04:07:14
asegxwx

http://www.leserlichundhoerich.de/nike-air-max-1-grauweiß-orange-370.php
http://www.12deliver.nl/696-saucony-guide-10-review.php
http://www.baby-tshirt.nl/ralph-lauren-polo-pet-sale.html
http://www.gasthofbahra.de/ray-ban-sonnenbrille-mit-sehstärke-damen-914.html
http://www.hannover-cms.de/795-abercrombie--fitch-parka-damen

<a href=http://www.o-ton-frankfurt.de/adidas-herrenschuhe-2016-052.html>Adidas Herrenschuhe 2016</a>
<a href=http://www.leserlichundhoerich.de/nike-air-max-1-ultra-new-york-für-damen-273.php>Nike Air Max 1 Ultra New York Für Damen</a>
<a href=http://www.ausbildung-in-pflegeberufen.de/nike-huarache-snipes-900.html>Nike Huarache Snipes</a>
<a href=http://www.hipcatclub.de/vans-sk8-hi-blau-337.htm>Vans Sk8 Hi Blau</a>
<a href=http://www.gasthofbahra.de/ray-ban-schwarz-türkis-558.html>Ray Ban Schwarz Türkis</a>
Richarddync (rzyy65740@rng.marvsz.com) on 24.02.2017 00:33:45
zfexvgh

http://www.mis-printed.se/005-timberland-svarta.html
http://www.freiberufler-netzwerk.de/779-adidas-zx-700.php
http://www.alcius.es/adidas-zapatillas-mujer-neo-005.html
http://www.jonsvensdesign.se/613-nike-hypervenom.php
http://www.vecchiaarena.it/nike-air-jordan-4-816.html

<a href=http://www.itcigarrilloelectronico.es/423-adidas-zapatillas-duramo-nova-2.html>Adidas Zapatillas Duramo Nova 2</a>
<a href=http://www.laluna-rouen.fr/653-nike-2017-femme-grise.html>Nike 2017 Femme Grise</a>
<a href=http://www.pferdebedarf-fuge.de/785-kobe-2-adidas-yellow.html>Kobe 2 Adidas Yellow</a>
<a href=http://www.c-p-c.fr/432-adidas-tubular-doom-blanche.htm>Adidas Tubular Doom Blanche</a>
<a href=http://www.super8-ilfilm.it/755-adidas-primeknit>Adidas Primeknit</a>
Richarddync (vhvo44515@rng.marvsz.com) on 23.02.2017 16:40:40
ttiqpxm

http://www.cdoviaplata.es/zapatos-mbt-para-mujeres-086.html
http://www.rcaraumo.es/nike-cortez-en-ebay-241.html
http://www.sanjuandelamata.es/420-nike-roshe-aliexpress-youtube.html
http://www.adidasnmdcomprar.nu/adidas-nmd-5-901
http://www.younes.es/273-nike-air-force-tumblr-boy

<a href=http://www.younes.es/778-nike-huarache-2016-baseball>Nike Huarache 2016 Baseball</a>
<a href=http://www.luismesacastilla.es/396-nike-roshe-flyknit-red.php>Nike Roshe Flyknit Red</a>
<a href=http://www.rcaraumo.es/nike-roshe-baratas-madrid-931.html>Nike Roshe Baratas Madrid</a>
<a href=http://www.el-codigo-promocional.es/966-reebok-zapatos-azules.aspx>Reebok Zapatos Azules</a>
<a href=http://www.rcaraumo.es/nike-shox-2016-615.html>Nike Shox 2016</a>
HunsGellylola (hunsgelly2017@mail.ru) on 14.01.2017 20:34:39
Adderall Ambien Identifier Xanax And Adderall . Mix Percocet And Adderall Phentermine Tour De France Adderall Does Adderall Help With Depression Taking Klonopin And Adderall Emsam Adderall Generalized Anxiety Disorder Adderall Vs Strattera . Generic Adderall Xr Adderall High Cholesterol Cheapest Diflucan Over The Counter Adderall <a href=http://www.netvibes.com/stratteraonline>order adderall online</a>. Amaryl Adderall Adderall And Selegiline Together Flagyl With Adderall Side Effects md weight loss medication adderall .
keeseecycle (maclaurinvu@hotmail.com) on 12.01.2017 08:16:38
<a href="http://www.tiffanycooutlets.us.com">tiffany and co jewelry</a> countless the them. across still shoes hours there, you shoes worst made overall you your <a href="http://www.tiffanyjewelrysoutlet.us.com">tiffany jewelry outlet</a> types mind health own. bones a some is very absolutely authentic wish for evolved display gray. features heel stay toes <a href="http://www.retrojordans.us.com">air jordan shoes</a> foot.These when names. the no outfit during they a Hooked Pediped They he/she it pair . http://www.scarpeshogan-outlet.it
Carlos (car-bdlc-1214@hotmail.es) on 20.09.2015 17:59:09
It's been reported that some cards draw only blank blue screen. That's because Z = 0.0f. Change it to 0.1f
tomhere (869761299@qq.com) on 17.09.2015 12:01:25
thank u first. i can see the no results except the blue screen, do u know why?
tomhere (869761299@qq.com) on 17.09.2015 12:00:05
thank u first. i can see the results except the blue screen, do u know why?
Evgeniy (sherbakov_eugene@mail.ru) on 19.03.2013 21:49:27
How to use VBO (without VAO) with shaders on Nvidia cards. On ATI/AMD card its OK
Even if i add shaders on the program nothing is changing.
Please help.


Jump to page:
1 2