[JAVA3D] Animating body

2003-07-09 Thread Botha Levente
Hi all! I restarted to work on my simulation project and i got into problems in the firs hour. A would like to animate the legs of a human body. If i press a button it should make a "full step" (moving both legs ...). I tried to make a while cycle with the right transformations in it but my "human

Re: [JAVA3D] Animating body

2003-07-09 Thread Pasi Paasiala
Title: RE: [JAVA3D] Animating body Could be a thread problem. You should have one thread where you set the rotations, and this thread should have a lower priority than the rendering thread. Also, do you have sleeps between setting of the rotations. If not, setting happens so fast that only th

Re: [JAVA3D] High performance java3d renderer for games

2003-07-09 Thread Dirk L. van Krimpen
Dave, Regarding your point 4. "only the copyright holders can sell the product (renderer + libs) a product. I would not want someone to take a free API" I was wondering if, in case you license someone to use your product, you recommend also building in some code, eg IP address checker, etc. This

Re: [JAVA3D] Performance & culling faces

2003-07-09 Thread Ian M Nieves
Arthur, I was planning on doing the coarse-grained backface culling once, before the graphics pipeline is even set up. Basically, I would start with an indexed face geometry. And then store several sets of indices. Each set of indices would represent the back face culled version of the original

Re: [JAVA3D] Animating body

2003-07-09 Thread Mark Hood
> Date: Wed, 9 Jul 2003 10:13:35 +0300 > From: Pasi Paasiala <[EMAIL PROTECTED]> > > Could be a thread problem. You should have one thread where you set > the rotations, and this thread should have a lower priority than the > rendering thread. Also, do you have sleeps between setting of the

Re: [JAVA3D] Animating body

2003-07-09 Thread Ben Moxon
I have heard it said that Behaviours are the only way to change a live scenegraph. Not sure about that, but that is what they are designed for. I put together a small java3d tutorial that has a couple of sections about behaviours which may be useful, although it doesn't exactly match your situat

[JAVA3D] Apply OrbitBehavior to multiple universes

2003-07-09 Thread Adam Shadbolt
Hi all,I want to add the same OrbitBehavior to multiple universes. So that when I move the camera on one scene, it also moves the camera on the other scenes in the same way.I tried creating a global OrbitBehavior and adding it to all the universes, but I get a MultipleParentException at runti

[JAVA3D] Help with transparent textures please :)

2003-07-09 Thread Chris Fenton
Do transparent textures work in java3d ? To demonstrate I have included two pictures of a low res cylinder with transparent textures (correct, wrong). Now matter what combination of Texture Attributes I use the blue back seems to dominate. Here is the jython code def buildAppearance(self):

Re: [JAVA3D] Help with transparent textures please :)

2003-07-09 Thread Jeremy Booth
Chris Fenton wrote: Do transparent textures work in java3d ? yes, I have couple of tiny issues, that don't consistently happen, but mostly, and most of the time, they work perfik, below is the code I use. You will also need to make sure you have done View.setTransparencySortingPolicy(View.TRANSPAR

[JAVA3D] adding objects to a life scene

2003-07-09 Thread Horst Walther (SiG)
SiG Software Integration GmbHHi all, simple question: how can I add objects, e.g. simple spheres, to a life graph? Background is: I like to dynamically add 3d-datapoints read from a external data feeding device each minute to even the same transformation group. Depending on the users choice on th

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread John Wright
Horst, This one comes up often. You do need to structure your scene such that you can add and remove branchgroups to handle what you want to do. Branchgroups are the only thing you can add to a live scene. If you know all your data upfront some people will use "switch nodes" to just switch on a

[JAVA3D] Major problems?

2003-07-09 Thread Gili
Before I throw myself full-force behind using Java3D in my application: are there any major problems or very annoying things that are currently known to be broken in Java3D? Anything I should know up-front about it? Gili

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread Horst Walther (SiG)
Hi all, simple question: how can I add objects, e.g. simple spheres, to a life graph? Background is: I like to dynamically add 3d-datapoints read from a external data feeding device each minute to even the same transformation group. Depending on the users choice on the limit the oldest data point

Re: [JAVA3D] Major problems?

