Re: [JAVA3D] Geometry Types

2002-04-22 Thread Chris Forrester
This list is from my personal experience and whatever i've read on the internet about the various formats. That said: IndexedQuad/Triangle/StripArray - A poor option to use, since java3d must unindexify the data each frame to send it to the card. But dead simple to work with, and the nicest form

[JAVA3D] view problem

2002-04-22 Thread A. Murat Tanyer
Hi; I am trying to load an object from VRML into my Java3D scene. The object has a bounding sphere with: radius = r =112.05467415507485 center = (x,y,z) = (100.0, 50.0, 0.0) Now what I am trying to do is finding a good vantage point for this object. However, what I am getting is an empty screen

Re: [JAVA3D] (picking)

2002-04-22 Thread Simeon H.K. Fitch
> hello java3d people, > i am new to the 3d world. my requirement is very small. i > have added around 100 cylinders to branchgroup. i now want to take > action on mouseclicks. as a person viewing my application clicks > on a cylinder, another class has to be invoked. how do i do > this? Che

Re: [JAVA3D] j3d.org site testing TROUBLES

2002-04-22 Thread Simeon H.K. Fitch
> > We have found that using webstart to deploy applications or applets has > totally simplified every aspect of deployment. It is getting better!!! > > Or you can pay for Install Anywhere but after lots of research there is > no reason to go any other way than webstart. This is a little off topi

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Simeon H.K. Fitch
> > This list is from my personal experience and whatever i've read on the > internet about the various formats. That said: > Thanks for sharing this with us. Justin, any chance of getting this info in the FAQ? It would certainly serve as a seed for more information on the topic... Simeon >

Re: [JAVA3D] view problem

2002-04-22 Thread Simeon H.K. Fitch
> > I am trying to load an object from VRML into my Java3D scene. The object > has a bounding sphere with: > > radius = r =112.05467415507485 > center = (x,y,z) = (100.0, 50.0, 0.0) > > Now what I am trying to do is finding a good vantage point for this > object. However, what I am getting is an e

[JAVA3D] Java 1.3 - 1.4

2002-04-22 Thread Frank Oellien
Hello, I know that this is not only a problem with Java3D, however it occurs in my 3D application. After compilation of my Java3D application with Java1.4 and Java3D 1.2.1_04 it seems to have problem under JRE 1.3 plattforms. Is there a way to compile the application in such a manner, that it is

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Artur Biesiadowski
Chris Forrester wrote: > BYREF geometry notes: > > Using the BYREF flag indicates that the data used within the geometry is > accessed through user arrays. Really the only way to go for volatile > meshes, > particle systems, bones animation, and multi/sub material objects, add two > grades for me

[JAVA3D] reset position

2002-04-22 Thread Silvano Malfatti
I imported an object DXF to my universe, but I don´t know your position. How can I to do to init the object in the positio 0.0,0.0,0.0 SILVANO MALFATTI COMPUTER SCIENCE - URI University - ==

[JAVA3D] Computing aggregate scale

2002-04-22 Thread Simeon H.K. Fitch
I am working on a behavior whereby I need to know how much a particular Shape3D has been scaled (w.r.t. the scene graph root), and what I thought would be simple just isn't working as I expected. I'm hoping for some conceptual checking here I have an object that is 1x1x1 which sits under a fe

[JAVA3D] Give me a CAVE on PC - Cluster - here it is !

