Re: [JAVA3D] examples

2000-10-24 Thread Anoop
Hi... when jdk 1.3 and java3d is installed . There are examples in jdk1.3/demo/java3d They are good to start with Anoop - Original Message - From: davide <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 25, 2000 6:23 AM Subject: [JAVA3D] examples > can anybo

[JAVA3D] Particles System and GeometryArrays

2000-10-24 Thread Shawn Kendall
Ok, kudos to Uma and Kelvin for helping me work through this one! Thank you, thank you. Here is a short explanation of what we are doing and the results. We implemented a "Particle System" (I prefer Manager, it's not really a system) in Java3D. Our first attempt was simple using TransformGroups,

[JAVA3D] examples

2000-10-24 Thread davide
can anybody tell me where to find some GOOD examples? thankyou! === 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 PR

[JAVA3D] 3d hardware

2000-10-24 Thread davide
hello friends, I am starting with java3d... is there a way to use 3d hardware vith java3d I mean a 3dfx card the docs say I can, but I don't see how! === To unsubscribe, send email to [EMAIL PROTECTED] and include in the bo

Re: [JAVA3D] Consistent rendering timing concurrent with complex calculation.

2000-10-24 Thread Fred Klingener
- Original Message - From: "Joe Kiniry" <[EMAIL PROTECTED]> > Hello folks, > > I have an application that has a large amount of computation (real-time > physics + much more) before correct information is available to render a > new frame. All of our subsystems are multi-resolution, that

Re: [JAVA3D] Particle System Shape3D and Alpha Blending

2000-10-24 Thread David
Shawn:   I love you guys!   *raises beer to Shawn*   Now, I am a little confused, how can a particle system be implemented in a single triangle strip array since triangles need to be contiguous or are you using strips of one or two triangles each?  And are you transforming every vertex y

Re: [JAVA3D] Simple Question with Colors

2000-10-24 Thread Kovalan Muniandy
You can try different light sources of different colors at each end of the cube, and play around with the material of each face of the cube. The BlueLitTwistApp.java example code of the tutorial produces similar look and feel. The tutorial link with example source: http://java.sun.com/product

Re: [JAVA3D] Simple Question with Colors

2000-10-24 Thread Shawn Kendall
You don't need a ColorInterpolator to do that. Simply setting the vertex colors in a GeomtryArray with the correct lighting mode in ColoringAttribute(SHADE_GOURAUD) will give the results in your .jpg "B. H." wrote: > Hi, > > can anybody tell me how to use ColorInterpolator for producing a image

Re: [JAVA3D] Consistent rendering timing concurrent with complexcalculation.

2000-10-24 Thread Shawn Kendall
The only way to be sure that you get totally synchronized behaviors execution in Java3D is to write your own behavior management (which it sounds like you have) and to call it's update somewhere in a derived Canvas3D class, mostly likely in pretender(). We had to do this BUT the main problem is t

[JAVA3D] Simple Question with Colors

2000-10-24 Thread B. H.
Hi, can anybody tell me how to use ColorInterpolator for producing a image that looks like in the attachment? It mustn´t look identical but resemble! Thanks for any help. Bernd Box.jpg

Re: [JAVA3D] Java3d 1.2.1beta??

2000-10-24 Thread Rich Harris
Hi Rob, Thanks, for the update. One question. Will you guys serve up a signed intaller for Java3D runtime and will it default to the correct directory for 1.3 ? Thanks Rich -Original Message- From: Rob Posadas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2000 12:19 PM To: [E

[JAVA3D] Particle System Shape3D and Alpha Blending

2000-10-24 Thread Shawn Kendall
Ok, I'm sure many people have had this problem. Our first pass at a "particle system" had this but it was not important for us to fix until now. Our particle group is actually one single Shape3D using a TriangleStripArray.  It runs very fast :-)  Much faster than individual Shape3D with each thei

Re: [JAVA3D] Particle System Shape3D and Alpha Blending

2000-10-24 Thread Shawn Kendall
This is fixed in the 1.2.1 beta. Sorry for the noise everyone... :-) Shawn Kendall wrote: Ok, I'm sure many people have had this problem. Our first pass at a "particle system" had this but it was not important for us to fix until now. Our particle group is actually one single Shape3D using a Tria

[JAVA3D] large planes (was: Re: [JAVA3D] 2DGraphics in Canvas3D)

2000-10-24 Thread Andreas Ebbert
Hi, "Yazel, David J." wrote: > Well creating a plane that is 2,000,000 meters on a side will cause some > problems. First of all the resolution for coordinates starts to get shaky > after 20k meters, so plain old rounding and truncation errors will cause you > problems. Yes, that's what I thou

[JAVA3D] Consistent rendering timing concurrent with complex calculation.

2000-10-24 Thread Joe Kiniry
Hello folks, I have an application that has a large amount of computation (real-time physics + much more) before correct information is available to render a new frame. All of our subsystems are multi-resolution, that is to say, we can tune their detail level such that per-step execution times a

Re: [JAVA3D] GeometryArray setValidVertexCount() problem

2000-10-24 Thread Shawn Kendall
Uma Sabada wrote: > Shawn: > > Your usage is correct. When changing the validVertexCount it is > not necessary to change the initialVertexIndex unless you want to > change the starting index also. This bug is fixed in 1.2.1 beta: > > 4338910 - change in valid vertex cou

Re: [JAVA3D] 3D avatars using Java3D

2000-10-24 Thread Yazel, David J.
No one has ever come out and said they had developed a high performance, flexible avatar system in Java3d. I know some people have worked on them, but so far no code has been released which can do this. Has some been written? I believe so, since there that robot war product (referenced somewher

Re: [JAVA3D] 3D avatars using Java3D

2000-10-24 Thread Shawn Kendall
We are right in the middle of such a project. We have very basic skinning using the GeometryUpdater interface. The internal version of our OpenFLT loader now supports Java3D Morph nodes, which we use for facial animation and hands etc. However, we do not have an animation playback system yet.

[JAVA3D] 3D avatars using Java3D

2000-10-24 Thread Yan Laporte
I know this subject has been discussed a few times over in this list but I haven't been able to find a suitable clear answer. Is there a framework to work with 3D avatars or characters in Java3D? I am aware of the H-Anim and MPEG4 specs but as far as I am concerned those are file formats. What

Re: [JAVA3D] more Particle System and GeometryArrays questions

2000-10-24 Thread Uma Sabada
Shawn: In the current implementation, Copy-mode may also use VertexArray if the geometry is editable (i.e. any of the write capability bits are turned set for the geometry). By-ref mode always uses vertex array. Vertex Array still levarages the hardware T&L. The difference between using Displa

Re: [JAVA3D] Invitation for the Java3D MMORPG mail list

2000-10-24 Thread Gokic
Please forward me an invitation [EMAIL PROTECTED] === 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 i

Re: [JAVA3D] GeometryArray setValidVertexCount() problem

2000-10-24 Thread Uma Sabada
Shawn: Your usage is correct. When changing the validVertexCount it is not necessary to change the initialVertexIndex unless you want to change the starting index also. This bug is fixed in 1.2.1 beta: 4338910 - change in valid vertex count not reflected in rendering w

Re: [JAVA3D] Java3d 1.2.1beta??

2000-10-24 Thread Rob Posadas
I'm sure you are all tired of hearing this, but it's still tied up in the release process. We'll get it out as soon as we can. Rob Posadas Manager, 3d Graphics Software Sun Microsystems [EMAIL PROTECTED] (650) 786-7873 > > It's so annoying me. > It was supposed to be released last week, was

Re: [JAVA3D] GeometryArray setValidVertexCount() problem

2000-10-24 Thread Kelvin Chung
Hi Shawn, This might be bug 4338910 - change in valid vertex count not reflected in rendering when dlist is used which is fixed in v1.2.1 beta1. Please try your program in the upcoming release. If the problem exists please send us a test program. > >I'm using a TriangleStr

[JAVA3D] more Particle System and GeometryArrays questions

2000-10-24 Thread Shawn Kendall
Here is some requests for Java3D team. In an effort to make the fastest possible particle system we need a few questions answered. 1) What is the best Geometry mode to use when you need to have variable length GeometryArrays?  Should it be copy mode or by-ref mode?  As it was explained to me by K

Re: [JAVA3D] Java3D and Java Web Start

2000-10-24 Thread Jamie Warner
I have no idea what the problem is. If others have the same problem, please drop me email. I posted a message to the Java Web Start Forum asking others to run the Java3D test. I had the exact same problem with a little Java2D test (http://www.iasystservice.com:8080/test.jnlp. Move with arrow ke

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hi Boris, I unterstand now what you mean. to get the A matrix I can use the BoundingBoxcenter Ok , but when the user translate the object again I would have to get the new Center and to calculate the new A matrix again(I am using the MouseRotate, MouseTranslate and MouseZoom classes)I think it wou

Re: [JAVA3D] Java3D and Java Web Start

2000-10-24 Thread Jamie Warner
Hrm... Not sure. I installed JWS on another machine (1.0b) and it seemed to work fine. What OS are you running? I'm running win2k with IE 5.0 and Netscape 4.75. The machine running JWS DOESN'T have Java3D installed. I also have JDK1.3 installed. -Jamie Mark Beckman wrote: > Jamie, > I trie

Re: [JAVA3D] Java3D and Java Web Start

2000-10-24 Thread Mark Beckman
oops.. forgot to mention I am running Netscape 4.6 Could this be an issue??? In meantime, I will download newer version -Mark --- Jamie Warner <[EMAIL PROTECTED]> wrote: > Hrm... Not sure. I installed JWS on another machine > (1.0b) and it seemed to > work fine. What OS are you running? >

Re: [JAVA3D] Java3D and Java Web Start

2000-10-24 Thread Mark Beckman
Jamie, I am running Windows NT 4.0 Workstation. In the JWS prefs I have JRE 1.3 selected. (I also have JDK 1.2.2 installed). I installed JWS 1.0b. Here is the stacktrace from the "Exception" tab on the error dialog: JNLPException[category: Download Error : Exception: null : LaunchDesc: null

Re: [JAVA3D] Class Intersect deprecated ?

2000-10-24 Thread Juergen Neubauer
Hi Chris, instead of com.sun.j3d.utils.behaviors.picking.Intersect you will find the desired stuff under com.sun.j3d.utils.picking.PickIntersection Read the instructions under com.sun.j3d.utils.picking, especially under com.sun.j3d.utils.picking.PickTool !! This can be fiund under com.sun.j3d.u

[JAVA3D] Java3d 1.2.1beta??

2000-10-24 Thread Youngseog Lee
It's so annoying me. It was supposed to be released last week, wasn't it? I want to know why it wasn't released last week and when it will be released. Kelvin, I'm sure you know why & when. Please Tell me === To unsubscri

Re: [JAVA3D] Java3D and Java Web Start

2000-10-24 Thread Jamie Warner
Oops. I forgot to tell you that you have to have java web start (http://www.javasoft.com/products/javawebstart) installed. It should handle connecting the mime types to the browsers. (The JRE issue I don't know how to solve and am looking into). -Jamie John Wright wrote: > Jamie, > > I tried

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Andreas Ebbert
Hi, maybe I can help by describing what my scenegraph looks like: The ViewBranch looks like this: LOCALE   |  BG   |  TG    - only translation to Point of Interest   |  TG    - Z-Rotation   |  TG    - Y-Rotation   |  TG    - X-Rotation   |  TG    - only translation along z-axis (zoom)   |  ViewPl

Re: [JAVA3D] Java3D and Java Web Start

2000-10-24 Thread Mark Beckman
Jamie, I tried to run your app as well. Netscape complained about the lack of plugin... I downloaded and installed Java Web Start. Now when I access the page, JWS starts and the progress bar flashes for a while then I get the following message: *

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hi , once you have the boundingbox and the radius try the following // SceneGroupBounds is your BoundingBox Point3d center = new Point3d(); SceneGroupBounds.getCenter(center); double radius = SceneGroupBounds.getRadius(); Vector3d temp = new Vector3d(center); Transform3D viewTrans = new Tr

Re: [JAVA3D] [Java3D] Run Against Wall

2000-10-24 Thread Yazel, David J.
The way I do this is to check before they move if there was going to be a collision, then stop the move if there would be. I do this by sorting my objects into a resolution grid, then running through all the shapes checking for intersections on the bounding box representing the moving object. Da

Re: [JAVA3D] object not displayed after I resize netscape window

2000-10-24 Thread Markus Stiller
don't use the applet tag. try the object tag in ie and the embed tag in netscape ... this sample html code works on my site fine http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Vers ion=1,3,0,0"> http://java.sun

[JAVA3D] Class Intersect deprecated ?

2000-10-24 Thread Wyss Christian
Class Intersect not needed anymore, no replacement - and how do I test for intersections now..? Can anyone help me, please ? Thanks a lot, Chris === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Epelman Boris
Hi Mohammed! I do not think that what you are sying is possible, but the way I suggested you need to calculte the matrix T*A*R*A^(-1)*T^(-1) first and then multiply the transform attached to your object by this matrix as a single operation. In that way you perform only one multiplication by th

[JAVA3D] object not displayed after I resize netscape window

2000-10-24 Thread Mohammed Akacem
Hello, I am viewing a Shape3D object in my applet when I resize the Netscape Window I get this Message and the object is not displayed. HEIGHT = 800 > alt="Your browser understands the tag but isn't running the applet, for some reason." Your browser is completely ignoring the tag! -->

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Thijs Maenhout
Hi , I'am having kind of the same problem as you: I want to make the scene (consisting of transformgroups, behaviors and shape3ds) fit into the canvas3d. Therefore I have to change the viewTransformation (translate and rotate it). I'am able to get the center and the radius of my scene (with a sp

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hi Boris, my point is that I don't want to translate the object to the origine because my objects kann have 500.000 triangles or more( and that will cost me too much time). Until now I have translated my objects to the origine and it works fine( and that is done with the A Matrix you suggest I sh

Re: [JAVA3D] [Java3D] Run Against Wall

2000-10-24 Thread J. Lee Dixon
-- =_NextPart_001_01C03DAD.3C890C68 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Some people use Collision detection and then constrain the motion.=A0 I believe there are some problems getting this to work, such as the fact that when the c

Re: [JAVA3D]

2000-10-24 Thread J. Lee Dixon
We have a Compaq Armada... don't know which model. -Lee -Original Message- From: raja [mailto:[EMAIL PROTECTED]] Sent: Monday, October 23, 2000 9:33 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] did you try Toshiba tecra 8100 series or IBM T20 series? -Original Message- From:

Re: [JAVA3D] Rotation Matrix

2000-10-24 Thread Epelman Boris
Hi! You need to perform the following transformation: T*A*R*A^(-1)*T^(-1)*M where M is your object T is the object's transform that holds all bthe transformations performed on the object till now. A this matrix brings the center of the object to (0,0,0) if the object was not originally crea

[JAVA3D] Rotation Matrix

2000-10-24 Thread Mohammed Akacem
Hello, can someone please tell me how to calculare the Rotation Matrix. the rotation should rotate a Shape3D object whose boundingbox center is not at (0.0,0.0,0.0) but I still want to have the same effect as if the obejct is at (0.0,0.0,0.0).I too translate the view so that the camera is on the

[JAVA3D] GeometryArray setValidVertexCount() problem

2000-10-24 Thread Shawn Kendall
I'm using a TriangleStripArray for the entire set of particles in our particle system.  Every four verts make up a two triangle quad that is the particles geometry.  Everything is working great except for one thing. When we have less than the "max" number of particles "live" in the scene, I would