I uploaded a demo of mine that I tested and positive is working on my pc to xith.org intending to run it as a webstart application.
My demo reads a 3D model from the jar file using a FileInputStream that fills a bytearray that I finally wrap into a bytebuffer to ease the byte to float/integer conversion.
Having noticed (it didn't take me that long
) that running as a webstart application my demo would display nothing on the screen (besides few sprites that are totally independant from the model that I just loaded) I started some trouble shooting trying to figure out what the f was happening.
So I created a Jframe that holds a JTextArea which was created using a StringBuffer containing all the data that I assumed was correctly loaded, and I scrolled down a bit to check the model info.
Well the readings seemed ok till I've reached down to 6 lines where all Tuple3fs were displayed as (0,0,0).
Question is what might have caused the bytebuffer to return 0s after doing a great job at loading the first few vertices?