Do you use texture coordinates generated earlier or generated by Java3D ?
May be try:
TextureLoader t = new TextureLoader(texPath, "RGB", null);
 
Vladimir A. Vernikovski
Programmer
-------------------------------------------
JPROOF Technologies Ltd.
----- Original Message -----
From: hammad
Sent: Thursday, June 05, 2003 7:58 AM
Subject: [JAVA3D] Texture loading problem for big files ...

I am trying to load a map within my 3D Universe via TextureLoader utility.. The problem which i am facing is that is eats a hell lot of time ....
I have tried differenent file formats like gif, bmp and jpg ..... the.bmp files loads the fastest that is around 40 secs ... which is a 12MB file ....
 
Is there any more elegant way to load such huge files quicker ... I am P4 system with GForce4 3D card ... so processing is not an issue out here .. and the map is in the order of 2 so the loading should be efficent in that case as well
 
I am using it like this
Texture texture = new TextureLoader(mapPath,null).getTexture();
 
Any ideas ...
Hammad


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

Reply via email to