Re: [JAVA3D] Problems with TextureUnitState

2001-12-12 Thread Joachim Diepstraten
Hi Kelvin > There are known problems with multiTexture texGen > in the v1.3 beta1 release. (see bug 4525107, 4525104) Well I checked both bug reports descriptions and both don't really seem to resample my problem. In my case the mapping of other objects are influenced by the textureUnitState

Re: [JAVA3D] adding my view on a robot

2001-12-12 Thread Michel Wigbers
thanks for your Comment Josh, I tried to add my ViewPlatform on the TransformGroup of my robot. But then i get an multipleparent exception. i solved that by detaching the BranchGroup above the ViewPlatform and add that BranchGroup on the Transformgroup of the robot. But then my aplet doesn't rend

Re: [JAVA3D] adding my view on a robot

2001-12-12 Thread Thomas Gilbert Giusepe
Hi Wigbers, I have sent to you a sample code where you will find a set of 3d objects jumped with the camera viewplataform. The idea for you problem is the same. Where you have the 3d object, all you need is just to put you robot view in it. I hope this help u. §:0). >From: Josh Richmond <[EMA

[JAVA3D] VRML and animation

2001-12-12 Thread Andreas Bauer
Hello, I want to play VRML97 animations in java 3D. Should I use the old VRML97 loader from sun or Xj3D ? Can somebody send me source code examples for playing back animations, please? -- Andreas Bauer [EMAIL PROTECTED] ==

[JAVA3D] Radiosity

2001-12-12 Thread Konstantinos Rekalidis
Hi all I dont know if anyone of you has develop any Radiosity Rendered app with Java3D.I do but I have a problem in the rendering section.Some patches displayed as black and i dont know why. Also I can tell you that the way that the black patches are displayed is not random but like "plan.jpg". Al

Re: [JAVA3D] Radiosity

2001-12-12 Thread Artur Biesiadowski
Konstantinos Rekalidis wrote: > Hi all > I dont know if anyone of you has develop any Radiosity Rendered app with > Java3D.I do but I have a problem in the rendering section.Some patches > displayed as black and i dont know why. Also I can tell you that the way > that the black patches are displa

Re: [JAVA3D] Radiosity

2001-12-12 Thread Joachim Diepstraten
Ehlo > If you don't want to manipulate geometry, you can always change > SomethingAttributes (don't have doc at hand - Rendering or Polygon) to > CULL_NONE - this way none of triangles will be culled. You have to set the PolygonAttributes of the Shape3D node where you geometry is contained in to

Re: [JAVA3D] Getting models from blender to Java3D

2001-12-12 Thread Michael Knezevic
--- Bob Dengle <[EMAIL PROTECTED]> schrieb: > I've been working off and on on this cause I like to > toy with Blender in my > free time and I think the easiest way to get an > animated model from Blender > to Java3D would be to write some kind of Python > export script, because the > native Blend

Re: [JAVA3D] Java3D, FlexPorter, Animation

2001-12-12 Thread David Yazel
We recently wrote a loader for the flexporter format to move skin and bone animation from 3dsmax/char studio. Currently we assign the bone names using the CSIDS that flexporter produces, but eventually we will need to map the bones back to standards Bip01 names also. I was planning on asking Pi

[JAVA3D] Memory consumption by textures

2001-12-12 Thread Ewan Borland
Hi, I'm trying to load a number of models into a switch group and then interpolate through them. Models are taking about 3MB RAM for the geometry and have 8 or 9 JPEG textures each. The total textures per model is about 200K each. However when I load the geometry with associated textures each ne

Re: [JAVA3D] Java 3D 1.3 Beta 1 - frozen app

2001-12-12 Thread Jan Becicka
Hi, I've changed timing in my application, and it helps. But once (only once) this exception was thrown: java.lang.NullPointerException at javax.media.j3d.MasterControl.createUpdateThread(MasterControl.java:1677) at javax.media.j3d.MasterControl.registerView(MasterControl.java:1844

