Re: [JAVA3D] "Little" Java3D demo

2002-08-12 Thread Joachim Diepstraten
Hi Peter > what I would like to know is how you programmed the camera movements. > Is every move hardcoded, or have you used some tool to do this ? Well as the code will very likely released at the end of this week you can have look for yourself :). But to make things short the camera movements

Re: [JAVA3D] Virtual Universe vs Simple Universe

2002-08-12 Thread Dipl. Ing. Paul Szawlowski
check out the code I wrote from the j3d.org site well hidden in the org.j3d.device.input.spaceball pakage. It contains classes to use the mouse via the InputDevice interface as well as code for doing orbits around a fixed point, normal 6D navigation, includes addtional keyboard support (buttons) a

[JAVA3D] Camera

2002-08-12 Thread Andy
Hi, I may bother you all too much, but I really want to know that how do I move the view in the virtual universe, like flying around, which is done by keynavigatorbehavior. Cuz I am trying to construct a house, and I can navigate inside. Thanks. Andy ===

Re: [JAVA3D] Texture

2002-08-12 Thread Andy
Now I used TriangleStripArray to construct a so called "box" which has 4 faces(not 6 but it's not a box), and when I fill with texture, it doesn't fill up the triangles, instead, it fills the lines...I set MODULATE and Polygon_fill already but still, any hints please? Many thanks Andy - Orig

Re: [JAVA3D] Texture

2002-08-12 Thread David Yazel
Set the PolygonAttributes.setPolygonMode(POLYGON_FILL ); Dave Yazel http://www.magicosm.net - Original Message - From: "Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 10:25 PM Subject: [JAVA3D] Texture When I create a shape3d object(e.g. linearray), how

Re: [JAVA3D] Texture

2002-08-12 Thread rick bolkey
If you're just using linearray, I don't think there's anything to apply the texture to. You just have empty space there. Did you try the triangle or quad arrays? Structures that actually have a surface? (there's no surface inside the edges of a linearray). Andy wrote: >When I create a shape3

Re: [JAVA3D] Virtual Universe vs Simple Universe

2002-08-12 Thread Paul Gordon
I concur, Configured Universe definiely makes life a lot easier for us VR users. Now if we can only get people to write their applications using InputDevice instead of mice explicitly... :-) Purgamentum init, exit purgamentum Paul Gordon Rese

[JAVA3D] Texture

2002-08-12 Thread Andy
When I create a shape3d object(e.g. linearray), how do I apply a texture(2d image) to the shape? I tried to create a 2d box and apply a texture, but it just fills the line with the texture, not the space inside the 2d box, how do I fill the 2d box with texture or color? Thanks Andy ===

Re: [JAVA3D] Virtual Universe vs Simple Universe

2002-08-12 Thread Richard Smith - Systems Engineer - Melbourne
Although heading off on a slight tangent, ConfiguredUniverse could also be looked at for a source of ideas, rather than SimpleUniverse. [Just thinking forward to deploying in mulithead environments...] ,-_|\ Richar

Re: [JAVA3D] SceneGraphFileWriter

2002-08-12 Thread Kelvin Chung
Hi Jonathan, There is a couple of Capability not set correctly. Attach is the file which fixed the problem. Besides, there is a bug in Java3D which output misleading capabilibityNotSetException message "Node: no capability to read Pickable" instead of "Node: no capability to read Collidable"

Re: [JAVA3D] My code broken with Java3d 1.3?

2002-08-12 Thread Kelvin Chung
Hi Marc, Utility bug 4730414 - Text2D setString() throws Texture illegal size Exception is submitted for this problem. It is cause by fixing bug 4416995 - Text2D.setString(String) restores filter setting default values, in v1.3 release. In that fix we're trying to perserve the Texture2D att

Re: [JAVA3D] My code broken with Java3d 1.3?

2002-08-12 Thread Marc Palmer
> It does indeed to seem like a power of two issue, since lots of tests i've > come up to a working point size/font/string length that works for an fps > counter, but other than cudging that data together yourself (i would suppose > there's a formula if you know the size/font/way font is rasteri

Re: [JAVA3D] What is java 3D trying to write to console ":0.0"?

2002-08-12 Thread Juergen Kreileder
H. Morgan <[EMAIL PROTECTED]> writes: > Hi Juergen, > >>> Xlib: connection to ":0.0" refused by server >>> Xlib: No protocol specified >> >>Are you sure the message comes from Java. I just tried this between >>two Linux machines and didn't get the problem. > > It is definitely a result of runnin

Re: [JAVA3D] KeyNavigatorBehavior

