Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  65535 bytes limit  (Read 757 times)
0 Members and 1 Guest are viewing this topic.
Offline robdarich

JGO n00b
*

Posts: 11


Java games rock!


« on: 2004-08-20 13:16:21 »

I'm running in to this error when I try to make a class that contains vertex array data that has been converted from an .obj file.  

Is the best way to handle this to read the vertex data from a file into a buffer? Will this slow down object instantiation?  Is there a better way?  Does anyone have any examples of how to handle this limitation?

Many thanks for any replies,
rob
Offline pepe

Sr. Member
**

Posts: 402


Nothing unreal exists


« Reply #1 on: 2004-08-21 10:51:31 »

Class files are intended to contain code and not data.
Reading binary from a file ought to be faster than tricking a class.
You can't pass that 'limitation'.

Home page: http://frederic.barachant.com
------------------------------------------------------
GoSub: java2D gamechmark http://frederic.barachant.com/GoSub/GoSub.jnlp
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 21 queries.