Re: [JAVA3D] disappearing texture - a bit long

2001-03-05 Thread Stedum, Harry van
Hi Kelvin, well, by using v1.2.1 beta2 I had my textures back, which solved my original problem, but elsewhere in my app I saw changes that i've not seen before: on pages unrelated with the textured object, I lost complete subtrees out of my scenegraph ... I related this to some bugs in the new bu

Re: [JAVA3D] Java timer, frame/time based calculations

2001-03-05 Thread Rob Nugent
Dave, I hit exactly this problem also. I ended up writing a piece of native code to get the time more accurately which helped a little. The Windows source code follows, in case it's any use to you. Rob NativeClock.java: package rob.util; public class NativeClock { static { Sy

Re: [JAVA3D] j3d.org Updates

2001-03-05 Thread Dipl. Ing. Paul Szawlowski
Hi Justin ! > > Code repository is going strong. > - Added a Canvas3D that you can capture images from > - Now has a makefile system. > - InputDevice and navigation device implementations are on their way > - All code at least compiles :) For what Input Devices are you coding ? I would need

Re: [JAVA3D] j3d.org Updates

2001-03-05 Thread Justin Couch
"Dipl. Ing. Paul Szawlowski" wrote: > For what Input Devices are you coding ? I'm re-working a File based input device (reads datapoints from a file to drive the input - great for testing!) and I also have the joystick/mouse/keyboard input devices from the guy that runs j3d.de. These layer over

Re: [JAVA3D] Newbie....geting my model into java

2001-03-05 Thread John Wright
Fiasco, Because Sun will shortly be releasing code that allows us to save our scenes in a more efficient "native" format (that allows loading from URL) we don't intend to put any effort into making our 3DS loader handle URLs. We will continue to enhance our loader such that it is a valuable tool

[JAVA3D] sample decal

2001-03-05 Thread Shlomo Hershkop
can anyone provide me with pointer to some sample code to apply a picture as a decal texture to a preexisting shape? thanks in advance, ~S === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the me

Re: [JAVA3D] Video Drivers - NVidia

2001-03-05 Thread Syrus Mesdaghi
Hello John, Even though the Detonator drivers USUALLY perform better than the Elsa drivers, some times they are not as reliable (we have had Detonator drivers that crashed win2000). My suggestion is that you try to use the latest Detonator drivers, but when you run into difficulty, try the latest

[JAVA3D] Transparent objects and textures

2001-03-05 Thread Sackmunky
I have created a textured globe with transparent satellites around it. Whenever I zoom out, and the satellite is on the z axiz looking at me( the viewer) it disappears until you move it enough to get it off the texture   Any suggestions?   Zak

[JAVA3D] Node.getBounds

2001-03-05 Thread J. Lee Dixon
I am playing with Node.getBounds() (for doing run-time transparency ordering), and was expecting a different behavior out of the getBounds() call. For example, if I make a 2x2x2 cube, I expect a bounding box to be (-1,-1,-1) to (1,1,1). But then if I put a TransformGroup above the shape with a t

Re: [JAVA3D] disappearing texture - a bit long

2001-03-05 Thread Pedro Estrada
We've also noticed disappearing textures in our terrain visualization app. We store several hundred textures for the terrain tiles in a quadtree, and use a level of detail algorithm in conjuntion with a Switch node to enable and disable the terrain tiles that are visible. This works fine, and all

Re: [JAVA3D] Node.getBounds

2001-03-05 Thread J. Lee Dixon
Hm, maybe it's this: Transform3D xform = new Transform3D(); Node.getLocalToVworld(xform); Node.getBounds().transform(xform) I love answering my own questions. ;) -Lee > -Original Message- > From: J. Lee Dixon [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 05, 2001 11:13 AM > To: [EM

Re: [JAVA3D] Java timer, frame/time based calculations

2001-03-05 Thread Shawn Kendall
Just to reaffirm, this is a known issue with system times on Windows system. You can do a search on System.currentTimeMillies or something similar on the archive. David wrote: > We do our view changes and animations per frame, using elapsed time to > calculate rotations in degrees/sec and movem

Re: [JAVA3D] Vertical Sync

2001-03-05 Thread Shawn Kendall
This isn't really a driver tweak, it's just a render option. When vertical sync is on, the entire 3D canvas will be refreshed in sync with the vertical refresh, which forces the app to run no faster than the vertical sync of your monitor settings. However, if you turn it off, the app frame will u

Re: [JAVA3D] disappearing texture - a bit long

2001-03-05 Thread Kelvin Chung
Hi Harry, The bug 4399760 - Multiple views config. might not show all visible objects in every view mention is already fixed in the upcoming v1.2.1 release. It also fix 4421284 which may cause geometry in whole scenegraph lost. Since texture works fine in v1.2.1 beta2, it is recommend you ca

[JAVA3D] Ordered Groups and Optimizations

2001-03-05 Thread David
Hi all: I am trying to get a handle on managing the sorting of transparent vegetation. My first stab at it used an ordered group, with each shape being in a seperate branch group. After the user moves a short distance I check to see if the nodes are out of order (based on distance from eye to c

Re: [JAVA3D] Java timer, frame/time based calculations

2001-03-05 Thread Shawn Kendall
FYI, A while back we had to change all our behaviors to be frame based instead of delta time to get smooth motion. Accurate time would be nice. David wrote: > What about the javax.media stuff? > > http://java.sun.com/products/java-media/jmf/2.1/apidocs/javax/media/SystemTi > meBase.html > > The

Re: [JAVA3D] Vertical Sync

2001-03-05 Thread David
This might have something to with your hardware setup too. I am noticing no tearing at all, in fact the only changne I can see is faster framerates. Dave Yazel - Original Message - From: Shawn Kendall <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 05, 2001 12:49 PM Subj

Re: [JAVA3D] Java timer, frame/time based calculations

2001-03-05 Thread David
Thanks everyone for all your answers on this topic. Is seems the consensus is there no "good" way to do it under windows 9x. The options are JNI, estimation based on frame rate and possibly JMF library time support. Thanks again for the input, Dave Yazel - Original Message - From: Rob

Re: [JAVA3D] Vertical Sync

2001-03-05 Thread Shawn Kendall
You will only notice the tearing if you change the scene or view rapidly. Also, you may not notice it at all until you know what to look for. It's a very briefly redraw type tearing in a moving poly, not unlike dragging a window very fast. It's there, believe me! :-) David wrote: > This might