Re: [JAVA3D] Getting models from blender to Java3D

2001-12-12 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Getting models from blender to Java3D I took a look at the blender path last night. Blender has no file format to speak of. One would have to write out some other file format by parsing the data in Python and then exporting it out as the data is all in memory for Python. Th

Re: [JAVA3D] Java3D, FlexPorter, Animation

2001-12-12 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Java3D, FlexPorter, Animation David would you be willing to share some of your code that relates to importing skinned objects? > -Original Message- > From: David Yazel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 12, 2001 7:49 AM > To: [EMAIL PROTECTED]

Re: [JAVA3D] Getting models from blender to Java3D

2001-12-12 Thread Michael Knezevic
--- "Pierce, Gregory (TBS)" <[EMAIL PROTECTED]> schrieb: > I took a look at the blender path last night. > Blender has no file format to speak of. One would > have to write out some other file format by parsing > the data in Python and then exporting it out as the > data is all in memory for Pyth

Re: [JAVA3D] Java 3D 1.3 Beta 1 - frozen app

2001-12-12 Thread Chien Yang
John, To be sure that the problem you've encountered is fixed in our next release. It is best that you send us a test program and the steps to reproduce it, eventhough we might have fixed a bug that seems to have the same problem. You never know unless it's tested with your program. Thanks

[JAVA3D] Using geometry by reference

2001-12-12 Thread Zak Nixon
Hello all,       I was debating on the pros/cons to using GeometryByReference. As of now, I just find the object and replace it with the new one. Is going the GeometryByReference pros outweigh the speed issues of detaching all the objects all the time?     Thank you for any input.   Zak

Re: [JAVA3D] Getting models from blender to Java3D

2001-12-12 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Getting models from blender to Java3D Well there are tons of loaders out there. What is your tool path? Do you want your tool to export something into a format that Java3D can read or do you want Java3D to be able to read arbitrary files without having to have the tool arou

[JAVA3D] The Date of the Dead-Line is ... ? ( please post )

2001-12-12 Thread Michael Schulman
December 21. Go to java.sun.com/javaone . Then click on 2002 San Francisco. You will see the information there. > Date: Wed, 12 Dec 2001 11:45:44 -0500 > From: "P. Flavin" <[EMAIL PROTECTED]> > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 > X-Accept-Language:

Re: [JAVA3D] The Date of the Dead-Line is ... ? ( please post )