2003-07-09 Thread Ian M Nieves
Gili, Although I do NOT represent Java3D OR the Java3D community.. I think that the largest gripes that I have heard include: 1) no real low level access to OpenGL specifics such as the various buffers, etc. If you dont know what im talking about with this, then it probably wont affect you. (no g

Re: [JAVA3D] Major problems?

2003-07-09 Thread Ben Moxon
The only other issue I have noticed is the whole "Java3D may or may not be about to be dropped by Sun in the light of the new OpenGL bindings and the way people from sun keep hinting it is stalled, in a holding pattern etc etc" discussion. Not really a technical problem, but a point to consider.

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread Ricardo Nakamura
Hi, If your objects can share the same appearance, you might try to use a single Shape3D and the addGeometry() / removeGeometry() methods. In this case, you can pre-transform your geometry to put it in the right position. (Some time ago, Florin Herinean wrote to this list about this techni

Re: [JAVA3D] Major problems?

2003-07-09 Thread Gili
Ben, What would your recommendation be? Look into the OpenGL binding instead? The bottom line is: what is the best way to do 3D under Java? Or is this currently more trouble than its worth? I'm about to stake my newfound business on how I do 3D on Java so I'm a little reluctant to

Re: [JAVA3D] Major problems?

2003-07-09 Thread Gili
As well, I just noticed that the latest OpenGL binding was released back in Feb 4th, 2002 .. over a year back. Why is Sun so worried about this? Gili On Wed, 9 Jul 2003 15:08:46 +0100, Ben Moxon wrote: >The only other issue I have noticed is the whole "Java3D may or may not be about to b

Re: [JAVA3D] Major problems?

2003-07-09 Thread Ben Moxon
It depends what you want - Java3D is certainly easier to use than OpenGL, especially for more complex work, and from what I can tell sun are continuing to support it from a bug-fix point of view but there are no current plans for a Java3D 1.4 . For more on this, take a bit of a look down the arc

Re: [JAVA3D] Major problems?

2003-07-09 Thread Yazel, David J.
If you are going to stake your business on your 3D technology then I suggest doing a lot of research on what the different key concepts are. Java3D is a scenegraph API for 3D rendering. OpenGL is a low level graphics API. If you started with zero knowledge about both, it would take about twice a

Re: [JAVA3D] Major problems?

2003-07-09 Thread Gili
I'll be building a CAD application. Is Java3D mature enough for serious commercial use? And can I count on Sun's support? How much do they charge for support anyway? Gili On Wed, 9 Jul 2003 10:32:27 -0400, Yazel, David J. wrote: >If you are going to stake your business on your 3D technol

Re: [JAVA3D] Major problems?

2003-07-09 Thread John Wright
Gili, As Ben said, it depends on what you want to do. Java 3D is an excellent way to rapidly get impressive 3D worlds built. (I'd say yes, it's a LOT easier to do complex 3D in Java 3D than with an OpenGL binding but the reverse could be said of a simple application) But it lacks low level acce

[JAVA3D] ... adding objects to a life scene

2003-07-09 Thread Horst Walther (SiG)
message was sent before but had been returned with an error message. - Original Message - From: "Horst Walther (SiG)" <[EMAIL PROTECTED]> To: "Discussion list for Java 3D API" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 4:26 PM Subject: ... adding objects to a life scene > Hi all,

Re: [JAVA3D] Major problems?

2003-07-09 Thread Gili
One question that has yet to be answered: WHY is Sun halting Java3D development? I read the old archives and no one seems to answer that question. Gili On Wed, 9 Jul 2003 09:40:13 -0500, John Wright wrote: >Gili, > >As Ben said, it depends on what you want to do. Java 3D is an

Re: [JAVA3D] Major problems?

2003-07-09 Thread RWGRAY
Be aware that Java 3D has nothing written for polyhedron or other shape manipulation. That is, there is no "compute the shape resulting from the intersection of 2 shapes", etc. You will have to write all the shape manipulation yourself. Also, I find that transparencies still give me a head ace.

Re: [JAVA3D] Major problems?

2003-07-09 Thread Adam Shadbolt
If you are interested in the java3d v opengl binding debate read the below: http://www.javaworld.com/javaworld/jw-05-1999/jw-05-media.html thanks Adam - Original Message - From: "Gili" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 4:14 PM Subject: Re: [JAVA3D]

Re: [JAVA3D] Major problems?

2003-07-09 Thread Ben Moxon
All of these problems are easily as severe when dealing with OpenGL directly - worse in most cases. Of the two, Java3D does a lot more for you. -ben -Original Message- From: RWGRAY [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 16:17 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Major probl

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread Horst Walther (SiG)
... thank you Ricardo, your code example runs - so it's a real proof, that it works and how to interpret your advice. Well, I think I can restrict to a single appearance. So I will try to implement according your example. This was really the fastest and most convincing way to answer my question

Re: [JAVA3D] Major problems?

2003-07-09 Thread Alan Hudson
Gili wrote: I'll be building a CAD application. Is Java3D mature enough for serious commercial use? And can I count on Sun's support? How much do they charge for support anyway? We have been working on getting X3D useful for CAD applications. X3D is a high-level format for describing 3D d

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread Horst Walther (SiG)
... thank you John, sorry for the inconvenience for sending this question again and even threefold. - This was my first posting ever. If only Branchgroups can be added / removed to / from a scengraph this mean I have to put each sphere into a single Branchgroup. I'm not sure if all these B

[JAVA3D] Orbit behaviour (flying around a point)

2003-07-09 Thread Franck Calzada
Hi all,   I'd like to use orbit behavior to fly around a specific point, looking at this point (latitude [0-360] and same longitude) First is it possible to use OrbitBehaviour class and to derive it? Should I wrote mine? Do you have some simple examples in order to help me?   Basical

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread John Wright
Horst, There are pros and cons of various ways to represent your data. Thousands of individual BranchGroups can become an issue. What you might consider is detaching your BranchGroup (so it's no longer live) adding making your changes and then reattaching it. A lot depends on just what you are r

[JAVA3D] Java3D + Swing

2003-07-09 Thread Gili Tzabari
Hi again, It is fairly important for me to be able to use Swing or Swing-like components (like context popup menus when you right-click on items or being able to display a JDialog containing object PROPERTIES) within a Java3D canvas. What should I know up-front about doing this? I read somewh

Re: [JAVA3D] Java3D + Swing

2003-07-09 Thread Ben Moxon
Go to http://www.j3d.org and check out the FAQs to start with. -ben -Original Message- From: Gili Tzabari [mailto:[EMAIL PROTECTED] Sent: 09 July 2003 14:39 To: [EMAIL PROTECTED] Subject: [JAVA3D] Java3D + Swing Hi again, It is fairly important for me to be able to use Swing or Swin

[JAVA3D] Rendering objects that have collided

2003-07-09 Thread Gili Tzabari
I've been hearing Java3D does not automatically calculate the intersection of two polygons to display them properly. Is this true? or maybe this is an advanced feature not everyone is familiar with? What happens when you've got one object passing through another and you want to render the result

Re: [JAVA3D] Java3D + Swing

2003-07-09 Thread Olivier Tassy
Hi, simply use the following in your code : JPopupMenu.setDefaultLightWeightPopupEnabled(false); - Original Message - From: "Gili Tzabari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 3:39 PM Subject: [JAVA3D] Java3D + Swing > Hi again, > >It is fairly

Re: [JAVA3D] Java3D + Swing

2003-07-09 Thread Gili Tzabari
Wow, extremely useful. Are there workarounds for *all* Swing components when mixed with heavyweight objects or are there some Swing capabilities you lose? Gili On Wed, 9 Jul 2003 18:44:38 +0100, [EMAIL PROTECTED] wrote: >Go to http://www.j3d.org and check out the FAQs to start with. > >-ben

Re: [JAVA3D] Java3D + Swing

2003-07-09 Thread RWGRAY
I've put a canvas3d in a JPanel. I divide the JPanel into different areas and the canvas3d is in one of the areas and all my buttons are in another. So the buttons, etc. are not in the canvas3d. Cheers, Bob Gray -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROT

[JAVA3D] Anybody willing to help out?

2003-07-09 Thread [EMAIL PROTECTED]
Hello list, I decided to send this, to a random snapshot of people who might be interested in testing out a bit of new technology. Hopefully reaching a decent mix of technically minded techno ''phobic'' people ;). It may be a bit out of left-field, but I''m sure it''ll be of interest to some! Basi

Re: [JAVA3D] Java3D + Swing

2003-07-09 Thread Gili Tzabari
Unfortunately this won't work for me because I want to right-click on Java3D object, get a context-sensitive window and pop up a dialog if the user selects PROPERTIES on the object. I will be forced to mix Swing + Java3D on top of the same viewable area. Gili On Wed, 9 Jul 2003 13:48:54 -04

[JAVA3D] Orbit behaviour (flying around a point)

2003-07-09 Thread Franck Calzada
  Hi all,   I'd like to use orbit behavior to fly around a specific point, looking at this point (latitude [0-360] and same longitude) First is it possible to use OrbitBehaviour class and to derive it? Should I write mine? Do you have some simple examples in order to help me?   Basi

Re: [JAVA3D] shape locations

2003-07-09 Thread trz
Nick Collier wrote: Thanks. You are, of course, correct. I guess what I'm asking is how much "housekeeping" I have to do myself. If I translate the spheres in the space, is there some method I can use to get the new center point of the sphere (e.g. sphere.getCenter()) or do I have to translate the

[JAVA3D] is it possible to add swing Tooltip to java3D universe.

2003-07-09 Thread Naveen Babu Chikkala
is it possible to add Tooltip to java3D universe. some shape3D objects i am displaying on the univers of 3D. if my mouse points any one of the shape3D objects i need to display some msg as Tooltip. is this possible in jav3D. Regards naveen babu chikkala ==

Re: [JAVA3D] Anybody willing to help out?

2003-07-09 Thread Wileynet
You cant even get away from spam on the java3D list... -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 10:52 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Anybody willing to help out? Hello list,

Re: [JAVA3D] adding objects to a life scene

2003-07-09 Thread Mark Hood
> Date: Wed, 9 Jul 2003 15:05:49 +0200 > From: "Horst Walther (SiG)" <[EMAIL PROTECTED]> > > simple question: how can I add objects, e.g. simple spheres, to a life > graph? > > Background is: I like to dynamically add 3d-datapoints read from a external > data feeding device each minute to e