|
|
Standard practice with Buffer Objects?
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: the maximum memory size allowed in malloc - comp.lang.c... like a totally artificial requirement, what in the standard requires objects of 64KB?). > In practice most ... vmstat, freememory, sharedmemory, buffer cache, pageout ... peek() vs unget(): which is better? - comp.lang.c++.moderated ...... might be unbuffered -- which means in practice a single character buffer ... UTF-8; the only way to do that within standard ... two iterators, as opposed to a single object ... Converting number to std::string ("itoa()" ) - comp.lang.c++ ...There is a standard portable way of doing such ... you can use boost::lexical_cast<> to convert objects of ... more along the lines of a TR or a recommended practice ... Bareword errors? - comp.lang.perl.miscYou're claiming that the standard module is somehow ... HASH = getcgi(); sub getcgi { my ($buffer ... value of code reuse via modules, why does nobody object ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Neatest way to get the end pointer? - comp.lang.cA pointer to a non-array object type is indicated by the standard to be the ... for a routine to pass in its own buffer to a ... latter nominally causes UB even if in practice ... Examples of C++ in Safety Critical Systems - comp.lang.c++ ...... uses C++ and again - this seems to be the standard ... start/join in constructors/destructors of shared objects. ... one or the other of those requirements. > > In practice ... Size of "Hello world" - comp.lang.c++... than the C version; and changes in the standard. ... as the linker could include only full objects. That practice was ... 2 : (width+1) % 4 == 0 ? 3 : 1 )); // Buffer sizes ... improve strlen - comp.lang.asm.x86This isn't problem on stack either with objects with ... change would be trivial if you can guarantee no buffer ... thing to do), but how often do you see this in practice? Fast bit-reverse on an x86? - comp.dsp... of bytes (16 to 512, say), then bit reverse the buffer ... Yes, I can confirm this from practice. A faster method ... ISTM, that standard x86 should be three times faster than ... Pixel Buffer Object - OpenGL - The Industry Standard for High ...In standard pixel transfer operations, the pixel ... operation, a pixel pack, will use the buffer object bound ... data, as discussed in the Pixel Transfer Best Practices ... oZone3D.Net Tutorials - Vertex Buffer Objects - OpenGL VBO - Demo ...Introduction to OpenGL's Vertex Buffer Objects - VBO - demo ... For each sub-part of the practice part, there is an ... previously defined is surrounded by the standard pre ... 7/26/2012 3:57:22 PM
|
|
|
|
|
|
|
|
|