2001-12-12 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] The Date of the Dead-Line is ... ? ( please post ) Got some interesting Java3D stuff but it unfortunately won't be ready for December 21st. What's the next show and tell date so I can add it to a milestone? > -Original Message- > From: Michael Schulman [mailto:[EMA

[JAVA3D] Testing collision between triangles

2001-12-12 Thread Roland Sarrazin
JAVA3D-INTEREST Digest - 10 Dec 2001 to 11 Dec 2001 (#2001-353)Hello dear list, Nay, not him again... Yes, I'm back with collision detection questions, there it is! I remind you my case: I've got a moving deformable object (a particle system) which I want to test against a solide immobile object

[JAVA3D] dynamically change the appearance

2001-12-12 Thread thorsten topol
Hi, I would like to know how to change my objects' appearance once the scene has been added to the universe (universe.addBranchGraph(scene);). I need this info in order to dynamically change the color of my objects when the user press a swing button. Thank you. __

Re: [JAVA3D] Memory consumption by textures

2001-12-12 Thread Chien Yang
Ewan, Can you elaborate more on how you get the 20MB number ? - Chien Yang Java 3D Team. >Delivered-To: [EMAIL PROTECTED] >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: Wed, 1

Re: [JAVA3D] Memory consumption by textures

2001-12-12 Thread David Yazel
Are you mipmapping the textures? That would double the memory. Are you sharing textures for models if they are the same? That would help reduce texture usage. Dave Yazel - Original Message - From: Ewan Borland <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 200

Re: [JAVA3D] Memory consumption by textures

2001-12-12 Thread Rob Crompton
are JPEG textures decompressed on loading? 200K of jpeg could be a whole lot more when decompressed. David Yazel wrote: >Are you mipmapping the textures? That would double the memory. Are you >sharing textures for models if they are the same? That would help reduce >texture usage. > >Dave Yaz

[JAVA3D] Relating sound to moving objects (sources).

2001-12-12 Thread Mick Tobin
Hoping someone might be able to help!! I'm trying (in vain) to include sound into my program. I was hoping that while the sound source (for example, a box) moves, so does the sound. When I set the object to move, the sound stays in its original position. I know that the answer to this problem is w

[JAVA3D] loading geometries from 3DStudioMax

2001-12-12 Thread Lisa Strader
Hi, I am new to Java 3D and 3D graphics. I am trying to load some geometries using the SunObjLoader that were created in 3D StudioMax and exported to .obj files. The geometries load without error along with the textures, but the locations of the objects seem wrong. E.g. I add a "room" branch gro

[JAVA3D] Bug: Quat vs AxisAngle

2001-12-12 Thread Kasparian, Raffi J.
A bug that I first noticed with Java3D 1.1.3 is still present in Java3D 1.3b1. When manipulating Transform3Ds above the ViewPlatform, using Transform3D.setRotation( Quat4d ) can produce the following error while Transform3D.setRotation( AxisAngle4d ) does not. javax.media.j3d.BadTransformExceptio

Re: [JAVA3D] Problems with TextureUnitState

2001-12-12 Thread Kelvin Chung
Hi J.D. >Well I checked both bug reports descriptions and both don't really seem to >resample my problem. In my case the mapping of other objects are >influenced by the textureUnitState and texGen routine, though they >shouldn't. Well I've send you a testcase earlier this day. > We try the test

Re: [JAVA3D] Java 3D 1.3 Beta 1 - frozen app

2001-12-12 Thread Kelvin Chung
Hi Jan, >Hi, >I've changed timing in my application, and it helps. But once (only once) >this exception was thrown: >java.lang.NullPointerException >at >javax.media.j3d.MasterControl.createUpdateThread(MasterControl.java:1677) >at >javax.media.j3d.MasterControl.registerView(Master

Re: [JAVA3D] Java 3D 1.3 Beta 1 - frozen app

2001-12-12 Thread Kelvin Chung
>Date: Wed, 12 Dec 2001 00:35:12 -0500 (EST) >From: John Nelson <[EMAIL PROTECTED]> >X-Sender: <[EMAIL PROTECTED]> >To: Kelvin Chung <[EMAIL PROTECTED]> >cc: <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Java 3D 1.3 Beta 1 - frozen app >MIME-Version: 1.0 > > >Hiya Kelvin! > >Ah... take careful note o

Re: [JAVA3D] dynamically change the appearance

2001-12-12 Thread Enrique Dumas
When you create your appearance for your shape, you have to set some capability bits, for example : Appearance app = new Appearance(); app.setCapability(Appearance.ALLOW_COLORING_ATTRIBUTES_WRITE); app.setCapability(Appearance.ALLOW_COLORING_ATTRIBUTES_READ); Color3f objColor = new Color3f(C

[JAVA3D] setChild(Node child, int index), or removeChild(int index)

2001-12-12 Thread Lan Wu-Cavener
Hi, all: I am confused about using Group.setChild() or Group.removeChild(). In the J3d specs, there is no specific mentioning of BranchGroup as the child. When I tried to remove a transformGroup from a BranchGroup, I received the error message: Group: Only a BranchGroup node can be removed or se

Re: [JAVA3D] Bug: Quat vs AxisAngle

2001-12-12 Thread Chien Yang
Raffi, A bug report, BugId 4599536, has been filed for future investigation. thanks, Chien Yang Java 3D Team. >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Wed, 12 Dec 2001 14:09:36 -0500 >From: "Kasparian, Raffi J." <[EMAIL PROTECTED]> >Subject: [JAVA3D] Bu

Re: [JAVA3D] Java3D, FlexPorter, Animation

2001-12-12 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Java3D, FlexPorter, Animation King among men :-D > -Original Message- > From: David Yazel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 12, 2001 11:17 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Java3D, FlexPorter, Animation > > > Sure. Please fe

Re: [JAVA3D] Memory consumption by textures

2001-12-12 Thread Ewan Borland
Thanks for the responses, in answer to your questions: 1. The 20MB is a rough figure I got purely by checking free memory and paging file usage etc. before and after importing each model. I loaded up about 40 models and then averaged the figure to get 20MB. To give you a better idea: I loaded u

[JAVA3D] Sound

2001-12-12 Thread David Yazel
I am just getting into sound within Java3d and throught I would ask a few questions. 1. We have regions which we want to attach ambient sounds to. (Regions are arbitrary polygon bounded areas on the landscape) As you approach a new region we want to ambient sound of the current region to decrea

Re: [JAVA3D] Java 3D 1.3 Beta 1 - frozen app

2001-12-12 Thread John Nelson
Well it sounds like the default plugin that a user automatically downloads does *not* handle Java 3d applets properly. The applets consistantly crash my machine when closed due to Canvas3d trying to destroy itself and the fixes aren't in the plugin. Guess this will be corrected with time. -- Jo

Re: [JAVA3D] Bug: Quat vs AxisAngle

2001-12-12 Thread Kelvin Chung
Hi Kasparian, This exception throws if the Transform3D matrix set is not congruent. i.e. not an orthogonal matrix with same x/y/z scale Internally, we classify the matrix using precision about 1.0e-5 when doing comparision. In your case a congruent matrix is invert() and hope that the resulti

[JAVA3D] How to view Stereo3D display

2001-12-12 Thread Hong
Hi, Recently, I installed a driver + patch to enable my GeForce2 Ti to display Java3D objects in stereo. I found a CrystalEyes to be able to view the object in stereo. However, it seems very pricey! Is there any good cheap alternative on viewing the stereo display? Scott

Re: [JAVA3D] Memory consumption by textures

2001-12-12 Thread Chien Yang
Ewan, Sorry, if my questions sound silly. Is there any difference in those models ( w and w/o texture) ? Is it possible for your apps. to do the following (or maybe you're already doing that) : 1) Do a multiple load, say 30 times, of a model with texture, and print the memory usage. 2)

Re: [JAVA3D] Java3D, FlexPorter, Animation

2001-12-12 Thread Devrim DEMIRKAN
Thank for the samples...   By the way, I am working on an animation framework. Probably I will introduce some points here in the list, with results of my study about FlexPorter in a couple of days.   take care DEVO

Re: [JAVA3D] VRML and animation

2001-12-12 Thread Justin Couch
On Wed, 12 Dec 2001, Andreas Bauer wrote: > I want to play VRML97 animations in java 3D. Should I use the old VRML97 > loader from sun or Xj3D ? Depends on what you want to do. If is simple rotate and translate animations, eitehr will do. if you want more complex animations such as morphing, onl

[JAVA3D] VRML Loader and externprotos

2001-12-12 Thread Denis Troller
We have tested several solution for the VRML loader (namely the sun loader, the ncsa portfolio and the xj3d loader), but it seems none of them can handle the externprotos.   Is there a solution ?   -- Denis Troller

Re: [JAVA3D] setChild(Node child, int index), or removeChild(int index)

2001-12-12 Thread Ben Arbel
Lan For as much asi remember you can only detach and attach a BG, if you want to detach TG or any other objects from the scene graph you need to wrap it in a BG. Ben - Original Message - From: "Lan Wu-Cavener" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001