what im trying to do is map the texture to each face within the floatbuffer , however I get an error when I try to run it Selected DisplayMode: 800 x 600 x 0 @0Hz## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005327c300, pid=6608, tid=6256## JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)# Problematic frame:# C [nvoglv64.DLL+0x98c300]## Failed to write core dump. Minidumps are not enabled by default on client versions of Windows## An error report file with more information is saved as:# C:\Users\lucas\workspace\LWJGL test\hs_err_pid6608.log## If you would like to submit a bug report, please visit:# http://bugreport.sun.com/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#

So you are using your color buffer for the texture coord pointer?? Personally not used to VBO's, but I believe you will have to use three buffers, the color buffer with glColorPointer and an additional texCoord buffer with glTexCoordPointer...btw:Does the texture path "graphics/test].png" really contain ] ?

java-gaming.org 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‑gaming.org