2002-08-12 Thread Andy
I just tried using simple universe instead of virtual universe and the KeyNavigatorBehavior is working like the tutorial said. However, when I use Virtual Universe, it doesn't work, my scene graph is like this: BranchGroup=>TransformGroup, KeyNavigatorBehavior=>TransformGroup=>ViewPlaform. If I

Re: [JAVA3D] Auto reboot after running for a while

2002-08-12 Thread Kelvin Chung
Hi, Is your system reboot only after you resize the window ? Can you try comment out the line view.setSceneAntialiasingEnable(true); to see if the problem still happen ? I can see your program did not set GraphicsConfigTemplate3D properly to request an antialias surface before invoking

[JAVA3D] KeyNavigatorBehavior

2002-08-12 Thread Andy
Hello everybody: I would like to thank you guys helping me a lot here. Thanks. Now I got another question. I tried to add MouseRotate into my program and it works like the tutorial. However, when I added KeyNavigatorBehavior into it, it doesn't work at all. I would like to know is there a wa

Re: [JAVA3D] AW: [JAVA3D] Transparency or detaching - make objects disappear

2002-08-12 Thread Mona Wong-Barnum
That's too slow. With large number of shapes, you'll actually see each one disappear or appear, one at a time ... unless that is what you want, I suggest using the Switch class. I did exactly this because I had a lot of shapes to turn on and off. Cheers, Mona > Why not just

[JAVA3D] Java 3D FAQ Weekly Posting (12 Aug 2002)

2002-08-12 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday August 12 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 th

Re: [JAVA3D] Transparency or detaching - make objects disappear

2002-08-12 Thread Daniel Selman
Ali, Also RenderingAttributes.setVisible, which should be pretty quick (especially if you share Appearances). If you benchmark the various approaches it would be useful if you posted the results! Sincerely, Daniel Selman Author - "Java 3D Programming" http://www.manning.com/selman -Origin

[JAVA3D] AW: [JAVA3D] Transparency or detaching - make objects disappear

2002-08-12 Thread Florin Herinean
Why not just play with the visibility flag ? You can turn objects on/off by just setting this flag! Florin -Ursprüngliche Nachricht- Von: Josh Richmond [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 15:29 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] Transparency or detaching

Re: [JAVA3D] Transparency or detaching - make objects disappear

2002-08-12 Thread Josh Richmond
Hi Ai, I know I'm not answering your question about transparency, but I think using a Switch node may be a preferable solution. Josh >>> [EMAIL PROTECTED] 08/12/02 07:06AM >>> Dear all; My scene contains about 1000 objects. I want to make about 750 of them disappear and appear in my scene by

[JAVA3D] waiting for j3d render methods

2002-08-12 Thread thomas.werth
Hi, i'm adding thousands of small Shape3D's within a for statement. right after this i'm using picktool to detect which Shape collide . My Problem now is that j3d is'nt fast enough . The Picktool doesn't find any colls , cause j3d hasn't finished adding or what else it is doing. If i'm in Debug e

[JAVA3D] Transparency or detaching - make objects disappear

2002-08-12 Thread A. Murat Tanyer
Dear all; My scene contains about 1000 objects. I want to make about 750 of them disappear and appear in my scene by clicking some buttons. Which one is a better approach in terms of cheaper rendering? 1) Making the appearance of the objects totally transparent and than opaque? 2) Detaching the

[JAVA3D] [ANNOUNCE] Jun for Java (Jun347)

2002-08-12 Thread Yoshiyuki NISHINAKA
We have released a new version, 347, of "Jun for Java". The major changes since the version 340 includes: * DXF Reader and Viewer, which were originally written for Smalltalk by Dr. Brent Reeves, are ported to Java. http://www.sra.co.jp/people/aoki/Jun/Topics/DXF/index.html

Re: [JAVA3D] My code broken with Java3d 1.3?

2002-08-12 Thread Chris Forrester
Well, i can say that i've started using text2d since java1.3beta changing the text size has never worked since i've used it, in fact, i posted a message to this news group a while ago about this very problem. it's probably not that big of a fix, but i'm not quite sure why the *initial* string-fon

[JAVA3D] View

2002-08-12 Thread Alex Hew
Anyone ever played diablo2? Was wondering how do i go about creating such a view.   Screenshot taken from d2: http://www.5star-shareware.com/Games/RPG/diablo2-screenshot.html   Appreciate the help  

Re: [JAVA3D] "Little" Java3D demo

2002-08-12 Thread "Schäfer, Peter"
very nice, indeed ! what I would like to know is how you programmed the camera movements. Is every move hardcoded, or have you used some tool to do this ? -- Peter > -Original Message- > From: Joachim Diepstraten > [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 8. August 2002 09:40 > To