2002-04-22 Thread Claus Giesenberg
Hi All ! I have found a low cost CAVE at FutureLab (http://futurelab.aec.at/) in Linz, Austria. They are running the CAVE with a PC Cluster and Linux RT. For rendering they use Performer and CaveLib on simple pc graphic cards (GeForce 3)! This week i'am going to visit the FutureLab and will give

[JAVA3D] Loaded obj files how do I add appearances?

2002-04-22 Thread Karl Parry
Hi, I'm trying to add appearances to a loaded in object file. I can add appearances to geometry, but I'm having trouble specifiying textures and colours to my loaded in 3D file. How is this done? Thanks in advance. KP __ Do You Yahoo!? Everything

Re: [JAVA3D] Changes after compilation...

2002-04-22 Thread Doug Twilleager
The issue is not with the concept of compilation and capability bits. If you set capability bits, and compile an object, then you do have access to the things that you set with the capability bits. And, given our current set of compile optimizations, it should work fine because they are all mach

Re: [JAVA3D] Index out of bounds?

2002-04-22 Thread Chien Yang
Bob, From the stack trace, you aren't using Java 3D 1.3beta1. We did some major setLive/clearLive cleanup in Java 3D 1.3beta1. If possible you might want to switch to Java 3D 1.3beta1, and beta2 should be out very soon. Please send us a test program if the bug still exists in Java 3D1.3 be

Re: [JAVA3D] SceneGraphIO - why not serialization ?

2002-04-22 Thread Paul Byrne
HI Artur, There are also some key features of the SceneGraph IO API which you would loose by just using Serialization. The main feature is that the API preserves the sharing of Node Components between BranchGraphs which are sent over the IO Stream in separate operations. This is not possible wit

[JAVA3D] Java 3D FAQ Weekly Posting (22 Apr 2002)

2002-04-22 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday April 22 2002 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If the

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Justin Couch
Simeon H.K. Fitch wrote: > Justin, any chance of getting this info in the FAQ? It would certainly serve > as a seed for more information on the topic... Could do, but I've never seen it asked before so not exactly sure its a FAQ :) I also have something that I've been writing up _very_ slowly in

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Simeon H.K. Fitch
> Simeon H.K. Fitch wrote: > > > Justin, any chance of getting this info in the FAQ? It would > certainly serve > > as a seed for more information on the topic... > > Could do, but I've never seen it asked before so not exactly sure its a > FAQ :) I thought it sort of fell into the category of "

Re: [JAVA3D] Geometry Types

2002-04-22 Thread John Wright
It may not be asked frequently but I do think most of us think about it and wonder when we are first learning Java 3D. Chris's summary looks fairly decent to me on quick glance but I'd be inclined to ask one of the Sun people to review it before we commit it to a FAQ. - John Wright Starfire Resea

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Justin Couch
Simeon H.K. Fitch wrote: > Is there some other section of the site where this type of information would > be more appropriate? Possibly the architecture & implmentation area as these pieces of information are specific to the Sun implementation of the spec. Another implementation might do things

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Kelvin Chung
>QuadArray - > >Mostly used in particle systems due to the billboard nature of a single >quad, works nicely in OpenGL. DirectX has issues however, since it doesn't >natively support quads and java3d must support this with >DrawPrimitiveStrided. Tested and true, don't use this geometry type if you

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-22 Thread Kyle McDonald
John Wright wrote: > Allessandro, > > Sure... HTMLConverter *would* be dead if they'd make Netscape 4.7x > handle just the APPLET tag too. I've tried IE & Netscape 6 (several > versions of each) as well as Mozilla & Opera. For my own personal > preference Netscape 4.7x is far better than any of

Re: [JAVA3D] Bug using JAI with Java 3D 1.3 B1?

2002-04-22 Thread Kelvin Chung
Hi Daniel, Bug 4672391 - ImageComponent2D/3D getImage() throws ClassCastException for non BufferedImage is submitted for this. Thanks for your bug report. - Kelvin - Java 3D Team Sun Microsystems Inc. >Date: Sun, 21 Apr 2002 21:35:26 -0600 >From: Daniel Selman <[EMAIL PROTECT

[JAVA3D] Deadlock in MaterControl.runMonitor?

2002-04-22 Thread Simeon H.K. Fitch
In my application I have some slider for controlling the rotation of an object. So whenever a slider is moved, I set the transform for a TransformGroup. After dragging the slider around for a few seconds my application will lock up. When I view the JVM state in a debugger the AWT-EventQueue threa

Re: [JAVA3D] Deadlock in MaterControl.runMonitor?

2002-04-22 Thread Simeon H.K. Fitch
My backtrace got cut off in my previous email. Here it is again: javax.media.j3d.MasterControl.runMonitor : 2803 javax.media.j3d.MasterControl.setWork : 2567 javax.media.j3d.MasterControl.processMessage : 1060 javax.media.j3d.WakeupCondition.setConditionMet : 100 javax.media.j3d.WakeupCriterion.s

[JAVA3D] VRML97 animations

2002-04-22 Thread Andreas Bauer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want playback anims from VRML97 files. To load the files I am using the Xj3d loader. How do I do this and can I create multiple animatons in one file? If yes, how can I create multiple animations in 3D studio max and export them? Thanks, - --

Re: [JAVA3D] Deadlock in MaterControl.runMonitor?

2002-04-22 Thread Kelvin Chung
Hi, Please use Ctrl-Break (under windows) or kill -3 pid (under solaris) and send us the full stacktrace. Also v1.3 beta2 would be out very soon so it is worth to give it a try first. Thanks. - Kelvin --- Java 3D Team Sun Microsystems Inc. >Date: Mon, 22 Apr 2002 14:16:00 -0500

Re: [JAVA3D] Help with ImageComponent methods

2002-04-22 Thread Kelvin Chung
Hi, This bug 4625249 - UnsupportedOperationException throws in ImageComponent for some ColorModel is fixed in the upcoming v1.3 beta2 release. Thanks. - Kelvin --- Java 3D Team Sun Microsystems Inc. >Date: Sat, 20 Apr 2002 18:11:53 -0400 >From: Vijayaraghavan Rajagopal <[EMAIL

Re: [JAVA3D] VRML97 animations

2002-04-22 Thread Giles
Andreas Bauer wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Hi, > >I want playback anims from VRML97 files. To load the files I am using the Xj3d >loader. How do I do this and can I create multiple animatons in one file? If >yes, how can I create multiple animations in 3D studio max a

[JAVA3D] Animation

2002-04-22 Thread Chad Zalkin
What is the best way to do Character animation? I will have a potential for a large (could be 20 or 30 or more) number of characters on the screen at any given time, all animated. (I am willing to LOD the characters as more than 10 or so come on screen if I need to, but I hope I can void that

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Chris Forrester
Cool, I'll look into that. I was under the impression that NIO would only be useful for custom JNI code running with java3d (as per the notes in the api spec), but then I realized that java3d is itself custom JNI code. So my question then is this then: (to all you groovy Sun architects out there,

Re: [JAVA3D] Offscreen Rendering

2002-04-22 Thread Michael Nischt
hi again, now I have tried almost every View Policiy, but no result was the desired -  Projections of the OffScreenCanvas is still different from the OnScreenCanvas. and I still don't understand why sometimes the images disappear although they where drawn into the OffScreenBuffer..   so plea

Re: [JAVA3D] Deadlock in MaterControl.runMonitor?

2002-04-22 Thread Simeon H.K. Fitch
> > Please use Ctrl-Break (under windows) or kill -3 pid (under > solaris) and send us the full stacktrace. The more complete backtrace (I never knew that 1.3 would actually "detect" deadlocks!!!). "Thread-3" prio=5 tid=0x2342c8 nid=0x8cc waiting on monitor [0..0x6fb30] "org.swri.common.log.L

Re: [JAVA3D] Animation

2002-04-22 Thread Chris Forrester
Character Animation = FAQ material. Keyframe animation is the speediest way to go, since you can use very simple interpolation routines for smooth animation, and just feed that into the TransformGroup. Plus with this, you can share vertex information with BYREF arrays to save lots of memory. Mor

Re: [JAVA3D] Deadlock in MaterControl.runMonitor?

2002-04-22 Thread Kelvin Chung
Hi Simeon, Bug 4672530 - Deadlock when using WakeupOnTransformChange is filed for this. Too late to fix in v1.3 beta2 but this will be fixed when v1.3 release. Thanks for your bug report. - Kelvin - Java 3D Team Sun Microsystems Inc. >Date: Mon, 22 Apr 2002 16:20:33 -0500

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Doug Twilleager
If all of your data is created in java land, then nio doesn't get you any faster. If you read the current specifications about JNI, it talks about the potential of data being copied when it is passed from java through JNI. There are API's in JNI that prevent such a copy. And, the way that Java

[JAVA3D] Java3D 1.3Beta

2002-04-22 Thread Vijayaraghavan Rajagopal
Hi, I am using WindowsXp. I unistalled Java3D 1.2.1_04. I am trying to install runtime Java3D 1.3Beta for DirectX. I keep getting a message saying that the Java Virtual Machine does not exist. I re-installed the older version and it works just fine. Has someone encountered this problem before?

Re: [JAVA3D] Changes after compilation...

2002-04-22 Thread David Grace
Hi all, If you add hardware and machine optimizations will you add a flag to turn in off? David. -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of Doug Twilleager Sent: Tuesday, April 23, 2002 2:33 AM To: [EMAIL PROTECTED] Subject: Re: [JAV

Re: [JAVA3D] Animation

2002-04-22 Thread Scott
I'm using a combination of keyframe and (cheap) skeletal animation for my characters. Well, not true "skeletal", but fully jointed models (torso, hips, knees, shoulders, elbows), and then I come up with joint and bone rotation and transformation info (roughly modelled in Max). Each body part is

Re: [JAVA3D] Changes after compilation...

2002-04-22 Thread Doug Twilleager
The issue of hardware and machine optimizations starts to get complicated, but yes, there would be a way to turn off such optimizations. We don't currently have a clean mechanism in the API to do these sorts of things, but we have discussed a number of the issues surrounding such things, and what

Re: [JAVA3D] Changes after compilation...

2002-04-22 Thread Kyle McDonald
Doug, Have you considered the possibility to compile an already compiled scene? I can forsee a setup where Non-Machine/Hardware optimizations are skipped when the scene is compiled on a server, but the developer wants to compile the scene further on the destination machine to take advantage of wh

Re: [JAVA3D] Changes after compilation...

2002-04-22 Thread Doug Twilleager
It is a bit more flexible if the compiler can do a single compilation on the target. That way, it doesn't have to work around anything that might not apply on the target hardware. Having said that, we are still pretty young at this style of compilation, so it could be in the future that this met

[JAVA3D] avi textures

2002-04-22 Thread clifton.zama
Hi Everyone      Does anyone know how to play movies on 3D objects as textures. Or does anyone how why when using the demo given by Sun I can get better performance , because right now all I get is weird line which I guess are supposed to be the movie.   Thanks

Re: [JAVA3D] Java3D 1.3Beta

2002-04-22 Thread Jae-Hak Kim
I had the same problem with installing Java3D 1.3Beta in Windows XP. The following is my solution. Java3D 1.3Beta installer try to find the folder of VM and JDK. But, don't trust the folder it found. Even though the folder which the installler found is correct, you have to browse and choose the fo

Re: [JAVA3D] JAI and Java 3D comments?

2002-04-22 Thread Oleg Pariser
Oleg... I doubt I can post to java3d since I'm not a subscriber, so if you would, please forward this on. >>Has anyone tried using JAI to render dynamic texture images? I did get >>something working tonight, the code *looks* great (nice modular 2D rendering >>graph, etc.) but the performance is d

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Artur Biesiadowski
Doug Twilleager wrote: > If all of your data is created in java land, then nio doesn't get you > any faster. If you read the current specifications about JNI, it talks > about the potential of data being copied when it is passed from java > through JNI. There are API's in JNI that prevent such a

Re: [JAVA3D] Java3D 1.3Beta

2002-04-22 Thread Brad Christiansen
Hi, I haven't been able to get the 1.3b installer to work at all on my NT machine. I followed these instructions (mailed to this list) and all is good: rename the install file ".exe" to ".zip" you must extract from it the files(shearch them in): J3D.dll j3daudio.dll J3DUtils.dll j3daudio.jar

Re: [JAVA3D] CAVES-give me one on a PC

2002-04-22 Thread Richard Smith - Systems Engineer - Melbourne
Following on from Justin's comments, it was the Expert3D card that used a modified Wildcat chip with a PCI interface. The latest framebuffer from Sun is XVR-1000, which uses a UPA (crossbar) interface. Each XVR-1000 can drive 2 displays, so that a SunBlade 2000 which has 2 UPA slots can drive 4 di

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Doug Twilleager
The pinning ends up being essentially free. There is no impact on performance. You are correct. Nio becomes very usefull when the memory associated with a primitive is controlled by native code, such as in some current nvidia extensions. Today we use vertex arrays with no extensions (or display

Re: [JAVA3D] Animation

2002-04-22 Thread Chris Forrester
Yeah, that's exactly what i'm talking about by "regular keyframes". Quick and easy, and looks decent enough on most things. The problem with not building an exporter is the fact that yes- you can set up a simple "look up, aim arm" animation in a matter of minutes, but a non-3d-coder will take a w

[JAVA3D] Java3D, Shutter Glasses, MS Windows

2002-04-22 Thread Carsten Friedrich
Hi, I currently try to use shutter glasses with Java3D (1.2, D3D or OpenGL) on a MS Windows machine. My java program basically runs in stereo on a SGI with shutter glasses (given that I switch the X sever into stereo mode by hand first). On my Windows XP machine (Asus v8200, Geforce3 T5) which a

Re: [JAVA3D] Animation

2002-04-22 Thread Chad Zalkin
Are you saying that the geometery benieth each joint is a spearate object so that the character is more than one Shape3D? This seems the easiest way to go for simple bones animation, but how would you deal with clothes bending around joints or ensuring you don't have creases or worse, gaps? Than