Re: [JAVA3D] OpenAL

2001-04-09 Thread Theron, Jannie
What is the current story on openAL, I read somewhere of issues with openGL and some other open*L variants ? -Original Message- From: J. Lee Dixon [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 10:34 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] OpenAL Has Sun (or anyone else) co

Re: [JAVA3D] cool java3d

2001-04-09 Thread Theron, Jannie
I also want to see if Java3D can cut it in a game environment ? Been playing with a couple of ideas and started working on an interface, but still learning a lot of the whole API and 3D graphics in general. -Original Message- From: Ahmed Shakil [mailto:[EMAIL PROTECTED]] Sent: Friday, A

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Theron, Jannie
I just have another question on the KeyNavigatorBehaviour that you may have an idea of. If I use it together with my own mousebehaviour it seems like the application builds up "lag" and just slows down. It looks like the thread is locking some resources to keep my mousebehaviour from affecting the

Re: [JAVA3D] Java3D and formats

2001-04-09 Thread Paula Keohan
Hi, I was just wondering... You know the way lots of people are looking for loaders, well, is there any way of saving geometry created in Java3D to a format, like .3ds for example? I saw on the FAQs that you cannot save the scenegraph. /Paula. ===

Re: [JAVA3D] Texture problems

2001-04-09 Thread chris thorne
Zak, The intersection problem - where there is tearing and flashing at the intersection of two surfaces as you move around - is something I am familiar with in VRML - looks like you have a similar problem in Java3d. If this is what is happening it could be due to the precision of the depth calcu

[JAVA3D] Tooltips in a 3D Stock chart

2001-04-09 Thread Timmy Tong
Dear all, I am developing a 3D Stock chart, I want to have a tooltip showing the data values when the mouse point over a point in the chart. I have tried Kovalan Muniandy's code but when I compile it, the compiler can't resolves the show method in the ToolTip class. Any other comments and sample

Re: [JAVA3D] unrelated to Java3D

2001-04-09 Thread J. Lee Dixon
JMF only supports Flash 2... Flash is now up to version 5, so I don't really consider that as good support just yet. It's up to the ppl at Macromedia to provide a Java player I believe. I agree with the comment about it depending on what you are doing, and not just short-term. You need to decid

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Justin Couch
"Theron, Jannie" wrote: > > I just have another question on the KeyNavigatorBehaviour that you may have > an idea of. If I use it together with my own mousebehaviour it seems like > the application builds up "lag" and just slows down. It looks like the > thread is locking some resources to keep my

Re: [JAVA3D] unrelated to Java3D

2001-04-09 Thread Paul James
What about using Macromedia Director to create your app? If memory serves me correctly Director lets you save a shockwave movie as straight Java. Although I've never actually tried it... Paul -Original Message- From: J. Lee Dixon [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001

[JAVA3D] General Question

2001-04-09 Thread Koen Vanderloock
Hi all,   Is there anyone who knows any tools to make exe file of java files, so you don't have to install java on each computer you want to run your program ?   Would be a big help,   Thanx in advance, Koen

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Theron, Jannie
I'll wait and have a look at it. What are the ad/disadvantages of AWT events vs behaviors for user interaction, especially movement ? -Original Message- From: Justin Couch [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 1:50 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Creating

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Justin Couch
"Theron, Jannie" wrote: > > I'll wait and have a look at it. > > What are the ad/disadvantages of AWT events vs behaviors for user > interaction, > especially movement ? The j3d Behaviours are limited by the behaviour mechanism of Java3D. This, as you have noticed, and with other annecdotal evide

[JAVA3D] JMF Sound + Java3D

2001-04-09 Thread Alex Terrazas
Hi- In checking out the MediaContainer documentation, I saw: "In future releases media data will include references to Java Media Player objects" Is this on the horizon? It seems that the computations for sound are fairly interesting but that the ways to get sound into Java3D are quite limited.

Re: [JAVA3D] Java3D and formats

