Re: [JAVA3D] Geometry Update

2002-04-01 Thread booo jksdhaf
First, let me assume you are talking about Max's 'Multi/Sub Object' material. (If you are simply talking about a 'Composite' material type (a way to export multitexture data), then just multiple TextureUnitState's would do.) So, what we need in this case is what you're talking sort of talking abo

Re: [JAVA3D] Model Animation, (was: Re: [JAVA3D] Neverwinter Nigh ts model loader)

2002-04-01 Thread Kevin J. Duling
David, I found this article of yours: http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0106&L=java3d-interest&P=R11 869 Is that the one you're referring to? From what you said below, I thought you were referring to some code you'd posted. I couldn't tell from that article that you were using a

Re: [JAVA3D] Geometry Update

2002-04-01 Thread Michael Nischt
Hi Doug,> This will work in the current implementation, but it is technically> one of those "undefined behavior" cases.in case david's suggestion isn't safe for the future - I hope there will bean 'official'  way, beause I don't know how to handle 3DSMax's MutiMaterialsof a mesh insteadand I

Re: [JAVA3D] Neverwinter Nights model loader

2002-04-01 Thread Artur Biesiadowski
Michael Nischt wrote: > do you know where to get detailed information about the format ? http://forums.bioware.com/viewtopic.php?mode=viewtopic&topic=18507&forum=7 http://forums.bioware.com/viewtopic.php?mode=viewtopic&topic=18569&forum=7 For most part format is obvious - this is ascii. Face d

Re: [JAVA3D] Model Animation

2002-04-01 Thread Michael Nischt
may this is in interest of some: I have written a Java3D Quake 3 Model player (.md3 format) some time ago, which can be found at: http://zero.monoid.net/stuff/_think.zip (4.5 MB) includes source, 2 models and a short demo script.. Java 2. 1.4 and java3D 1.3 are both ! after cleaning up the load

Re: [JAVA3D] Preserving relative size after transform

2002-04-01 Thread Kasparian, Raffi J.
Simeon, I have done things similar to this. Every time a frame is rendered a Behavior updates a TransformGroup as needed. In your case, add a Behavior to the scene graph right above your cursor that WakeupOnElapsedFrames( 0, true ). In this behavior find the distance from the ViewPlatform to the

[JAVA3D] cannot render past first frame off screen