Re: [JAVA3D] Java timer, frame/time based calculations

2001-03-05 Thread Joerg >Herkules< Plewe
Checked it out. The API is nanosecond, the resolution is 10ms in W2k :-(( Doesn\'t help... > David wrote: > > > What about the javax.media stuff? > > > > http://java.sun.com/products/java-media/jmf/2.1/apidocs/javax/media/SystemTi > > meBase.html > > > > They say the time is to the nanose

Re: [JAVA3D] Java timer, frame/time based calculations

2001-03-05 Thread Alex Terrazas
Just to throw in a cautionary note.  The JMF Media Time is not a good solution because even through it has a method called getMediaTimeNanoSeconds (or something like that) it has the same flaw as getMillis().  Both methods are named in a misleading way and only give precission in the 10's of millis

Re: [JAVA3D] Raster img handling

2001-03-05 Thread Kelvin Chung
Hi Justin, ImageComponent2D comp = new ImageComponent2D(ImageComponent.FORMAT_RGB, img); In current implementation, comp.getImage() will not return the same img reference when byReference = false. When byReference = true it may or may not give return the same reference handle depending on w

Re: [JAVA3D] Raster img handling

2001-03-05 Thread Kelvin Chung
Hi Justin, My mistake in the last email. When byReference = true it should return the same reference, otherwise it is a bug. Thanks. - Kelvin --- Java 3D Team Sun Microsystem Inc. >X-Unix-From: [EMAIL PROTECTED] Mon Mar 5 11:20:51 2001 >MIME-Version: 1.0 >Content-MD5: A5XKFNd62H+r

[JAVA3D] bug in GridLayout setHgap() ?

2001-03-05 Thread Mona Wong
Hi Sun & Java 3D developers & : Is there a URL that lists the current Java 3D bugs that Sun knows about and what are being worked on? I think I've found a bug. According to the doc at http://java.sun.com/products/jdk/1.2/docs/api/java/awt/GridLayout.html#GridLayou t(int, int,

[JAVA3D] Behavior Scheduling Details - Was Re: [JAVA3D] Collision Arch Doc up

2001-03-05 Thread Doug Twilleager
> >This is great stuff, but I need more help on your terminology: > >A Behavior is instantiated, initialized (with Bounds set here?), attached to >a scene graph, and the scene graph made live. > >When viewer "activation radius" and Behavior "scheduling region (bounds)" >intersect, the Behavior is

Re: [JAVA3D] Fog Node

2001-03-05 Thread Doug Twilleager
The Java 3D Fog node does not have volume semantics. It is exactly like the fog specified in OpenGL and Direct3D. To do volume based fog, you may have to look at other ways of doing it. Particle systems and texture mapping techniques are two avenues to explore. It depends upon the look you are

Re: [JAVA3D] Ordered Groups and Optimizations

2001-03-05 Thread David
I ran a little experiment. I put 1000 flowers into the scene (thats 2 shapes each) using links and shared groups. With say, 500 visible at one time. The first time I put them in an ordered group and the fps was 5. The second time I jumbled them into a single branchgroup. The fps was then 17.

Re: [JAVA3D] Ordered Groups and Optimizations

2001-03-05 Thread Doug Twilleager
>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 >Subject: [JAVA3D] Ordered Groups and Optimizations >To: [EMAIL PROTECTED] > >Hi all: > >I am trying to get a handle on managing the sorting of tra

Re: [JAVA3D] Ordered Groups and Optimizations

2001-03-05 Thread Doug Twilleager
The state sorting structure that we use does treat ordered groups differently because of their extra semantics, but you should not see this much of a drop. Especially if the only thing you are changing is a transform. This sounds like a bug in our stuff. As for transparency/opaqueness changing

[JAVA3D]

2001-03-05 Thread Leonid Perlov
I have some problems using java extension to load applet after having installed my components on user machines. Although all the components are downloaded and installed properly the class loader does not load the classes from Jre\1.3\lib\ext directory. When I start the browser again the loader fin

[JAVA3D] Playing a JMF Texture

2001-03-05 Thread Alex Terrazas
I have an experiment where the subject drives around a room and touches cubes in order to play videos in the VR environment. The Videos are mapped onto a bigger cube.  I am using the model supplied in the JMF Collateral where you specify the texture as by Reference and use the custom VideoRender to

Re: [JAVA3D] Playing a JMF Texture

2001-03-05 Thread Dave Thal
Did you also try -ms256m? Dave -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Alex TerrazasSent: Monday, March 05, 2001 2:36 PMTo: [EMAIL PROTECTED]Subject: [JAVA3D] Playing a JMF TextureI have an experiment where the sub

[JAVA3D]

2001-03-05 Thread Young Ly
Hi Everyone, We are trying some particle effects in our program. They work well and look really cool (If I must say so myself : ) Unfortunately the effects seem to have introduced a bug. All our animations are changed on a single j3d wakeuponframeElapsed(0) behavior. We use platform geometry to