2001-04-09 Thread John Wright
Paula, J3DFly provides the ability to save a scenegraph to a file (not a standard format and hence can't be read by any other 3D application). - John Wright Starfire Research Paula Keohan wrote: > > Hi, > > I was just wondering... You know the way lots of people are looking for > loaders, well,

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Artur Biesiadowski
Justin Couch wrote: > By going with an AWT solution, this presents events and updates the J3d > scenegraph structure outside of the normal renderer thread. Therefore > updates are constantly provided without needing to hnave the renderer > thread wait. But what with thread safety ? For example

Re: [JAVA3D] Texture problems

2001-04-09 Thread John Wright
Chris, The precision of the Z-buffer is dependent upon the graphics card / driver not Java 3D. For a typical video card we assume 16 bits of Z-Buffer and the recommendation of Sun for a 3000 ratio. Note: the values that you set for front and back clip are NOT the actual positions where the clipp

[JAVA3D] Texture lighting

2001-04-09 Thread Sackmunky
I have tried to apply any type of lighting to a textured sphere. Is =there anything(capabilities, etc.) that I have to set for the lights to =apply to the texture?Thanks,Zak

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Theron, Jannie
Does this mean immediate mode have to be used when implementig this ? According to my understanding this should solve the thread issue. Jannie -Original Message- From: Artur Biesiadowski [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 4:14 PM To: [EMAIL PROTECTED] Subject: Re: [

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Justin Couch
Artur Biesiadowski wrote: > But what with thread safety ? For example I want to modify Transform3D. > If update will occur interleaved with render thread reading values > transfor can point to some very strange place in other universe... Nope, the transform is done on the viewplatform's transfor

Re: [JAVA3D] Texture lighting

2001-04-09 Thread Theron, Jannie
I found a lot regarding in the SphereMotion demo included.   Jannie -Original Message-From: Sackmunky [mailto:[EMAIL PROTECTED]]Sent: Monday, April 09, 2001 4:30 PMTo: [EMAIL PROTECTED]Subject: [JAVA3D] Texture lighting I have tried to apply any type of lighting to a texture

Re: [JAVA3D] JMF Sound + Java3D

2001-04-09 Thread J. Lee Dixon
We definitely use sound in our application. We have some background sounds, but also point sounds associated with doors opening & closing, button clicks, people talking, etc. We were in *desperate* need of JMF interfacing to Java3D, but it's not there yet. We especially needed it because the lo

[JAVA3D] beginner question

2001-04-09 Thread Shamim Khaliq
i've got these draggable glass prisms and lenses and a ray of light you can point at them. now i want to refract the light. i'm very new to java3d, but already have noticed there's no repaint(). can you think of any way for the user to drag the glass objects they want onto the canvas, position the

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Theron, Jannie
I want to use the navigation on the view and objects in the content scenegraph. To the same effect as 3rd person view. Does this mean it *could* be unsafe to use it on content and I'll have to go the behavior way ? Jannie -Original Message- From: Justin Couch [mailto:[EMAIL PROTECTED]]

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Justin Couch
"Theron, Jannie" wrote: > > Does this mean immediate mode have to be used when implementig this ? No. All the examples I have run in pure-retained mode. Haven't tried anything with immediate mode. Not sure that would work, but I'm only guessing. -- Justin Couch http://ww

Re: [JAVA3D] Texture lighting

2001-04-09 Thread John Wright
You have to set the mode to "modulate" the default "replace" is not lit. - John Wright Starfire Research > Sackmunky wrote: > > I have tried to apply any type of lighting to a textured sphere. Is = > there anything(capabilities, etc.) that I have to set for the lights > to = > apply to the textu

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Justin Couch
"Theron, Jannie" wrote: > > I want to use the navigation on the view and objects in the content > scenegraph. To the same effect as 3rd person > view. Does this mean it *could* be unsafe to use it on content and I'll have > to go the behavior way ? The best answer I can give is "I don't know". I

[JAVA3D] Important Message for Java3D Developers

2001-04-09 Thread Michael Schulman
Last Chance - If some of you are working on interesting Java 3D applications and want to be included on a list that I am producing, please reply directly to me regarding this. For those of you that did respond to me, thanks and please do not respond again. - Begin Forwarded Message

Re: [JAVA3D] cool java3d

2001-04-09 Thread Cromwell Enage
Hello. --- "Theron, Jannie" <[EMAIL PROTECTED]> wrote: > I also want to see if Java3D can cut it in a game > environment ? > Been playing with a couple of ideas and started > working on an > interface, but still learning a lot of the whole API > and 3D graphics > in general. Depends on the

Re: [JAVA3D]

2001-04-09 Thread Kevin Rushforth
Are you running on Solaris? It sounds like you have an old version of either OpenGL or the JDK. Run the following two programs to verify the version of each: java -version /usr/openwin/demo/GL/ogl_install_check Make sure that you are using at least OpenGL 1.2.1 and JDK 1.2.2 f

Re: [JAVA3D] Subpixel polygon sizes

2001-04-09 Thread Brad Cain
Hello Artur - Modern graphics cards draw polygons to subpixel accuracy, and use strict rules for deciding which pixels to draw. As you have surmised, a pixel is drawn if and only if it is inside (or, in some cases, on the boundary of) a triangle. Drawing tiny polygons will produce exactly the b

Re: [JAVA3D] Texture lighting

2001-04-09 Thread Sackmunky
I have tried adding every type of light, even just to a primitive sphere, yet to no avail. It doesnt even do the AMbient Light, which is crazy to me. Can anyone help??? Zak Plus, i set the cap to MODULATE, and still doesnt work - Original Message - From: "John Wright" <[EMAIL PROTECTED]

Re: [JAVA3D] Texture lighting

2001-04-09 Thread John Wright
What is the underlying color of the material? Do you have a "black" material? Sackmunky wrote: > > I have tried adding every type of light, even just to a primitive sphere, > yet to no avail. It doesnt even do the AMbient Light, which is crazy to me. > > Can anyone help??? > > Zak > > Plus, i se

Re: [JAVA3D] setValidVertexCount()

2001-04-09 Thread Uma Sabada
In 1.2.1, setValidVertexCount() and setInitial{Vertex,Coord,Color, Normal,TexCoord}Index are used only for GeometryArray. They are ignored for Strips and Indexed Geometry Array. setValidVertexCount() is applicable for both by-ref and by-copy geometry array. For by-ref geometry, setInitial{Coord,

Re: [JAVA3D] Image capturing (creation of movie using successivelysaved JPEGsnapshots)

2001-04-09 Thread Petros Komodromos
At 12:45 AM 4/9/01 , chris thorne wrote: >Hi Petros, > >Just a guess : it looks like you are trying to write to it too quickly - before it is >finished the last render. >If so then you could look at double buffering. >However the fact it takes longer to crash if you stop rendering to other canvas

Re: [JAVA3D] cool java3d

2001-04-09 Thread Corysia Taware
Before you say "J3D currently won't cut it for an FPS" you might want to take a look at www.javagaming.org and the AVI movies that are there under http://www.javagaming.org/News/NewsFlash/body_newsflash.html I'm seeing some pretty neat overlays going on there. How do they do that - Ori

Re: [JAVA3D] Texture lighting

2001-04-09 Thread Kelvin Chung
Hi Zak, For ambient light, did you set the material ambient color ? Material public void setAmbientColor(Color3f color) - Kelvin - Java 3D Team Sun Microsystems Inc. >X-Originating-IP: [216.180.63.156] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3

[JAVA3D] Orbit behavior

2001-04-09 Thread Sackmunky
OrbitBehavior orbit = new OrbitBehavior(canvas, OrbitBehavior.REVERSE_ROTATE|   OrbitBehavior.REVERSE_TRANSLATE|   OrbitBehavior.REVERSE_ZOOM|OrbitBehavior.STOP_ZOOM);orbit.setMinRadius(1.3f); I have set my orbit behavior like above, yet whenever the minRadius has been reached, it ne

[JAVA3D] Chance for Java 3D Fame

2001-04-09 Thread Michael Schulman
If you have a really cool demo (and I know that 3D is cooler than standard 2D stuff), please check out: http://servlet.java.sun.com/javaone/conf/keynotes/07696-sf2001.jsp If you do want to submit a demo for a keynote, please copy me on your email. Thanks. --- Michael A. Schulm

Re: [JAVA3D] Orbit behavior

2001-04-09 Thread Andrea Tartaro
I tried this out on one of our demo programs (ObjLoad) and it worked fine. Are you sure you are using 1.2.1 FCS and not one of the beta verisons? andrea > Sackmunky wrote: > > OrbitBehavior orbit = new OrbitBehavior(canvas, > OrbitBehavior.REVERSE_ROTATE| >OrbitBehavior.REVERSE_TRANSLAT

[JAVA3D] NormalGenerator + Questions regarding Indices; Help !

2001-04-09 Thread R Vegan
Hi All I have a bunch of triangles (generated NOT by the Triangulator) represented by a coordinate array and an indexing array. I am interested in generating the normals for these triangles. So I put them in a GeometryInfo and pass that to a NormalGenerator. I then retrieve an IndexedTriangleArra

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Artur Biesiadowski
Justin Couch wrote: > Even if the TG changes, the view platform's matrix does not > so you never end up with any odd shearing effects. I'm not worried about TG being accessed two times with different values. I worry about case where matrix data is copied value by value and preemptiveness kick in

[JAVA3D] Mouse freelook

2001-04-09 Thread Artur Biesiadowski
Some discussion was done on various forms of view control lately. I would like to touch one more subject - mouse freelook type of navigation (known from most FPS). I know how to hide cursor, but I have no idea how to prevent it from going out of bounds of window (or in case of fullscreen sticking

[JAVA3D] Where are the constant defined for Triangulator(int earOrder)?

2001-04-09 Thread jie
In java3d API of com.sun.j3d.utils.geometry.Triangulator, three constants EARS_SEQUENCE, EARS_RANDOM and EARS_SORTED have been documented, which could be used for the constructor of Triangulator(int earOrder). My problem is, where are these constants defined or what are the values of these constan

[JAVA3D] Performance issues

2001-04-09 Thread Scott Smith
Hello: We're evaluating Java 3D for an internal project and was wondering whether anybody else is facing similar issues. The animations in the zoomed mode seems to be really slow or geomtry updates don't work properly. Even the Java 3D 'gear' demo, looks fine normal view, but gemometry updates a

Re: [JAVA3D] Image capturing (creation of movie using successivelysaved JPEGsnapshots)

2001-04-09 Thread Paraskevas Orfanides
I don't have an answer as to why this is happening. I would guess that's the way they implemented it in order to avoid concurency problems (i.e. the scene changing before the saving of this scene is over). I would guess that, if that's the case, there isn't much of a work-around, except to slow

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Danny Kahn
I was wondering if anyone could clarify the explanation below on adding and removing shapes to a compiled or live BranchGroup. As far as I can tell only the BranchGroup class has an ALLOW_DETACH capability bit, so how do you set it for the node that you want to add in? Does this mean that you ca

Re: [JAVA3D] Performance issues

2001-04-09 Thread Corysia Taware
What you're describing is differences between Windowed view and what you'd expect in Fullscreen view. In order for applications to perform well in a fullscreen view, the desktop resolution has to be changed. Under DirectX, this is simply a parameter passed in at runtime. But this isn't possible

[JAVA3D] changing perspective

2001-04-09 Thread Mona Wong
Hi: I need to implement a gui slider which changes the projection of the viewed objects between perspective and orthographic ... I need help. I've looked through faqs and docs and am do not find the info that I am looking for. I am confused as to whether I should use view or tra

Re: [JAVA3D] Mouse freelook

2001-04-09 Thread Paraskevas Orfanides
Forgive me for my ignorance in the subject, but I have a couple of questions about the subject (just trying to expand my knowledge). What exactly are you trying to accomplish by keeping the (hidden) cursor in bounds? I can see some possible purposes for a windowed app, but for full-screen? Would

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Paraskevas Orfanides
Unfortunately, your assumption that you can only add another branchgroup is correct, given that you have a compiled or live branchgroup. You CAN create the transformGroup on the fly, but in order to add it to the live branchGroup you must 1) create another (new) branch group, 2) add your transform

Re: [JAVA3D] Mouse freelook

2001-04-09 Thread Artur Biesiadowski
Paraskevas Orfanides wrote: > > Forgive me for my ignorance in the subject, but I have a couple of > questions about the subject (just trying to expand my knowledge). > What exactly are you trying to accomplish by keeping the (hidden) cursor in > bounds? I can see some possible purposes for a win

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread John Wright
Danny, To add a sphere to the live scene. Create a BranchGroup, add your transform group, add your sphere and then add this BG to the live BG (root BG). rootBG (live) | addBG (not live until added) | TG | sphere - John Wright Danny Kahn wrote: > > I was wondering if anyone could clarif

[JAVA3D] Capability Not Set!!

2001-04-09 Thread Tina Manoharan Valappil
Hello, I have set the capabilities for all my nodes and node components before I added the branch to my live scenegraph. But when I try to get the coloring attributes of my Appearance object it gives me can error saying no capability to get or set Coloring Attributes. This is what I did , can s

Re: [JAVA3D] Mouse freelook

2001-04-09 Thread Syrus Mesdaghi
Artur, There is a call in the Robot class. ( Robot.mouseMove(x, y)) You may run into some issues, but the bottom line is that I was able to make an fps motion model that works on "most" machines. For additional information read my reply to Ralph, Re: [JAVA3D] Question regarding navigation Take C

[JAVA3D] Our package to do some avatar descriptions and animations

2001-04-09 Thread Silvere Martin-Michiellot
Hello, We have designed a package to describe and animate avatars. It's written in Java3D, it's a beta, it's buggy. If you want to review it, send me an e-mail. You will have to fill in a form (about ten questions) to tell if this product is worth the effort to be sold. You will have the right t

Re: [JAVA3D] JMF Sound + Java3D

2001-04-09 Thread Silvere Martin-Michiellot
Hi- In checking out the MediaContainer documentation, I saw: "In future releases media data will include references to Java Media Player objects" Is this on the horizon? It seems that the computations for sound are fairly interesting but that the ways to get sound into Java3D are quite limited.

Re: [JAVA3D] cool java3d

2001-04-09 Thread Cromwell Enage
Okay, to be more specific: "multiplayer FPS". Yes, I contact the Fullsail guys from time to time on topics like Humid. I even beta-tested for Roboforge. They're both wonderful projects. But you don't see the limitations from just the demos. The Humid team has FPS down pat. Their b

[JAVA3D] Mirror textures.

2001-04-09 Thread Cromwell Enage
Back from the programming dead (sort of). I've recently started maze-building. I have a working prototype of a random orthogonal maze (the grid type most people are used to) and it shouldn't take long (about the time needed to finish a difficult programming homework assignment) to hack out

Re: [JAVA3D] cool java3d

2001-04-09 Thread David
Thats good info Cromwell. If I can just interject a note here Its my personal opinion that Java3d is capable of providing adequate technology for a rich multi-user gaming environment (of course I am going to say that). While it is true that handling networked N-body collisions is a problem,

Re: [JAVA3D] cool java3d

2001-04-09 Thread Cromwell Enage
Thanks for keeping me straight. I guess I painted too bleak a picture. > http://www.cosm-game.com So that's where you're hiding all that great stuff! Cromwell __ Do You Yahoo!? Get email at your own domain wit

Re: [JAVA3D] General Question

2001-04-09 Thread Kyle Wayne Kelly
It would not be hard to write a simple C wrapper that does what you want.    /**  * Kyle Wayne Kelly  * Computer Science Student  * University of New Orleans  * 504-391-3985  * http://www.cs.uno.edu/~kkelly  * Glory to God!  * El temor del hombre pondra lazo;  * Mas el que confia en Jehova

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Theron, Jannie
Sure, pass the code and I'll see what I can do. -Original Message- From: Justin Couch [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 5:27 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Creating shapes at runtime??? "Theron, Jannie" wrote: > > I want to use the navigation on the

Re: [JAVA3D] Creating shapes at runtime???

2001-04-09 Thread Theron, Jannie
Just a thought ... Could you detach a branchgroup, add a TG with Shape3D and reattach the BG ? Jannie -Original Message- From: Paraskevas Orfanides [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 12:47 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Creating shapes at runtime???