I got a 1st edition paras,parasect, an jigglypuff. I got a regual
meowth,persion and eeve.
-----Original Message-----
From: Automatic digest processor <[EMAIL PROTECTED]>
To: Recipients of JAVA3D-INTEREST digests <[EMAIL PROTECTED]>
Date: Sunday, June 27, 1999 2:46 AM
Subject: JAVA3D-INTEREST Digest - 25 Jun 1999 to 26 Jun 1999 (#1999-15)


>There are 21 messages totalling 1240 lines in this issue.
>
>Topics of the day:
>
>  1. Running applet in a browser
>  2. Distributing Appications (2)
>  3. making a transform "LIVE"
>  4. Java3D and Threads?
>  5. Running applet
>  6. Java3D....write once, run nowhere?! (3)
>  7. Focus follows the mouse?
>  8. Focus - correction
>  9. Cheap or free 3D graphics design tool?
> 10. Colors, Lighting and Appearance (rerevisited) (2)
> 11. picking Text2D doesn't work anymore
> 12. VERY URGENT!!!: editing java.policy file
> 13. 3D Molecular Dynamics model in java?
> 14. Colors, Lighting and Appearance (rererevisited)
> 15. Strange black holes in rendered object
> 16. Is mailing list server behaving?
> 17. 3D example "strange bug"
>
>===========================================================================
>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".
>
>----------------------------------------------------------------------
>
>Date:    Wed, 23 Jun 1999 15:29:26 +0200
>From:    "Veith, Gernot" <[EMAIL PROTECTED]>
>Subject: Re: Running applet in a browser
>
>Hi Nicoloas,
>
>you also must convert the demo html-files. Use the HTMLConverter 1.2 to
tell
>your browser to take JRE 1.2 instead of its own Java environment which is
>still at 1.1.5.
>The converter puts a small javaScrpit into the html which enables the
>browser to take the plug-in. The browser will not automatically use the
>plug-in when it gets an applet.
>
>Gernot Veith
>[EMAIL PROTECTED]
>http://www.janet.de
>
>
>> -----Original Message-----
>> From: Nicolas Trussart [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, June 23, 1999 9:43 AM
>> To: [EMAIL PROTECTED]
>> Subject: Running applet in a browser
>>
>>
>>         Hello Gary,
>>
>> I have the same problem as Vladimir.
>> I would like to run an applet in a browser. I have installed
>> jdk1.2.1, javasoft runtime and java3d in the jdk1.2.1 directory.
>>
>> When I try to load an applet, this is the message that the
>> Java console
>> tells :
>>
>>     # Verifier error HelloUniverse.<init>()V: Cannot find class
>> javax/media/j3d/Canvas3D
>> # Applet exception: class HelloUniverse got a security
>> violation: method
>> verification error
>>
>> java.lang.VerifyError: HelloUniverse
>>
>>   at java.lang.ClassLoader.resolveClass(Compiled Code)
>>
>>   at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
>>
>> * at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
>>
>>   at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
>>
>>   at
>> netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
>> Code)
>>
>>   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
>> Code)
>>
>>   at java.awt.EventDispatchThread.run(Compiled Code)
>>
>>   at
>> netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.r
>> un(Compiled
>> Code)
>>
>> I followed your advice : I have added in the java.policy file the two
>> lines :
>>  permission java.lang.RuntimePermission "modifyThread";
>>  permission java.lang.RuntimePermission "modifyThreadGroup";
>>
>> Secondly, in the Java Plug-in Control Panel, which appears after the
>> Javasoft runtime is installed,
>> I enabled the Java Plug-in (Must I do it ?) and I have tried with all
>> Java Runtime Environment.
>>
>> And thirdly, I put the j3d.dll and j3daudio.dll files in the
>> C:\Program
>> Files\Javasoft\Jre\1.2\bin directory
>> (in reference to an other advice given in the j3d mailing list).
>>
>> But unfortunatly, it doen't work.
>>
>> Could you help me ?
>>
>> Yours truly.
>> Nicolas.
>>
>> ==============================================================
>> =============
>> 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".
>>
>
>------------------------------
>
>Date:    Sat, 26 Jun 1999 10:09:21 +0100
>From:    Martin Baker <[EMAIL PROTECTED]>
>Subject: Distributing Appications
>
>Could anyone advise me on the best way to distribute Java3D applications?
>
>My program is an application as opposed to an applet because its large and
>I want to distribute it once, not every time its used. Also I need to read
>and write local files.
>
>What I want is for non-techie windows users to be able to load and run the
>program as easily as they would a native windows application.
>
>I dont think it is realistic to expect such users to load Java2, load
>Java3D, copy files between lib\ext directories, setup classpaths, etc.
>
>I can think of 2 possible solutions:
>1) Use an intall progam - is there an inexpensive program which works with
>Java3D? and can keep up with new versions of Java3d?
>2) Compile to native widows - Are there any native compilers that work with
>Java3D, swing, etc?
>
>Thanks,
>
>Martin
>
>http://easyweb.easynet.co.uk/m.baker/
>
>------------------------------
>
>Date:    Sat, 26 Jun 1999 08:01:16 -0400
>From:    "Casteel, Don" <[EMAIL PROTECTED]>
>Subject: making a transform "LIVE"
>
>I'm still having trouble making my shapes live in my scenegraph. I don't
>know why something so basic is so hard for me to understand, but your help
>would be greatly appreciated.
>
>The short file below called Particle returns a box shape which I'm randomly
>placing in my scene many times in another class (using Particle's
getChild()
>method). I want to change the box's position by calling Particle's update()
>method.
>
>Everything else in the program works fine. and the "location" vector is
>changing everytime update is called (I'm println'ing out the x,y,z values
>for each particle for every update() call)
>
>Can someone please tell me what I'm doing wrong with the transform ?
>
>Thanks in advance!
>
>public class Particle extends Object
>        {
>        int size = 1;
>        int age = 0;
>        Vector3d location;
>        Vector3d direction;
>        int weight = 1;
>        Appearance appearance;
>        private Group group  = new Group();
>        Transform3D oofst;
>
>        public Particle(double lx, double ly, double lz, double dx, double
>dy, double dz)
>                {
>                location = new Vector3d(lx,ly,lz);
>                direction = new Vector3d(dx,dy,dz);
>                makeParticle();
>                };
>
>        public Particle(Vector3d v1,Vector3d v2)
>                {
>                location = v1;
>                direction = v2;
>                makeParticle();
>                };
>
>        private void makeParticle()
>                {
>                Color3f black = new Color3f(0.0f, 0.0f, 0.0f);
>                Color3f white = new Color3f(1.0f, 1.0f, 1.0f);
>                Color3f diffuseWhite = new Color3f(0.75f, 0.75f, 0.75f);
>                Color3f specularWhite = new Color3f(1.0f,1.0f,1.0f);
>                Color3f ambientWhite = new Color3f(0.15f, 0.15f, 0.15f);
>
>                Material whiteMaterial = new Material(ambientWhite, black,
>diffuseWhite, specularWhite, 100.0f);
>                whiteMaterial.setLightingEnable(true);
>                Appearance whiteAppearance = new Appearance();
>                whiteAppearance.setMaterial(whiteMaterial);
>
>                appearance = new Appearance();
>                appearance.setMaterial(whiteMaterial);
>
>
>                BranchGroup branchGroup = new BranchGroup();
>                TransformGroup objOffset = new TransformGroup();
>                BoundingSphere bounds = new BoundingSphere(new Point3d(
>location.x,location.y,location.z), size*2);
>
>
>objOffset.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
>
>objOffset.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
>                // create the shape objects and add them to the inner
>transform
>                Box bx = new Box(size,size,size, appearance);
>                objOffset.addChild(bx);
>                // add the inner transform
>                oofst = new Transform3D();
>                oofst.setTranslation(location);
>                objOffset.setTransform(oofst);
>
>                BoundingLeaf boundingLeaf = new BoundingLeaf(bounds);
>                objOffset.addChild(boundingLeaf);
>                // add the transforms to the branch group
>                branchGroup.addChild(objOffset);
>                // Let Java 3D perform optimizations on this scene graph.
>                branchGroup.compile();
>                // add this to the output group
>                group.addChild(branchGroup);
>                };
>
>        public void update()
>                {
>                location.add(direction);
>                oofst.setTranslation(location);
>                System.out.println(location.x + "     " + location.y  + "
>" + location.z);
>                };
>
>        // method to return the branch group to the main program when
needed
>        public Group getChild()
>                {
>                return group;
>                };
>        }
>
>Don Casteel
>
>Manufacturing Engineer
>TEXTRON Automotive Company -- Athens Operations
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>        Voice:  (423)744-1109
>        Fax:    (423)744-1112
>        Pager:  (423)744-1129  -- 109
>                Internet:       [EMAIL PROTECTED]
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>------------------------------
>
>Date:    Sat, 26 Jun 1999 09:12:35 -0400
>From:    "Casteel, Don" <[EMAIL PROTECTED]>
>Subject: Java3D and Threads?
>
>Can someone explain how threads work diferently in Java3D?
>How does J3D keep everything working without requiring a thread to be
>implemented, and how can I implement new threads without messing up what's
>already working?
>
>Don Casteel
>
>Manufacturing Engineer
>TEXTRON Automotive Company -- Athens Operations
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>        Voice:  (423)744-1109
>        Fax:    (423)744-1112
>        Pager:  (423)744-1129  -- 109
>                Internet:       [EMAIL PROTECTED]
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>------------------------------
>
>Date:    Tue, 22 Jun 1999 13:02:49 -0400
>From:    "Gary S. Moss" <[EMAIL PROTECTED]>
>Subject: Re: Running applet
>
>Vladimir,
>
>It looks like you need to modify your
java.home/jre/lib/security/java.policy
>file by adding a line like the following:
>
> permission java.lang.RuntimePermission "modifyThread";
>
>You may also need the following, I know I did:
>
> permission java.lang.RuntimePermission "modifyThreadGroup";
>
>They must go inside of an existing "grant" statement.  Or add one:
>
> grant [<options>]
>  {
>  permission java.lang.RuntimePermission "modifyThread";
>  permission java.lang.RuntimePermission "modifyThreadGroup";
>  };
>
>I advise restricting the scope of the grant statement via the [<options>]
as
>much as possible to prevent any possible security holes.
>
>Is this in the FAQ yet?
>-Gary
>
>
>
>
>
>
>Vladimir Olenin <[EMAIL PROTECTED]> on 06/22/99 03:33:35 PM
>To: [EMAIL PROTECTED]
>cc:  (bcc: Gary Moss/arl)
>Subject: Running applet
>
>
>Hi masters,
>
>I always ran Java3D applications. But today there was a need to ran an
>applet. I installed Java plug-in that is shipped together with JDK1.2.1
>to C:\Program Files\.....\1.2, that is default directory. I also
>installed Java3D library there. I also have Java3D library installed in
>the dir JDK itself was installed. And when i tried to load applet got a
>security exception in both IE5 and NS4.6. Here is what Java plug-in
>console printed out:
>
>--------------------------------
>Java(TM) Plug-in
>
>Using JRE version 1.2.1
>
>User home directory = C:\WINDOWS
>
>Proxy Configuration: no proxy
>
>
>
>JAR cache enabled.
>
>java.security.AccessControlException: access denied
>(java.lang.RuntimePermission modifyThread )
>
>        at java.security.AccessControlContext.checkPermission(Compiled
Code)
>
>        at java.security.AccessController.checkPermission(Compiled Code)
>
>        at java.lang.SecurityManager.checkPermission(Compiled Code)
>
>        at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:112)
>
>        at java.lang.Thread.checkAccess(Thread.java:1043)
>
>        at java.lang.Thread.setPriority(Thread.java:794)
>
> [ blah, blah, blah ]
>
>------------------------------
>
>Date:    Tue, 22 Jun 1999 16:24:46 -0400
>From:    "Guillermo E. Gutierrez" <[EMAIL PROTECTED]>
>Subject: Re: Java3D....write once, run nowhere?!
>
>This is a multi-part message in MIME format.
>--------------66042E640E15C55DB9685FA4
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>>From an earlier post:
>
>Thomas Auinger wrote:
>>
>> Hi!
>>
>> Has anybody experience in running Java 3D applets on the
>> net? I installed both PlugIn 1.2 and Java 3D, didn't work.
>> I copied the four java3d jars to the jre\lib\ext folder -
>> didn't help either.
>
>I recently had a go-round with this.  Copying j3d.dll and j3daudio.dll
>from
>my jdk1.2.1\jre\bin to the Plug-In's JavaSoft\jre\bin fixed it for me.
>
>--
>Ellery Chan <[EMAIL PROTECTED]>
>Harris ISD, Melbourne, FL 32904
>Voice: 407-984-6506, Fax: 407-984-6353
>
>
>"Brian C. Korsedal" wrote:
>
>> I can not get any 3D applets to work on Netscape or EI.  I have the Java
>> Pluggin and I used the HTML converter.  I'm running EI 5.0 and NN 4.6.  I
>> have Java 1.2.1 and Java3D.  I would really appreciate some help on
getting
>> them working.  I also need to know if this problem will be addressed by
Sun.
>> Why make 3D applets if no one can run them?  Thanks a lot.
>>
>>
===========================================================================
>> 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".
>
>--------------66042E640E15C55DB9685FA4
>Content-Type: text/x-vcard; charset=us-ascii;
> name="ggutierr.vcf"
>Content-Transfer-Encoding: 7bit
>Content-Description: Card for Guillermo E. Gutierrez
>Content-Disposition: attachment;
> filename="ggutierr.vcf"
>
>begin:vcard
>n:Gutierrez;Guillermo
>tel;fax:407-984-6323
>tel;work:407-984-6543
>x-mozilla-html:TRUE
>org:Harris Corporation;ISD
>adr:;;;;;;
>version:2.1
>email;internet:[EMAIL PROTECTED]
>title:Software Engineer
>x-mozilla-cpt:;-2976
>fn:Guillermo Gutierrez
>end:vcard
>
>--------------66042E640E15C55DB9685FA4--
>
>------------------------------
>
>Date:    Tue, 22 Jun 1999 16:17:29 -0400
>From:    Tachio Terauchi <[EMAIL PROTECTED]>
>Subject: Focus follows the mouse?
>
>Hi,
>
>I noticed that the Frame that contains a Canvas3D becomes active whenever
>I place the mouse over the Canvas3D.  Is there anyway to disable this?
>
>-Tachio
>
>------------------------------
>
>Date:    Tue, 22 Jun 1999 16:34:08 -0400
>From:    Tachio Terauchi <[EMAIL PROTECTED]>
>Subject: Focus - correction
>
>Hi,
>
>I noticed that the Frame doesn't not become active if I do not have the
>behavior that wakes up on AWTEvent (KeyEvent.KEY_PRESSED).  However, I'm
>not even touching the keys.  If I have that behavior, simply moving the
>mouse over the Canvas3D makes that Frame active.  Anyone know why this
>happens?
>
>-Tachio
>
>------------------------------
>
>Date:    Tue, 22 Jun 1999 16:36:24 -0700
>From:    Eric Hawthorne <[EMAIL PROTECTED]>
>Subject: Cheap or free 3D graphics design tool?
>
>What are your recommendations for a cheap or free tool for
>creating 3D models that can be loaded into Java3D? Capabilities
>can be fairly basic as long as it's cheap and easy to use.
>
>Thanks, Eric
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 01:18:56 +0100
>From:    Anish Patel <[EMAIL PROTECTED]>
>Subject: Re: Java3D....write once, run nowhere?!
>
>I just tried moving the jars up a directory a it now all makes sense.
>Thanks alot.
>Anish :-)
>-----Original Message-----
>From: Paul Desilets <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: 22 June 1999 23:09
>Subject: Re: Java3D....write once, run nowhere?!
>
>
>>I loaded the HelloUniverse class converted html and java files on our
>>server, performed the following steps and was able to run the
HelloUniverse
>>applet in IE5 and NE4.6 via the web but not directly?.
>>
>>
>>Here is what I had to do to get the 3D applets to run:
>>1    Install JDK1.2.2    (jdk1_2_1-win.exe)
>>2    Install 3D API        (java3d1_1_2-win32-opengl-sdk.exe)
>>3    Run Java Plugin Control Panel    (either under accessories or
directly
>>        under Start->Programs)
>>        Under advanced tab set the Java Run Time to:
>>        JDK1.2 in C:\jdk1.2.1 and hit "Apply"
>>4    Copy the *.jar file(s) up one directory to the lib directory from
>>        C:\ jdk1.2.1\jre\lib\ext to the lib directory  and
>>        C:\Program Files\JavaSoft\JRE\1.2\lib\ext to the lib directory
>>
>>I had to do step 4 to get flicker free performance on my machine (400
>>Mhz/128mb) at 1280X1024 32 bit color).  I also did these steps on and
older
>>166mhz machine with 64mb. I got the info for steps 3 & 4 from the
>>Ready-to-Run book.
>>Good Luck, I'm just starting as well.
>>----- Original Message -----
>>From: Brian C. Korsedal <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Tuesday, June 22, 1999 4:24 PM
>>Subject: Java3D....write once, run nowhere?!
>>
>>
>>> I can not get any 3D applets to work on Netscape or EI.  I have the Java
>>> Pluggin and I used the HTML converter.  I'm running EI 5.0 and NN 4.6.
I
>>> have Java 1.2.1 and Java3D.  I would really appreciate some help on
>>getting
>>> them working.  I also need to know if this problem will be addressed by
>>Sun.
>>> Why make 3D applets if no one can run them?  Thanks a lot.
>>>
>>>
>>==========================================================================
=
>>> 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".
>>
>
>------------------------------
>
>Date:    Sat, 26 Jun 1999 15:35:40 EDT
>From:    "Stephen E. Schweibinz" <[EMAIL PROTECTED]>
>Subject: Re: Distributing Appications
>
>>Could anyone advise me on the best way to distribute Java3D applications?
>
>I have never actually used this, but you might try the Java Edition
>of the popular InstallShield.  Cost is $495.
>
>http://www.installshield.com/java/
>
>Good luck,
>Steve Schweibinz
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 04:43:53 +0400
>From:    Vladimir Olenin <[EMAIL PROTECTED]>
>Subject: Re: Java3D....write once, run nowhere?!
>
>Wanna submit not an answer (since i'm one of many who is still unable to
>run applet with Java plug-in), but rather a suggestion to Sun group. The
>main problem is not with Java3D. The main problem is with Java Plug-in.
>If even developers themsevles can hardly make applet run, what can be
>said about users? Eg, currently we develop a game based on Java3D
>library. It's supposed that player should install Plug-in and Java3D
>library which is already quite a lot to demand from a common user. But
>what if after installation he would be just unable to run applet anyway?
>As soon as he come across the first problem he will leave the site and
>never come back. Sun should pay more attention to this, really.
>
>vladimir
>
>Augusto Sellhorn wrote:
>>
>> "Brian C. Korsedal" wrote:
>>
>> > I can not get any 3D applets to work on Netscape or EI.  I have the
Java
>> > Pluggin and I used the HTML converter.  I'm running EI 5.0 and NN 4.6.
I
>> > have Java 1.2.1 and Java3D.  I would really appreciate some help on
getting
>> > them working.  I also need to know if this problem will be addressed by
Sun.
>> > Why make 3D applets if no one can run them?
>>
>> Well ... maybe because you installed it wrong ??? Just because it
>> doesn't
>> work for you doesn't mean that there's a problem with it. Did you
>> read the FAQ, check the archives ?
>>
>> Chill out :)
>>
>> Augusto
>>
>>
===========================================================================
>> 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".
>
>--
>>~~~~~~~<============>~~~~~~~<
>Join in Java community now!
>http://javacafe.virtualave.net
>>~~~~~~~<============>~~~~~~~<
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 14:55:24 +0100
>From:    Andrew Phelps <[EMAIL PROTECTED]>
>Subject: Re: Colors, Lighting and Appearance (rerevisited)
>
>Chris,
>
>I have the same problem.  I know that this used to work on my system (which
>is identical to yours - including the V550 card).
>I'm not sure if the problem has crept in with J3D 1.1.2 or the new Diamond
>drivers that I am using.  I will investigate to see which it is.
>
>Andy Phelps
>
>-----Original Message-----
>From:   Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]
>On Behalf Of Chris Wewerka
>Sent:   23 June 1999 14:17
>To:     [EMAIL PROTECTED]
>Subject:        Colors, Lighting and Appearance (rerevisited)
>
> << File: lighting.jar >> Hi all,
>
>there were some mails in the beginnig of may in this list about the problem
>vertex-color and lighting.
>I do have the same problem as Frederic:
>
>When I specify per-vertex-color and attach a material object to the
>appearance I cannot see any color. Changing the parameters of the
>ambient(color) and the directional(intensity and color), as someone
>suggested, does not have any effect for me, i.e. there are no colors.
>But if I use a point light instead of the directional light the colors are
>shown and correctly shaded.
>
>Is this a bug?
> I use Java3d 1.1.2(openGL version) on a Win NT 4.0 sp4 machine with a
>Diamond Viper v550.
>
>I attach a modified version of Frederic's example. The directional light is
>commented and a point light source has been added. --> works fine.
Uncomment
>the directional light and comment the point light source in
>HelloUniverse.java and you will loose colors.
>
>Thanx
>Chris Wewerka
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 15:43:20 +0100
>From:    Andrew Phelps <[EMAIL PROTECTED]>
>Subject: Re: Colors, Lighting and Appearance (rerevisited)
>
>I presume it is therefore the  Diamond Viper V550 driver...
>
>-----Original Message-----
>From:   Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]
>On Behalf Of Dennis J Bouvier
>Sent:   23 June 1999 15:27
>To:     [EMAIL PROTECTED]
>Subject:        Re: Colors, Lighting and Appearance (rerevisited)
>
>Hi Chris,
>
>I tried your example, commented out the point light and uncommented
>the directional light.  It worked for me.  It seems it is not a
>problem with Java 3D (at least for the setup I have).
>
>I am running on Win95 Java 3D 1.1.2 Open GL (software render).
>
>I hope this helps.  Good luck.
>Dennis
>
>
>Chris Wewerka wrote:
>>
>> Hi all,
>>
>> there were some mails in the beginnig of may in this list about the
>problem
>> vertex-color and lighting.
>> I do have the same problem as Frederic:
>>
>> When I specify per-vertex-color and attach a material object to the
>> appearance I cannot see any color. Changing the parameters of the
>> ambient(color) and the directional(intensity and color), as someone
>> suggested, does not have any effect for me, i.e. there are no colors.
>> But if I use a point light instead of the directional light the colors
are
>> shown and correctly shaded.
>>
>> Is this a bug?
>>  I use Java3d 1.1.2(openGL version) on a Win NT 4.0 sp4 machine with a
>> Diamond Viper v550.
>>
>> I attach a modified version of Frederic's example. The directional light
>is
>> commented and a point light source has been added. --> works fine.
>Uncomment
>> the directional light and comment the point light source in
>> HelloUniverse.java and you will loose colors.
>>
>> Thanx
>> Chris Wewerka
>>
>>   -----------------------------------------------------------------------
-
>>                    Name: lighting.jar
>>    lighting.jar    Type: Java Archive (application/java-archive)
>>                Encoding: base64
>
>--
>-----
>Dennis J Bouvier
>[EMAIL PROTECTED]
>Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
>http://sun.com/desktop/java3d/collateral
>
>===========================================================================
>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".
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 17:23:06 +0200
>From:    Henrik Behrens <[EMAIL PROTECTED]>
>Subject: picking Text2D doesn't work anymore
>
>Hello,
>
>with the current JDK,
>Solaris VM (build Solaris_JDK_1.2.1_03_pre-release, native threads,
sunwjit)
>my programs using picking Text2D objects don't work anymore (applies to
Windows platform, too).
>They still work with jdk1.2rc2!
>
>My j3d*.jar - files are from May 28th 99.
>
>----
>java -version
>java version "1.2.1"
>Solaris VM (build Solaris_JDK_1.2.1_03_pre-release, native threads,
sunwjit)
>
>java Editor
>
>Exception occurred during Behavior execution:
>javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to allow
intersect
>        at java.lang.Throwable.fillInStackTrace(Native Method)
>        at java.lang.Throwable.fillInStackTrace(Compiled Code)
>        at java.lang.Throwable.<init>(Compiled Code)
>        at java.lang.Exception.<init>(Compiled Code)
>        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
>        at
javax.media.j3d.RestrictedAccessException.<init>(RestrictedAccessException.j
ava:34)
>        at
javax.media.j3d.CapabilityNotSetException.<init>(CapabilityNotSetException.j
ava:34)
>        at javax.media.j3d.Shape3D.intersect(Shape3D.java:226)
>        at
com.sun.j3d.utils.behaviors.picking.PickObject.pickGeomAllSorted(Compiled
Code)
>        at
com.sun.j3d.utils.behaviors.picking.PickObject.pickGeomClosest(PickObject.ja
va:552)
>        at
com.sun.j3d.utils.behaviors.picking.PickObject.pickClosest(PickObject.java:4
53)
>        at
com.sun.j3d.utils.behaviors.picking.PickRotateBehavior.updateScene(PickRotat
eBehavior.java:139)
>        at
com.sun.j3d.utils.behaviors.picking.PickMouseBehavior.processStimulus(Compil
ed Code)
>        at javax.media.j3d.BehaviorScheduler.processBehaviors(Compiled
Code)
>        at javax.media.j3d.BehaviorScheduler.run(Compiled Code)
>
>Of course I set the ALLOW_INTERSECT Capability Flag:
>
>      Text2D text2d = new Text2D(zeile, new Color3f(0.0f, 0.0f, 1.0f),
>                                 "Sans", size, 0);
>      QuadArray g = (QuadArray) text2d.getGeometry();
>      universalTg.addChild(transformGroup);
>      g.setCapability(Geometry.ALLOW_INTERSECT); // for picking
>      transformGroup.addChild(text2d);
>
>...
>    objScale.setCapability(TransformGroup.ENABLE_PICK_REPORTING);
>...
>    prb =
>      new PickRotateBehavior(objRoot, canvas, bounds,
PickObject.USE_GEOMETRY);
>----
>
>Since the program still runs with older JDK/J3D versions, something
>must have changed. Or is it a version mismatch?
>How can I find out which shape is missing the capability bit?
>
>Thank you for any help,
>Henrik
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 18:31:02 +0200
>From:    Thomas Auinger <[EMAIL PROTECTED]>
>Subject: Re: VERY URGENT!!!: editing java.policy file
>
>Hi!
>
>Don't want to offend you, but if you would have a look at
>the Java Homepage, you can find a nice tutorial about
>security.......
>
>http://java.sun.com/docs/books/tutorial/security1.2/index.html
>
>Cheers, Thomas
>
>
>Vladimir Olenin schrieb:
>>
>> Please, if anybody knows where can i get information about editing
>> java.home/jre/lib/security/java.policy file, let me know immediatly. It
>> is very urgent. Possibly someone out there knows what lines should be
>> written in this file if i got the following errors while running applet:
>>
>> - while trying to load a Texture from file:
>> --------------------------------
>> java.lang.NullPointerException
>>         at
>> com.sun.j3d.utils.image.TextureLoader.getTexture(TextureLoader.java:342)
>>         at ColumnScene.<init>(ColumnScene.java:70)
>>         at ExClip.buildScene(ExClip.java:98)
>>         at Example.buildUniverse(Example.java:296)
>>         at Example.init(Example.java:100)
>>         at sun.applet.AppletPanel.run(AppletPanel.java:357)
>>         at java.lang.Thread.run(Thread.java:479)
>> ---------------------------------
>>
>> In TextureLoader constructer there are the following lines:
>> ----------------------------
>>   java.security.AccessController.doPrivileged(
>>                 new java.security.PrivilegedAction() {
>>     public Object run() {
>>       image[0] = toolkit.getImage(fn); //texture file to be loaded
>>       return null;
>>     }
>>   }
>> -------------------------------
>>
>> I'm almost sure that the error i got is because of security violation,
>> since the same program runs just fine as Java application.
>>
>> Another question is whether i somehow can stop VM from the applet. I
>> know that usually this is impossible (eg, to stop NS original VM). On
>> the other hand i think that this can be done somehow under Java Plug-in
>> by means of editing the same java.policy file. If this can't be done
>> then can i somehow distinguish whether Java program runs as applet or
>> application.
>>
>> BADLY need your help! Eagerly waiting for any help, thank u VERY much,
>>
>> vladimir
>>
>> --
>> >~~~~~~~<============>~~~~~~~<
>> Join in Java community now!
>> http://javacafe.virtualave.net
>> >~~~~~~~<============>~~~~~~~<
>>
>>
===========================================================================
>> 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".
>
>------------------------------
>
>Date:    Tue, 22 Jun 1999 17:56:08 -0700
>From:    Kenneth Tallman <[EMAIL PROTECTED]>
>Subject: Re: 3D Molecular Dynamics model in java?
>
>I don't know about Molecular Dynamics, but Tripos has an interesting
molecular
>modeling application built in Java 3D. Learn more at
>sun.com/desktop/java3d/in_action or www.tripos.com
>
>Ken
>
>
>Aihong Li wrote:
>
>> Does anyone know if there is implementation of 3D Molecular Dynamics
>> in java? If yes, please give me the information about it: web page,
>> email,... I searched it on the web, found some information, but none of
>> them give me info about their implementation.
>>
>> Thank you.
>>
>>
===========================================================================
>> 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".
>
>
>
>--
>
>========================================================
>Ken Tallman                        Sun Microsystems
>Java 3D Marketing                  901 San Antonio Road
>phn: 650-786-4268                  MS  UMPK29-304
>fax: 650-786-7625                  Palo Alto, CA   94303
>pgr: 800-759-8888, x1414678        [EMAIL PROTECTED]
>http://sun.com/desktop/java3d
>========================================================
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 12:51:53 -0700
>From:    Eric Hawthorne <[EMAIL PROTECTED]>
>Subject: Colors, Lighting and Appearance (rererevisited)
>
>What is the minimum coloring/lighting that I need to set up to see
something other
>than black void?
>I have a fairly large trianglestriparray (manually created) that right now
just
>specifies
>per-vertex color. I have no surface normals defined yet.
>I have the View's front and back clip distances (and initial view position)
set so
>that I should be seeing
>the object (it's about 20,000 meters (x) x 20,000 meters (z) x 1000 meters
(y) in
>size, so I've
>put the viewplatform at 30,000m (z), 10000 m (y), 5000 m (x), and set the
front
>clip to 100m
>and back clip to 50,000m.
>
>I have no lights.
>
>I expected to maybe see the edges of the triangles, in the color I
specified in
>the strip array.
>
>Instead I see void.
>
>what's the minimum next step I can take to start seeing something?
Anything!
>
>Eric
>
>------------------------------
>
>Date:    Sat, 26 Jun 1999 21:39:09 -0700
>From:    Eric Hawthorne <[EMAIL PROTECTED]>
>Subject: Strange black holes in rendered object
>
>This is Java3D 1.1.1 OpenGL on a graphics card called S3 ViRGE
>
>I'm rendering (without lighting or appearance attributes, just geometry
color)
>a triangle strip array that is basically an undulating surface.
>I am always seeing many rectangular holes in the rendered object, which
>are not there in the triangle strip array model. Altogether, about 1/10 of
the
>surface is holes. I say holes because one can see through them to the next
>undulation of the surface. The holes are kind of randomly and fairly evenly
>distributed across the surface, but there appears to be a linearity to
their
>arrangement
>as though the holes are occurring here and there along each strip..
>The rest of the surface is rendered in its geometry-specified color.
>Very weird.
>Anyone seen anything like this?
>The rest of the surface is rendered in its geometry-specified color.
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 14:24:59 -0700
>From:    Eric Hawthorne <[EMAIL PROTECTED]>
>Subject: Is mailing list server behaving?
>
>Please excuse this administrative question.
>This mailing list sometimes echoes my post back to me, sometimes not.
>My last post, which began in its body "correction:" got echoed back to
>me, whereas previous posts to [EMAIL PROTECTED] did not get
>echoed back to me.
>I didn't issue any control commands to the listserv.
>Are all my messages getting through to the list? Or just some?
>For example, did anyone receive (or not receive) my color and lighting
>original post, the one that made my "correction:" post make sense?
>
>PLEASE REPLY BACK TO THE LIST, NOT TO ME, and please
>only a few people reply, and check that others have not replied to this
>question before you post your reply. Thanks, Eric
>
>------------------------------
>
>Date:    Wed, 23 Jun 1999 15:59:24 -0500
>From:    Taoan Ge <[EMAIL PROTECTED]>
>Subject: 3D example "strange bug"
>
>This is a multi-part message in MIME format.
>
>------=_NextPart_000_000A_01BEBD91.5D190160
>Content-Type: text/plain;
>        charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>Hi:
>
>I just downloaded 3d Java and tested on my Windows NT pc.  Strangely =
>enough, some samples run OK but some do not.  For example the first =
>sample I test is "Appearance", I get following error message=20
>"java AppearanceTest
>java.lang.NoClassDefFoundError: javax/media/j3d/Bounds
>Exception in thread "main""
>
>I further tested the program and I get even more frustrated.  The =
>program I modified as follows:
>
>// source code I modified from AppearanceTest
>import java.applet.Applet;
>import java.awt.*;
>import java.awt.event.*;
>import com.sun.j3d.utils.applet.MainFrame;
>import com.sun.j3d.utils.universe.*;
>import com.sun.j3d.utils.image.TextureLoader;
>import javax.media.j3d.*;
>import javax.vecmath.*;
>
>public class MyAppearance extends Frame//Applet=20
>{
>    public static void main(String args[])
> {
>  // new MainFrame(new AppearanceTest(), 700, 700);
> =20
>  System.out.println("Hello world");
> }
>
>
> private Appearance createAppearance(int idx)=20
> {
>  Appearance app =3D new Appearance();
> =20
>  // Globally used colors=20
>  Color3f black =3D new Color3f(0.0f, 0.0f, 0.0f);
>  Color3f white =3D new Color3f(1.0f, 1.0f, 1.0f);
>=20
>  // Color3f objColor =3D new Color3f(1.0f, 0.2f, 0.4f);
> =20
>  switch (idx)=20
>  {
>   // Unlit solid
> =20
>  case 0:
>     {
>   // Set up the coloring properties
>
>   //????????????????????????????????????????????
>   // error seem appear here=20
>    // when I move the following statement above the switch statement as =
>commented there or when ca.setColor(new Color3f(1.0f, 0.2f, 0.4f)); the =
>error message disappear.
>   Color3f objColor =3D new Color3f(1.0f, 0.2f, 0.4f);
>   // ????????????????????????????????????????????
>
>   ColoringAttributes ca =3D new ColoringAttributes();
>   // ca.setColor(new Color3f(1.0f, 0.2f, 0.4f));
>   ca.setColor(objColor);
>   app.setColoringAttributes(ca);
>  =20
>   break;
>     }
>
>  default:
>  {
>   ColoringAttributes ca =3D new ColoringAttributes();
>   ca.setColor(new Color3f(0.0f, 1.0f, 0.0f));
>   app.setColoringAttributes(ca);
>  }////////
>  }
>
>  return app;
>
> }
>
>}
>
>// error msg when I execute the program
>/*cd d:/JavaBook/java3d/Appearance/
>java MyAppearance
>java.lang.NoClassDefFoundError: javax/vecmath/Color3f
>Exception in thread "main"=20
>Compilation exited abnormally with code 1 at Wed Jun 23 15:04:05
>*/
>
>Any setting wrong with JDK or Java3D? Thanks a lot.
>
>Taoan Ge
>CS student
>University of Iowa
>
>
>------=_NextPart_000_000A_01BEBD91.5D190160
>Content-Type: text/html;
>        charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
><HTML>
><HEAD>
>
><META content=3Dtext/html;charset=3Diso-8859-1 =
>http-equiv=3DContent-Type>
><META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
></HEAD>
><BODY bgColor=3D#ffffff>
><DIV><FONT color=3D#000000 size=3D2>Hi:</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>I just downloaded 3d Java and tested =
>on my=20
>Windows NT pc.&nbsp; Strangely enough, some samples run OK but some do=20
>not.&nbsp; For example the first sample I test is =
>&quot;Appearance&quot;, I get=20
>following error message </FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2>&quot;java=20
>AppearanceTest<BR>java.lang.NoClassDefFoundError:=20
>javax/media/j3d/Bounds<BR>Exception in thread=20
>&quot;main&quot;&quot;</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>I further tested the program and I =
>get even more=20
>frustrated.&nbsp; The program I modified as follows:</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>// source code I modified from=20
>AppearanceTest</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2>import java.applet.Applet;<BR>import =
>
>java.awt.*;<BR>import java.awt.event.*;<BR>import=20
>com.sun.j3d.utils.applet.MainFrame;<BR>import=20
>com.sun.j3d.utils.universe.*;<BR>import=20
>com.sun.j3d.utils.image.TextureLoader;<BR>import =
>javax.media.j3d.*;<BR>import=20
>javax.vecmath.*;</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>public class MyAppearance extends =
>Frame//Applet=20
><BR>{<BR>&nbsp;&nbsp;&nbsp; public static void main(String=20
>args[])<BR>&nbsp;{<BR>&nbsp; // new MainFrame(new AppearanceTest(), 700, =
>
>700);<BR>&nbsp; <BR>&nbsp; System.out.println(&quot;Hello=20
>world&quot;);<BR>&nbsp;}</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2><BR>&nbsp;private Appearance=20
>createAppearance(int idx) <BR>&nbsp;{<BR>&nbsp; Appearance app =3D new=20
>Appearance();<BR>&nbsp; <BR>&nbsp; // Globally used colors <BR>&nbsp; =
>Color3f=20
>black =3D new Color3f(0.0f, 0.0f, 0.0f);<BR>&nbsp; Color3f white =3D new =
>
>Color3f(1.0f, 1.0f, 1.0f);<BR>&nbsp;<BR>&nbsp; // Color3f objColor =3D =
>new=20
>Color3f(1.0f, 0.2f, 0.4f);<BR>&nbsp; <BR>&nbsp; switch (idx) <BR>&nbsp;=20
>{<BR>&nbsp;&nbsp; // Unlit solid<BR>&nbsp; <BR>&nbsp; case=20
>0:<BR>&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp; // Set up the coloring=20
>properties</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;=20
>//????????????????????????????????????????????<BR>&nbsp;&nbsp; // error =
>seem=20
>appear here </FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp;&nbsp; // when I move =
>the following=20
>statement above the switch statement as commented there or when =
>ca.setColor(new=20
>Color3f(1.0f, 0.2f, 0.4f)); the error message disappear.</FONT><FONT=20
>color=3D#000000 size=3D2><BR>&nbsp;&nbsp; Color3f objColor =3D new =
>Color3f(1.0f, 0.2f,=20
>0.4f);<BR>&nbsp;&nbsp; //=20
>????????????????????????????????????????????</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>&nbsp;&nbsp; ColoringAttributes ca =
>=3D new=20
>ColoringAttributes();<BR>&nbsp;&nbsp; // ca.setColor(new Color3f(1.0f, =
>0.2f,=20
>0.4f));<BR>&nbsp;&nbsp; ca.setColor(objColor);<BR>&nbsp;&nbsp;=20
>app.setColoringAttributes(ca);<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp;=20
>break;<BR>&nbsp;&nbsp;&nbsp;&nbsp; }</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>&nbsp; default:<BR>&nbsp; =
>{<BR>&nbsp;&nbsp;=20
>ColoringAttributes ca =3D new ColoringAttributes();<BR>&nbsp;&nbsp;=20
>ca.setColor(new Color3f(0.0f, 1.0f, 0.0f));<BR>&nbsp;&nbsp;=20
>app.setColoringAttributes(ca);<BR>&nbsp; }////////<BR>&nbsp; =
>}</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>&nbsp; return app;</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>&nbsp;}</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>}</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>// error msg when I execute the =
>program<BR>/*cd=20
>d:/JavaBook/java3d/Appearance/<BR>java=20
>MyAppearance<BR>java.lang.NoClassDefFoundError:=20
>javax/vecmath/Color3f<BR>Exception in thread &quot;main&quot; =
><BR>Compilation=20
>exited abnormally with code 1 at Wed Jun 23 =
>15:04:05<BR>*/<BR></FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2>Any setting wrong with JDK or =
>Java3D? Thanks a=20
>lot.</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
><DIV><FONT color=3D#000000 size=3D2>Taoan Ge</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2>CS student</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2>University of Iowa</FONT></DIV>
><DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV></BODY></HTML>
>
>------=_NextPart_000_000A_01BEBD91.5D190160--
>
>------------------------------
>
>End of JAVA3D-INTEREST Digest - 25 Jun 1999 to 26 Jun 1999 (#1999-15)
>*********************************************************************
>

===========================================================================
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