Standard practice with Buffer Objects?

  • Follow


Hi,
  I am writing a flight simulator in opnegl -- I am improving my
Terrain Generator and I am confronted with a design decision:

I (as many I am sure) generate a terrain from a height map which is an
image. The whiter the pixel the higher in elevation.
I have implemented a VBO (Vertex Buffer Object) for Triangle_Strip,
and I am not sure if I should add to the buffer the Normals. Would
there be a point as they are pre-calculated? Would the only point be
to alter them (ie: bump mapping)? I suppose I could add texture co-
ordinates.

Does anyone know standard practice in openGL of how much to add to the
Buffers to help computation (ie: traffic flow) since Buffer Objects
are stored graphics card side.

Thanks so much.
0
Reply msj242 (1) 7/21/2008 11:33:29 PM

On Jul 22, 1:33=A0am, Matthew Jackson <msj...@gmail.com> wrote:
>
> Does anyone know standard practice in openGL of how much to add to the
> Buffers to help computation (ie: traffic flow) since Buffer Objects
> are stored graphics card side.
>

Add everything.

--
<\___/>
/ O O \
\_____/  FTB.     Remove my socks for email address.
0
Reply fungus 7/23/2008 12:37:08 PM


On Jul 23, 8:37=A0am, fungus <openglMYSO...@artlum.com> wrote:
> On Jul 22, 1:33=A0am, Matthew Jackson <msj...@gmail.com> wrote:
>
>
>
> > Does anyone know standard practice in openGL of how much to add to the
> > Buffers to help computation (ie: traffic flow) since Buffer Objects
> > are stored graphics card side.
>
> Add everything.
>
> --
> <\___/>
> / O O \
> \_____/ =A0FTB. =A0 =A0 Remove my socks for email address.

Alright, Thanks.
0
Reply Matthew 7/28/2008 10:17:05 PM

"Matthew J" <msj121@hotmail.com> wrote in message 
news:2ee79540-ef6d-4040-81ae-6d74b87b2aa9@e39g2000hsf.googlegroups.com...
On Jul 23, 8:37 am, fungus <openglMYSO...@artlum.com> wrote:
> On Jul 22, 1:33 am, Matthew Jackson <msj...@gmail.com> wrote:
>
>
>
> > Does anyone know standard practice in openGL of how much to add to the
> > Buffers to help computation (ie: traffic flow) since Buffer Objects
> > are stored graphics card side.
>
> Add everything.
>
> --
> <\___/>
> / O O \
> \_____/ FTB. Remove my socks for email address.

> Alright, Thanks.


Yeah, well, unless you can't.  It's next to impossible to find a large 
contiguous chunk of address space under Windows into which you can map a 
large buffer, due to a terrible design flaw. Good luck.

jbw 


0
Reply jbwest 7/29/2008 2:47:30 AM

3 Replies
153 Views

(page loaded in 0.036 seconds)

Similiar Articles:













7/26/2012 3:57:22 PM


Reply: