Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Framebuffer Object vs. Vertex Buffer Objects  (Read 974 times)
0 Members and 1 Guest are viewing this topic.
Offline zFollette

Junior Devvie

Exp: 2 years

I like jokes

« Posted 2014-02-03 17:16:51 »

Ok, so when I was looking through tutorials on openGL, I was informed that VBO's were the most modern way of rendering things. Now I am hearing about FBO's, what are they?, and how do they compare to VBO's (performance wise)?

Humor will keep you alive.
Offline DavidW

Junior Devvie

Medals: 3
Exp: 7 years

« Reply #1 - Posted 2014-02-03 17:56:47 »

They are not the same thing.  I'll assume you already know what VBOs are. FBOs are basically used for if you want to render to someplace other than the screen.  For example. suppose you had a scene with a TV in it and you wanted to have some 3d characters on the TV.  So you could render the TV scene to a texture (using a FBO) and then render that texture on the TV. 

See this image here (just pulled from google image search):

Click to Play

So the teapot was rendered to a texture and then that texture was placed on a cube.  There are of course many other uses for FBOs, that's just a basic one.  Hope that helped!

Offline zFollette

Junior Devvie

Exp: 2 years

I like jokes

« Reply #2 - Posted 2014-02-03 19:34:43 »

So basically, frame buffer objects are used to render things into things that can be rendered by vertex buffer objects?

Humor will keep you alive.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline lcass
« Reply #3 - Posted 2014-02-03 19:53:42 »

They are like a mini perspective view that converts the 3d points into a set of 2d points that can be rendered.
Offline The Lion King
« Reply #4 - Posted 2014-02-03 20:21:13 »

A VBO is a buffer for vertices and other attribute data.
A FBO is a buffer for a frame.
The BO which may or may not be causing you confusion just stands for Buffer Object.
When you render, you render to a frame which is usually displayed in your window; however, you can just save this frame as data in a buffer (your FBO) and rather than display it on the screen you can use it for other purposes. 2 common ways are for color picking and for turning the frame into a texture and using it as such.

"You have to want it more than you want to breath, then you will be successful"
Pages: [1]
  ignore  |  Print  

EgonOlsen (1672 views)
2018-06-10 19:43:48

EgonOlsen (1709 views)
2018-06-10 19:43:44

EgonOlsen (1159 views)
2018-06-10 19:43:20

DesertCoockie (1585 views)
2018-05-13 18:23:11

nelsongames (1186 views)
2018-04-24 18:15:36

nelsongames (1709 views)
2018-04-24 18:14:32

ivj94 (2533 views)
2018-03-24 14:47:39

ivj94 (1758 views)
2018-03-24 14:46:31

ivj94 (2836 views)
2018-03-24 14:43:53

Solater (971 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!