Hi,

        I get the following error when I run this on the NEtscape 4.7
Windows NT browser.  any help would be appreciated.


Java(TM) Plug-in: Version 1.2.2.p001 Using JRE version 1.2.2 User home
directory = C:\WINNT\Profiles\vgupta Proxy Configuration: Manual
Configuration      Proxy:       Proxy Overrides:   JAR cache enabled.
Opening http://www.vr-fx.com/3d_work/Terraforming/Show.class no proxy
CacheHandler file name: C:\Program
Files\Netscape\Users\vgupta\cache\M0H8G3NV.CLA Opening
http://www.vr-fx.com/3d_work/Terraforming/javax/media/j3d/Bounds.class no
proxy CacheHandler file name: null java.lang.NoClassDefFoundError:
javax/media/j3d/Bounds  at java.lang.Class.newInstance0(Native Method)  at
java.lang.Class.newInstance(Class.java:241)     at
sun.applet.AppletPanel.createApplet(AppletPanel.java:508)       at
sun.plugin.AppletViewer.createApplet(AppletViewer.java:814)     at
sun.applet.AppletPanel.runLoader(AppletPanel.java:444)  at
sun.applet.AppletPanel.run(AppletPanel.java:282)        at
java.lang.Thread.run(Thread.java:479)

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of reynolddemarcojr
Sent: Tuesday, March 14, 2000 9:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Help! Bug in TextureLoader?


http://www.vr-fx.com/3d_work/Terraforming/show.html

This site runs just fine for me.  I have Windoze98, JDK1.2.2, and Java3D1.2.
It appears your problem is with Windoze2000.

Reynold
www.reynolddemarcojr.com



-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Ahmed Shakil
Sent: Tue, March 14, 2000 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Help! Bug in TextureLoader?


Hey I have went to your site but it doesnt even show anything. just says
applet loaded. I also have some wierd problems with the Java3D beta release
when working with textures. I dont if it is because I am using windows2000.
but it does not load all the textures

http://www.vr-fx.com/3d_work/Terraforming/show.html

this site works with the j3d 1.1 release version
but not with j3d1.2 beta

Raffi, if u email me your full java source. I can look it up on my machine

Ahmed

-----Original Message-----
From: Kasparian, Raffi J. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 14, 2000 11:29 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Help! Bug in TextureLoader?


I have uploaded the 3D-tutorial applet EarthApp (slightly modified) to the
internet but I can't get it to load the image file, earth.jpg. I have tried
using the relative path for the image file (option 1) as well as the
absolute path (option 2). I have also tried creating a URL from the absolute
path (option 3). None of these work in appletviewer or Internet Explorer 5.
To my astonishment, however, if I use appletviewer and there is a copy of
earth.jpg in my current local directory, option 1 works! I didn't think
applets had automatic permission to read files on the local host computer!
Be that as it may, I need the applet to use the image file located on the
internet so that anyone can run it -- not just someone who happens to have a
personal copy of earth.jpg.

The code that attempts to load the image follows. Go ahead and run the
applet at http://www.erols.com/quantime/earthApp/EarthApp.html and see if
you get any better results. I would sure like to know what's going on!

Please, does anyone know a way to load an image into a texture that works?

Thanks, Raffi

My html file, image file and class file are all in the same folder:
http://www.erols.com/quantime/earthApp/EarthApp.html
http://www.erols.com/quantime/earthApp/earth.jpg
http://www.erols.com/quantime/earthApp/EarthApp.class

/********************************/

String filename = null;
URL url = null;
TextureLoader loader = null;
ImageComponent2D image = null;
try{            //OPTION 1
        filename = "earth.jpg";
        loader = new TextureLoader( filename, this );
        ImageComponent2D tempImage = loader.getImage();
        System.out.println( "option 1 succeeded." );
        image = tempImage;
}catch( Exception e ){
        System.out.println( "option 1  failed." );
        e.printStackTrace();
}
try{            //OPTION 2
        filename = "http://www.erols.com/quantime/earthApp/earth.jpg";
        loader = new TextureLoader( filename, this );
        ImageComponent2D tempImage = loader.getImage();
        System.out.println( "option 2 succeeded." );
        image = tempImage;
}catch( Exception e ){
        System.out.println( "option 2 failed" );
        e.printStackTrace();
}
try{            //OPTION 3
        url = new URL( "http://www.erols.com/quantime/earthApp/earth.jpg" );
        loader = new TextureLoader( url, this );
        ImageComponent2D tempImage = loader.getImage();
        System.out.println( "option 3 succeeded." );
        image = tempImage;
}catch( Exception e ){
        System.out.println( "option 3 failed" );
        e.printStackTrace();
}

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to