2002-04-01 Thread Paulhwa Lee
Hello all, I have a problem with the off screen rendering of the Canvas3D. My problem is that i can only successfully render the first frame of the spinning cube in the Java3D demo. Subsequent calls to renderOffScreenBuffer() would give me the same frame over. When I call getView().getFrameNumber(

Re: [JAVA3D] Clipping - ModelClip bug?

2002-04-01 Thread Kelvin Chung
>Date: Wed, 27 Mar 2002 12:39:37 +0200 >From: Cristian Tota <[EMAIL PROTECTED]> >Subject: [JAVA3D] Clipping - ModelClip bug? >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 >X-Priority: 3 >X-MSMail-priority: Normal >Delivered-to: [EMAIL PROTECTED

Re: [JAVA3D] Model Animation, (was: Re: [JAVA3D] Neverwinter Nigh ts model loader)

2002-04-01 Thread Yazel, David J.
When we wrote our Milkshape importer and initial skin and bones system (which was posted to this list some time ago) we did just as you suggested. The skeleton is pulled out and separated from the animation, so that the same animation could be used against different figures. But one of the proble

Re: [JAVA3D] Geometry Update

2002-04-01 Thread Michael Nischt
hi david, thanks for the answer - probably calling the dummy updater within the other updater is a great idea.   greetings -Michael Nischt   - Original Message - From: Yazel, David J. To: [EMAIL PROTECTED] Sent: Monday, April 01, 2002 8:40 PM Subject: Re: [JAVA3D

[JAVA3D] Model Animation, (was: Re: [JAVA3D] Neverwinter Nights model loader)

2002-04-01 Thread Kevin J. Duling
Yeah, animations are a problem. I'm still trying to decide how I want to handle Milkshape keyframes and present them in some sort of usable format for developers. I'm thinking of using a metadata file to go along with the model. Based on my limited experience with MD2 models, I'm guessing that

Re: [JAVA3D] Geometry Update

2002-04-01 Thread Doug Twilleager
This will work in the current implementation, but it is technically one of those "undefined behavior" cases. Doug Twilleager Java 3D Team Sun Microsystems >Subject: Re: [JAVA3D] Geometry Update >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Delivered-to: [EMAIL PROTECTED] > >Ooh this is a good one!

Re: [JAVA3D] Geometry Update

2002-04-01 Thread Yazel, David J.
Ooh this is a good one!   Since it is considered illegal to update the vertices of by-ref geometry outside of a geometry updater it would be "bad" to do as you have suggested.  However, I am not sure if it would actually be a problem if you do this from a behavior since I would expect that both

Re: [JAVA3D] Neverwinter Nights model loader

2002-04-01 Thread Michael Nischt
hi,   >Has anybody done/experimented with making loader for Neverwinter Nights>models ? do you know where to get detailed information about the format ?   greetings -Michael Nischt

Re: [JAVA3D] Neverwinter Nights model loader

2002-04-01 Thread Artur Biesiadowski
Robert Bergman wrote: > Not I, but I'd love to hear about any developments > people come up with in that area. Problem is with importing animations. Model itself should be quite simple (I mean some work, but no showstoppers). But what with animations ? I don't think that Loader interface gives an

[JAVA3D] Geometry Update

2002-04-01 Thread Michael Nischt
hello everyone,   I have an question concerning geometry-update, with shared vertices:   Two (Indexed)GeometryArrays (BY_REFERENCE) share the same vertices (with different indices), because some parts have different Materials. I decided to put the same cordinate/normal arrays in both and I 

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

2002-04-01 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday April 1 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 ther

Re: [JAVA3D] swing popup window

2002-04-01 Thread John Wright
Grace, Use this to get the screen size: Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize(); Then "screenDim.width" should give you the width and something like "yourdialog.setLocation(screenDim.width/2,0)" would position your gui dialog (halfway across the screen). - John Wright

Re: [JAVA3D] Neverwinter Nights model loader

2002-04-01 Thread Robert Bergman
Not I, but I'd love to hear about any developments people come up with in that area. -Bob --- Artur Biesiadowski <[EMAIL PROTECTED]> wrote: > Has anybody done/experimented with making loader for > Neverwinter Nights > models ? > > Artur > > ===

[JAVA3D] Neverwinter Nights model loader

2002-04-01 Thread Artur Biesiadowski
Has anybody done/experimented with making loader for Neverwinter Nights models ? Artur === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help,

Re: [JAVA3D] Synchronizing geometry updates

2002-04-01 Thread Yazel, David J.
We use a transaction system to force integrity of the scenegraph. Basically there is a single behavior with a wakeup elapsed frame 0. This behavior wakes up, recalculates the view, updates each major sub-system using the frame time (particles, landscape, billboards, object movements). It then c

Re: [JAVA3D] Scale

2002-04-01 Thread Grace S
Hi, Do you know that if I wanted to convert the verticies 1,1 in j3d to be represented in a swing interface, what would their value be? Thanks >From: "Nikolai V. Chr." <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D

Re: [JAVA3D] A basic doubt

2002-04-01 Thread Artur Biesiadowski
Nitin.Jain wrote: > Hi Doug, > > I'm attaching the source code where I'm creating 1000 sphere and it takes > around 7 secs to render it. If I increase this number to 15000 it takes 100+ > secs, however in both the cases initial number of spheres visible on the > screen are same. First

Re: [JAVA3D] swing popup window

2002-04-01 Thread Grace S
Hi, Thanks for the suggestion, But could you please give me an example of the code that would be used to do this, or could you tell me where I could find sample code that does this. As I am unsure of how to do this. thanks Grace >From: John Wright <[EMAIL PROTECTED]> >Reply-To: Discussion list

Re: [JAVA3D] dxf to java3d

2002-04-01 Thread Andreas Jerke
I use the ModelLoader from NCSA in the portfolio.jar. Docs: http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/1.3beta3/docs/index.html Homepage: http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/ look into package ncsa.j3d.loaders ! ::-Original Message- ::From: Discussion list for Java 3D

[JAVA3D] Synchronizing geometry updates

2002-04-01 Thread Roland Sarrazin
Hello, I'm looking for an efficient way to synchronize geometry updates, that is, I have some geometries that I want to update, but I would like that the user doesn't see an update after the other, but only sees the final result. I have tried to stop the rendering through universe.getCanvas().

Re: [JAVA3D] dxf to java3d

2002-04-01 Thread Andrew Sinclair
Yes, you can import your dxf files into J3D using a Loader, such as ModelLoader found in the NCSA Portfolio. You can download this at http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/ -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of

[JAVA3D] dxf to java3d

2002-04-01 Thread silvano
can I convert dxf files to Java3D? or I need to convert dxf files to vrml, and after add vrml in my universe java3D using loaders.     how can I do this?   can I use any tool to convert dxf to vrml or java3D?         Thanks a lot.            

Re: [JAVA3D] animation interaction

2002-04-01 Thread Fred Klingener
From: bh ahn Sent: Sunday, March 31, 2002 7:49 PM > hi all > I would try to make program which is animated with interaction. > For example, first make animation using Interpolator class and then insert interaction using > Behavior class. > Is this possible thing? Sure. > what can i do for th

[JAVA3D] Couple of questions

2002-04-01 Thread David Rush
Hi all, Firstly I am experiencing some difficulty integrating my Canvas3d's into my Swing components. I am putting my canvases into a series of nested JSplitPanes. To be able to resize the panes, I need to set the minimum size of each JComponent. As Canvas3D extends Component it doesn't have thi

[JAVA3D] animation interaction

2002-04-01 Thread bh ahn
hi all   I would try to make program which is animated with interaction.   For example, first make animation using Interpolator class and then insert interaction using Behavior class.   Is this possible thing?   what can i do for this?   thanks

Re: [JAVA3D] A basic doubt

2002-04-01 Thread Nitin.Jain
Hi Doug, I'm attaching the source code where I'm creating 1000 sphere and it takes around 7 secs to render it. If I increase this number to 15000 it takes 100+ secs, however in both the cases initial number of spheres visible on the screen are same. Regards, Nitin -Original Message- Fro

Re: [JAVA3D] Adding Shape3D objects to a live scene.

2002-04-01 Thread Joerg 'Herkules' Plewe
Hi! Thats nearly the same thing that I asked here recently. AFAIU only BranchGroup can be attached/deattached from a life graph. For attachment, the parent BranchGroup should have ALLOW_CHILDREN_EXTEND set. The BranchGroup itself should have ALLOW_DETACH set. If add a class as attachment that re