Hey thanks a lot guys it helped me. works like a charm. but just one more
thing. How do I make it work on the Browser. when I go to the url it has the
same problem.
-----Original Message-----
From: Charmaine Lee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 16, 2000 1:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Help! Bug in TextureLoader?
Did you try the property mentioned in the README?
============================================================================
==
Known Problems
============================================================================
==
NOTE: This version of Java 3D uses shared contexts in OpenGL for Display
Lists and Texture Objects. Some video cards, such as the Riva TNT,
have
problems in this area. If you are experiencing no rendering, crashes,
or no textures being displayed, this may be the problem. We have
added
a runtime property that allows applications to disable the use of
shared
contexts. For single canvas applications, there will be no change in
behavior. For multiple canvas applications, memory requirements will
increase by using this property. Here is an example of using the
property.
java -Dj3d.sharedctx=false MyProgram
-Charmaine Lee
Java3D Engineering Team
> MIME-Version: 1.0
> Date: Thu, 16 Mar 2000 13:39:46 -0800
> From: Ahmed Shakil <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] Help! Bug in TextureLoader?
> To: [EMAIL PROTECTED]
>
> so anyone knows how to fix this problem. I am really clue less. even the
> Java3d demo which comes with beta version is not working on my system. and
I
> have tried Windows2000 & windows98
>
> -----Original Message-----
> From: Neil Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 14, 2000 2:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Help! Bug in TextureLoader?
>
>
> For what it's worth - I also had some problem with textures and j3d1.2.
The
> problems went away when I went back to j3d1.1.2.
> Very annoying.
> Neil
>
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ahmed Shakil
> Sent: Tuesday, 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".
>
>
===========================================================================
> 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".