|
Hi,
I'm triying to load an object created with 3ds max
(called HCAL.3DS) with the Jhon W. Loader.
I tried the next code in an application, but the
compiler cannot resolve two symbols : "Scene" and "FileNotFoundException"
can anybody help me with this.
Thanks,
Boby
import
com.mnstarfire.loaders3d.Loader3DS;
..........
try {
Loader3DS loader = new Loader3DS(); // optional options to be used // loader.setLogging(true); // turns on writing a log file // loader.setDetail(7); // sets level of detail of report log // loader.setTextureLightingOn(); // turns on texture modulate mode // loader.setTexturePath("D:\MyTextures"); // optional alternate path to find texture files // loader.noTextures(); // if you don't want to load textures Scene theScene = loader.load("HCAL.3DS"); } catch(FileNotFoundException fnf) { // Couldn't find the file you requested - deal with it! } |
- Re: [JAVA3D] using a loader Robert Gomez-Reino
- Re: [JAVA3D] using a loader Serge Bernier
- Re: [JAVA3D] using a loader John Wright
