Re: [JAVA3D] Creating a cylinder without using primitives?

2000-03-16 Thread Jeff Sim
Dear Lily, Thank you for the reply. I was wondering how do you extract the points from the cylinder primitive, and then stuff the points into a shape3D? Could you please advise? Thanks. Jeff - Original Message - From: Lily Lee <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday,

Re: [JAVA3D] Once again: Java Console works in IE4 and IE5,here is how!

2000-03-16 Thread Julian
Justin Couch wrote: >> >> Julian wrote: >> > >> > OK it does not really belong here, but this mail should put an end to the >> > endless series of "Java Console in IE" questions. >> >> This one's floated around enough that I think an FAQ entry would be >> wise. Do you mind if we take this explanan

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Akber Datoo
it would be very useful for me as well - Original Message - From: Pondrom, Pierre L <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 16, 2000 1:22 PM Subject: Re: [JAVA3D] Scene serialization > count me in too > > > -- > > From: Pasi Paasiala[SMTP:[EMAIL

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Andrew Fellows
I would like to see this as well but after having a fistfull or serialization hassles with an app we wanted to obfuscate I would like to know what are the difficulties with getting serialization to work on the scene .. I haven't looked and so don't know why it isn't being done. Andrew Fe

[JAVA3D] Question?

2000-03-16 Thread fwen
All: Who know whether there is java3d plugin or not , I mean that when you haven't installed the java3d, you will be asked to intall java3d plugin.it's same as java plugin. thank you for your support. ==

Re: [JAVA3D] Once again: Java Console works in IE4 and IE5,here is how!

2000-03-16 Thread Justin Couch
Julian wrote: > > OK it does not really belong here, but this mail should put an end to the > endless series of "Java Console in IE" questions. This one's floated around enough that I think an FAQ entry would be wise. Do you mind if we take this explanantion and throw it in there? -- Justin Couc

Re: [JAVA3D] [java3d] make Texture from Image

2000-03-16 Thread Jacob Nikom
Look at http://java.sun.com/products/java-media/3D/collateral/ Here is the code. I used JAI for downloading .png images Jacob Nikom //=beginning of the file SphereTextureApp = import javax.media.jai.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.

Re: [JAVA3D] Satellite Animation

2000-03-16 Thread Jacob Nikom
Look at http://recanati.ensmp.fr:81/jdk/guide/nativemethod/jniTOC.doc.html http://java.sun.com/docs/books/tutorial/native1.1/index.html Jacob Nikom Olivier Antibi wrote: > > Hello everybody, > > I'm new in this mailing list. I have to develop a satellite animation to > illustrate trackin

Re: [JAVA3D] Bug in setColor in Beta1

2000-03-16 Thread Marco Lohse
Okay, sorry for replying to my own email but maybe this is interesting for (some) of you. I solved my problem (see below): I re-programmed my Shape3Ds with geometry by reference and updated the colors in the referenced array. Now I get the same performance as with j3d 1.1.2 and non-referenced geom

Re: [JAVA3D] Quat4f

2000-03-16 Thread Lily Lee
the quaternion is defined as follows: think of a rotation about an arbitrary axis N, where N = (x, y, z), at an angle a. then the AxisAngle representation of the rotation is (a, N). The same rotation is represented by the quaterion Q = (s, V), where s = cos(1/2 a), and V = N sin(1/2 a) Lily

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Sven Hartmeier
Hello Vladimir, hej all! :) > If i'm not mistaken, SceneGraphObjects can not be serialized (i might :) > be wrong, though). But, anyway, why not try to implement Serializable :) > (or Externalizable) interface and save the object locally to see what :) > would happen? Then u can reconstruct it an

Re: [JAVA3D] polygon with border

2000-03-16 Thread Arne Halvorsen
Yes you can do that. In our app. we have sub classed Shape3D to add method to set wire frame point/solid appearance, intrinsic color, lit/unlit, hide/show and so on. Make sure to check out the spec. on notes for subclassing Node classes... "Dvorak, Daniel J." wrote: > I was really looking for so

[JAVA3D] VRML Loader from Sun's page vs Cosmo

2000-03-16 Thread Sherri Dunlap
Hello, Would anyone know why my converted Lightwave world could be viewed within the Cosmo VRML viewer, but not the VRML Loader provided from Sun's pages? I changed nothing. I simply loaded the .wrl into the VRML97 Loader and got nothing and then loaded it into a downloaded Cosmo VRML viewer

[JAVA3D] Once again: Java Console works in IE4 and IE5, here is how!

2000-03-16 Thread Julian
OK it does not really belong here, but this mail should put an end to the endless series of "Java Console in IE" questions. I have used the Java Console myself in IE4 and IE5 for years. The whole point is that it is _initially disabled_, you have to enable it before you can use it. You can enabl

Re: [JAVA3D] java consolle in IE

2000-03-16 Thread Sivaram Ghorakavi
For IE 4 and later vesions.. Goto Tools->InternetOptions->Advanced->Microsoft VM and enable the Java console option. --- reynolddemarcojr <[EMAIL PROTECTED]> wrote: > How do you use it? > > Reynold > www.reynolddemarcojr.com > > > > > -Original Message- > From: Discussion list for Java 3D

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Helmuth Trefftz
I am interested too. "Pondrom, Pierre L" wrote: > > count me in too > > > -- > > From: Pasi Paasiala[SMTP:[EMAIL PROTECTED]] > > Reply To: Discussion list for Java 3D API > > Sent: Thursday, March 16, 2000 12:46 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [JAV

Re: [JAVA3D] Help! Bug in TextureLoader?

2000-03-16 Thread Ahmed Shakil
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 PROTEC

Re: [JAVA3D] Quat4f

2000-03-16 Thread armel
See the Java 3D API Documentation, " Quat4f public Quat4f(float x, float y, float z, float w) Constructs and initializes a Quat4f from the specified xyzw coordinates. Parameters: x - the x coordinate y - the y coordinate z - the z coordinate w - the w sc

Re: [JAVA3D] Texturing Object File

2000-03-16 Thread Ahmed Shakil
hey before you try it you have to figure out to set the TEXTURE_COORDINATES for that geometry. I am gonna look into it. but if someone figures out earlier please help us -Original Message- From: Ahmed Shakil [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 16, 2000 1:38 PM To: [EMAIL PROT

[JAVA3D] Serialization debate

2000-03-16 Thread Olivier fillon
just my 20c: we all need serialization of a scene or more exactly a way to save/reload a scene; I understand some of the problem behind serialization of J3D nodes/behaviour, maybe the whole issue could be solved by implementing a VRML group writer? VRML as I believe this is the best format for thi

[JAVA3D] Satellite Animation

2000-03-16 Thread Olivier Antibi
Hello everybody, I'm new in this mailing list. I have to develop a satellite animation to illustrate tracking of satellites, I chose Java3D for it and already download few examples from the tutorail of a spinning globe and so on, is anyone have news about these field please write to me ..

[JAVA3D] [java3d] make Texture from Image

2000-03-16 Thread pieter
hello all.I would like to make a Texture-object from the information in an Imageobject. I got the Image via the getImage() method in an AWT Component.Texture-classes (Texture2D in particular) seem to want anImageComponent-object. And an ImageComponent-object seems to want aBufferedImage-obje

Re: [JAVA3D] Help! Bug in TextureLoader?

2000-03-16 Thread Ahmed Shakil
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 T

Re: [JAVA3D] Texturing Object File

2000-03-16 Thread Ahmed Shakil
try this. I havent tested it but it should work Scene s = null; s = f.load(filename); //filename is the name of the file, cube.obj for ex. BranchGroup b = s.getSceneGroup(); Shape3D shape = (Shape3D) b.getChild(0); GeometryArray g = (GeometryArray) shape.get

Re: [JAVA3D] Bug in TextureLoader?

2000-03-16 Thread Ahmed Shakil
I spent some time on your code, it was working fine from the dos prompt but I wasnt able to test it in the browser since I have installed java3d 1.2 beta. And I, myself, am having problems with textures. try the following code >>> TextureLoader loader = new TextureLoader( new URL(getCodeBase(),

[JAVA3D] Save image as PPM

2000-03-16 Thread Bruno Sousa Caiado
Hello.     I would like to be able to save (in runtime) the contents of a visualization window to a file in the PPM format.     Is this possible? And if so, how can i do this?     Thank you.   Bruno Caiado

Re: [JAVA3D] Creating a cylinder without using primitives?

2000-03-16 Thread Lily Lee
You could use the cylinder primitive, extract the points, stuff the points into a shape3d, then deform the points yourself. This is exactly what I do when I create an ellipsoid from a sphere. Lily Lee > > I thought of using geometryInfo to create the polygons, and the usual methods of >.trian

Re: [JAVA3D] Translating TriangleStripArray to IndexedFaceSet?

2000-03-16 Thread Doug Gehringer
> From: tang <[EMAIL PROTECTED]> > > Anyone know of the algorithm/calculation required to > translate a trianglestrip array (generated by ObjLoad class) into a > VRML IndexedFaceSet node? I am developing a program which needs a > saving to VRML function but so far I couldn't find anyt

[JAVA3D] Creating a cylinder without using primitives?

2000-03-16 Thread Jeffrey Sim
I thought of using geometryInfo to create the polygons, and the usual methods of .triangulate(), .stripify() and .generateNormals() to render it. It seems feasible, daunting though and I hope that there is a better way to do it. At the end of the day, I need to deform the cyclinder and that's w

Re: [JAVA3D] how to remove transformgroup?

2000-03-16 Thread Jeffrey Sim
I think you can only remove a branchGroup, and not a transformGroup. You could do that using either... 1) branchGroup.detach(); 2) simpleUniverse.getLocale().removeBranchGraph(branchGroup) Take note that 2) is only applicable when the branchGroup to be removed is the added to the simpleUniverse

Re: [JAVA3D] Basic Questions

2000-03-16 Thread Evan Drumwright
Hi Bob, As for your first question, here is a little piece of code I wrote to test instantaneous and average frame rate. It is a behavior that wakes up on every frame and calculates the amount of time that has passed. There are other ways to calculate frame rate (possibly more accurately) but t

Re: [JAVA3D] VRML 2.0 loader problem

2000-03-16 Thread Doug Gehringer
BTW, my apologies to anyone who had trouble because of the large attachement of the VRML97 tarfile. We will be updating the download page at web3d.org ASAP. Doug Gehringer Sun Microsystems === To unsubscribe, send email to

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Sivaram Ghorakavi
That would be really great. Inface I had problems without this and had gotten over that using the JarUrlConnection... Sivaram. --- Pasi Paasiala <[EMAIL PROTECTED]> wrote: > I'm interested! > > Pasi > - Original Message - > From: Sven Hartmeier > <[EMAIL PROTECTED]> > To: <[EMAIL PROTECT

Re: [JAVA3D] Bug in setColor in Beta1

2000-03-16 Thread Uma Sabada
Please send us a test program. Thanks Uma Java3D Team - Begin Included Message - >From [EMAIL PROTECTED] Tue Mar 14 01:50:55 2000 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Date:

Re: [JAVA3D] ClassCastException when removing a branchgroup containing Morph object

2000-03-16 Thread Uma Sabada
Thank you for reporting the bug. This bug will be fixed in the FCS release of Java3D. -Uma Java3D Team - Begin Included Message - >From [EMAIL PROTECTED] Thu Mar 16 07:11:00 2000 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.

[JAVA3D] Basic Questions

2000-03-16 Thread Bob Gray
1) I see people talk about the frame rate they can achieve. How do you measure the frame rate in Java 3D? Is there some code you put some place in your Java 3D program? If so, can someone post that code so I can determine my frame rate? 2) What is meant by "full screen mode." I think

Re: [JAVA3D] Eye position

2000-03-16 Thread Vladimir Olenin
Add your viewplatform to some TransformGroup. This would allow u to zoom/traslate/rotate the viewpoint. If what u meant was smth related to HWD, then see the docs 4 View class (eg. setViewAttachPolicy method defines the coexistence center in the virtual world) -=V=- >---<

[JAVA3D] ClassCastException when removing a branchgroup containing Morph object

2000-03-16 Thread Evan Drumwright
Hi All, When trying to help a fellow lister who was receiving the following error, I also get the error. It occurs when you attempt to remove a live branch group containing a morph object from the scene graph. To illustrate the example, I modified Sun's MorphApp example by adding the detach cap

Re: [JAVA3D] Texturing Object File

2000-03-16 Thread Pondrom, Pierre L
I'm not an expert, but I think you could add your app object to the scene's Shape3D object. I think the scene object has a method to get the Shape3D (maybe getShape3D() or something like that). > -- > From: PK[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D AP

Re: [JAVA3D] java consolle in IE

2000-03-16 Thread reynolddemarcojr
How do you use it? Reynold www.reynolddemarcojr.com -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Julian Sent: Mon, March 13, 2000 3:11 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] java consolle in IE the IE java console works in v

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Pondrom, Pierre L
count me in too > -- > From: Pasi Paasiala[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Thursday, March 16, 2000 12:46 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Scene serialization > > I'm interested! > > Pasi > - Orig

Re: [JAVA3D]

2000-03-16 Thread iñigo recio
try something like this class MyMatrix4d extends Matrix4d implements java.io.serializable { ... } or class MyMatrix4d implements java.io.serializable { Matrix4d currMatrix; ... } you have more posibilities Leonid Perlov writes: > I am wondering how to serialize a java3d object. Espessialy

Re: [JAVA3D] BEGINER

2000-03-16 Thread luigi
Thank you very much for answering me. I have downloaded Jbuilder Foundation 3.5 for Windows and for Linux, now I have to learn how to use it but it seems not to be very hard and also i have already used C++ Builder and its very similar Just a simple question: To insert a Canvas 3D in JBuilder.

[JAVA3D] Translating TriangleStripArray to IndexedFaceSet?

2000-03-16 Thread tang
Dear all, Anyone know of the algorithm/calculation required to translate a trianglestrip array (generated by ObjLoad class) into a VRML IndexedFaceSet node? I am developing a program which needs a saving to VRML function but so far I couldn't find anything on this. Any suggestions o

Re: [JAVA3D] Scene serialization

2000-03-16 Thread Pasi Paasiala
I'm interested! Pasi - Original Message - From: Sven Hartmeier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 15, 2000 12:12 PM Subject: Re: [JAVA3D] Scene serialization > > Oh, and I think it might be interesting to see how many people are still > interested in some

Re: [JAVA3D] Applet reading from file?

2000-03-16 Thread Vladimir Olenin
Hmm, u know what? Try loading the files not via InputStream _directly_, but using default built-in facilities like Toolkit.createImage(URL imageUrl). The point is that since this class (toolkit) is already installed locally and is actually a part of java core classes, it should be trusted by JVM.