[JAVA3D] Canvas3D.getPixelLocationInImagePlate(...)

2001-11-26 Thread Gianni Riccio
Hi all, I have this piece of code to obtain the 3d coordinates of the pixels in the image plate. How can I obtain the same coordinates in my local system of three axis(x,y,z)? How can I obtain the z-coordinate? ... x =((MouseEvent)event[i]).getX(); y =((MouseEvent)event[i]).getY(); Point3d

Re: [JAVA3D] game development

2001-11-26 Thread Michael Nischt
> ain't there a format which already supports animation. > perhaps a format which blender already supports? I guess their is no standard exporter with animations, but perhaps there are other available. I only have experience with 3DS Studio MAX und Milkshape, so.. For Milkshape (it isn't very ex

Re: [JAVA3D] game development

2001-11-26 Thread Michael Knezevic
--- Michael Nischt <[EMAIL PROTECTED]> schrieb: > > ain't there a format which already supports > animation. > > perhaps a format which blender already supports? > > I guess their is no standard exporter with > animations, but perhaps there are > other available. > I only have experience with 3DS

[JAVA3D] Hmm Box-Primitive and Textures

2001-11-26 Thread Joachim Diepstraten
Hi In the JavaDoc of the Box-Primitive you can find following sentence in the introduction: "Box is a geometry primitive created with a given length, width, and height. It is centered at the origin. By default, it lies within the bounding box, [-1,-1,-1] and [1,1,1]. When a texture is applied to

Re: [JAVA3D] Hmm Box-Primitive and Textures

2001-11-26 Thread Joachim Diepstraten
Hi Okay you have to set the Primitive-Flags. Sorry to have bothered -- Jmark2k+1 (http://www.antiflash.net/jmark) Test the performance of your PC online! === To unsubscribe, send email to [EMAIL PROTECTED] and include in t

[JAVA3D] unsubscribe

2001-11-26 Thread Sven Mielordt
Dear JAVA3D-people, I want to unsubscribe your newsletter Thank You Sven __ Kein Schwein klickt mich an? Tragen Sie Ihre Site doch einfach im Fireballkatalog ein! http://www.fireball.de/katalogeintrag.html

Re: [JAVA3D] same view in two canvasses????

2001-11-26 Thread Fabricio Anastacio
Hi, Christoph! Have you tryed getting the ViewPlatformTransform from the first canvas (SimpleUniverse) when you move it and update the second one with its values? Fabrício -Mensagem Original- De: Christoph Wille <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Enviada em: Domingo, 25 de N

Re: [JAVA3D] How to add object?

2001-11-26 Thread Fabricio Anastacio
Hi, Gael! It's possible to add objects in runtime. You just have to set the capability bit of the BranchGroup to which you're adding the object. You do so like this: yourBranchGroup.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND); Then you can add your object as usual: yourBranchGroup.addChild(y

[JAVA3D] adding object with mouse

2001-11-26 Thread Marco Fiocca
Hi everybody, I have a problem: I want to add an object in my branchgroup using the mouse coordinates in canvas. I used Canvas3D's method getPixelLocationInImagePlate() but it not seems to work as well as I hope; it adds all objects very close to each other and the result is very ugly. Thanks in

[JAVA3D] Head Tracker is working with setHeadIndex()

2001-11-26 Thread Alex Terrazas
Hi- Just wanted to let everyone know that I finally got my head tracker to work with the setHeadIndex() method. We have a Polhemus 3Space FASTRAK. There are still some tweaks that have to be made but the screen changes nicely when I move my head. To answer my own question--setHeadIndex() requi

[JAVA3D] SharedGroups, Links and multiple Views

2001-11-26 Thread Peter Rohleder
Hi, there are some tasks which seem to occure very often in a lot of 3D applications. One of this tasks in my point of view is to design an application with multiple windows (Canvas3D) and in every window you see a specific object from another point of view. In my point of view it would make se

Re: [JAVA3D] Using GeometryInfo objects

2001-11-26 Thread Dvorak, Daniel J.
I'm pretty sure I've used this in the past... // get the starting position of the pick Point3d eyePos = pickCanvas.getStartPosition(); // the pickClosest returns a PickResult with the picks sorted by the distance // from the ViewPlatform to the intersection point. PickResult pickResult = pickCan

[JAVA3D] MouseRotate!

2001-11-26 Thread Gianni Riccio
Dear Experts, a little problem in my applet. I have a drawing3D(lines points...) and I can rotate around this drawing to obtain the generic final position.After rotation I close my Frame and when I still  open this frame I would like to see the drawing in the same final position and not in the

[JAVA3D] resetting back / front clip distance.

2001-11-26 Thread Vincent St-Amour
Hello all, I have a small problem with the front and back clip distance. I've read all the facts about the both values and it works fine. It's just that the viewer that I'm working on can view different models of different size at the same time. This means that I have normal size data and very

[JAVA3D] TimerTest demo

2001-11-26 Thread Kasparian, Raffi J.
The TimerTest demo program doesn't run as an applet - only as a standalone. Is this true for anyone else? java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.J3DUtils) at java.security.AccessControlContext.che

Re: [JAVA3D] Canvas3D.getPixelLocationInImagePlate(...)

2001-11-26 Thread John Nelson
Just a guess, but I would say a mouse click has no Z coordinate.  When you click on an image plate, you are clicking on a flat 2D abstraction, not the object it contains.   -- John -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Gi

Re: [JAVA3D] game development

2001-11-26 Thread John Nelson
I once read a Swing book that had a Pacman game example in the back (Appendix 23?). You might start with that. Sorry I can't give you anything more specific than that. This is entirely from memory. -- John > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PR

[JAVA3D] unsubscribe

2001-11-26 Thread Ashish Aggarwal
= Graduate Research Assistant Virtual/Augmented and Rapid Prototyping Lab University of Missouri-Rolla Rolla, MO 65401 573-647-1647(PCS)/573-308-1380 (R) FAX: 573-341-6815 __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, jus

[JAVA3D] Java 3D FAQ Weekly Posting (26 Nov 2001)

2001-11-26 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday November 26 2001 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

Re: [JAVA3D] TimerTest demo

2001-11-26 Thread Paul Byrne
Hi Raffi, This is a known bug which will be fixed in the next release. If you want to update your local utilties the fix is to add a doPrivileged block around the loadLibrary call in J3DTimer.java static { java.security.AccessController.doPrivileged( new java.security.Pr

Re: [JAVA3D] DirectX and OpenGL

2001-11-26 Thread Raúl
From: "Justin Couch" <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 1:39 AM > On Mon, 26 Nov 2001, Raúl wrote: > > > I must show examples of a wire view throught a video canon (Cañón de video > > in spanish) > > I think you mean video projector in english. Thanks :-), yes I wanted to say v

Re: [JAVA3D] AntiAliasing Problem 1.3 beta

2001-11-26 Thread Kelvin Chung
Hi Renoir, Thanks for your bug report. Please send us a test program for investigation so that we can fix it before release. - Kelvin Java 3D Team Sun Microsystems Inc. >Delivered-To: [EMAIL PROTECTED] >X-Accept-Language: en >MIME-Version: 1.0 >Date: Mon, 26 Nov 2001 15:21:43 +

Re: [JAVA3D] TransparencyAttributes with DirectX!!

2001-11-26 Thread Kelvin Chung
Hi Gianni, TransparencyAttributes should works with DirectX version except that TransparencyMode values FASTEST, NICEST and SCREEN_DOOR are the same as BLENDED under D3D. Is this happen on v1.2.1 release or v1.3 beta1 release ? What kind of OS and graphics card are you using ? Please send us

[JAVA3D] Sun Forte with Java 3d

2001-11-26 Thread Zak Nixon
Whenever I run my 3d code in Forte, it says that it cant find the 3d jar files. Can someone lead me in a direction to fix this? Java 3d is installed in every JRE i have on my computer...   Thanks Zak

Re: [JAVA3D] J3DBuffers - how to use them correctly ?

2001-11-26 Thread Kelvin Chung
Hi Michael, Try, ByteOrder order = ByteOrder.nativeOrder(); FloatBuffer coord = ByteBuffer.allocateDirect(size).order(order).asFloatBuffer(); You can found the examples under programs/examples/GeometryByReference>GeometryByReferenceNIOBuffer and programs/examples/GeometryByReferen

[JAVA3D] LOCAL_TO_VWORLD_READ ????

2001-11-26 Thread Christoph Wille
Hi,   I'd like to get the absolute coordinates of the vertices of an object. To do this I think that I'll have to multiply the local coordinate of that vertice with the local_to_vworld_transform matrix. However I'm not allowed to read the local_to_vworld_transform.   Can anyone please tell

Re: [JAVA3D] J3DBuffers - how to use them correctly ?

2001-11-26 Thread Michael Nischt
thanks very much, that was excactly what i was looking for.. > Hi Michael, > > Try, > > ByteOrder order = ByteOrder.nativeOrder(); > FloatBuffer coord = ByteBuffer.allocateDirect(size).order(order).asFloatBuffer(); > > You can found the examples under > > programs/examples/GeometryByRefe

Re: [JAVA3D] Sun Forte with Java 3d

2001-11-26 Thread Justin Couch
> Zak Nixon wrote: > > Whenever I run my 3d code in Forte, it says that it cant find the 3d > jar files. http://www.j3d.org/faq/editors.html#forte -- Justin Couch http://www.vlc.com.au/~justin/ Freelance Java Consultant http://www.yumetech.com/ Author, J

Re: [JAVA3D] TimerTest demo

2001-11-26 Thread Joerg 'Herkules' Plewe
You are not alone. Togehter with some other demos I see this exception. I have an acient W98 system and had blamed the exception to that. - J Joerg 'Herkules' Plewe HARDCODE Development http://www.hardcode.de > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL

Re: [JAVA3D] Sun Forte with Java 3d

2001-11-26 Thread Pierce, Gregory (TBS)
Title: RE: [JAVA3D] Sun Forte with Java 3d I will go ahead and contribute one for Eclipse Eclipse: 1) From the Resource Perspective, right click on the root of the project in the Navigator and select Properties from the drop down list box. 2) Select the "Java Build Path" entry in the tree

Re: [JAVA3D] Sun Forte with Java 3d

2001-11-26 Thread Corysia Taware
Which compiler are you using?  I think Forte uses fastjavac by default.  Try changing that to external.   Project --> Settings --> Java Sources --> Default Compiler     - Original Message - From: Zak Nixon To: [EMAIL PROTECTED] Sent: Monday, November 26, 2001 11:59

[JAVA3D] Together 5.0+ with Java 3d

2001-11-26 Thread Pierce, Gregory (TBS)
Title: Together 5.0+ with Java 3d Here is another one - Together 5.0+ 1) From the file menu select "Project Properties" 2) Click on the "Search/Classpath" tab 3) Click on the "Add Path or Archive" button 4) Select the jar files for Java3D done.

[JAVA3D] THANKS JAVA3D TEAM!

2001-11-26 Thread Kasparian, Raffi J.
THANKS JAVA3D TEAM! I just wanted to express my thanks to the Java3D team for the improvements in Java3D 1.3. With the help of Behavior.setSchedulingInterval and ImageComponent2D.Updater I finally solved an otherwise unsolvable problem in my program that has plagued me for over a year. Raffi ==

Re: [JAVA3D] DirectX and OpenGL

2001-11-26 Thread Kevin Rushforth
>Ok, thanks, but can my Applet knows if it is running on a DirectX or on a >OpenGL JRE? (That's important because of the minor functional diferences :( Yes, See VirtualUniverse.getProperties(). -- Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Mon, 26 Nov 2001 00:18:2

Re: [JAVA3D] HHHHELP ! Java3D Installation w/ J2SE V1.4.0-Beta3

2001-11-26 Thread Kevin Rushforth
Java 3D is not supported (i.e., is not tested) on Windows 95. Having said that, it should work, but if you find a Windows 95-specific bug it will not be fixed. -- Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Thu, 22 Nov 2001 03:44:43 -0700 >From: R Vegan <[EMAIL PROT

Re: [JAVA3D] setHeadIndex

2001-11-26 Thread Mark Hood
> Date: Fri, 23 Nov 2001 09:42:35 -0500 > From: Alejandro Terrazas <[EMAIL PROTECTED]> > > I am finally getting good values out my head tracker using the > JavaComm API to read the serial port-- > > However, I am not sure what form the data must be in in order > to use setHeadIndex() --fro

[JAVA3D] J3DBuffers - how to use them correctly ? - part 2

2001-11-26 Thread Michael Nischt
again :o( I changed my code parts for using J3DBuffer's, but again I got a problem. I have compared my code with the 'GeometryByReferenceNIOBuffer' Example and I can't figure out any differences in principle.. code bellow works fine with useBuffers false, but setting it to true nothing is render

Re: [JAVA3D] J3DBuffers - how to use them correctly ? - part 2

2001-11-26 Thread Michael Nischt
sorry, for the code - my e-mail client messed it up. this version should be easier to read: http://zero.monoid.net/projects/_anim/downloads/J3DBuffer.txt greetings -Michael Nischt === To unsubscribe, send email to [EMAIL

[JAVA3D] IndexedTriangleStripArray referencing subset of Vertex Data

2001-11-26 Thread David Weir
Is it possible to have an IndexedTriangleStripArray index a subset of a Vertex Array? I have a set of vertices which are being used both by triangle strips and by triangles. The total of vertices in the vertex array is greater than the number of triangles in the strips. The documentation says

[JAVA3D] LOCAL_TO_VWORLD_READ ????

2001-11-26 Thread Christoph Wille
Hi,   I'd like to get the absolute coordinates of the vertices of an object. To do this I think that I'll have to multiply the local coordinate of that vertice with the local_to_vworld_transform matrix. However I'm not allowed to read the local_to_vworld_transform.   Can anyone please tell

[JAVA3D] please help!!!! same view in two canvasses

2001-11-26 Thread Christoph Wille
Hi   I have an application that shows two different scenes (SimpleUniverse) in two different canvasses. To move around in the scene I added to one of them an Orbit Behaviour.   I would like that also the viewing platform in the second canvas moves when I change the view in in the first canv

Re: [JAVA3D] LOCAL_TO_VWORLD_READ ????

2001-11-26 Thread Dipl. Ing. Paul Szawlowski
You are on the right way. Set the ALLOW_LOCAL_TO_VWORLD_READ capability bit. Christoph Wille schrieb: > Hi, I'd like to get the absolute coordinates of the vertices of an > object. To do this I think that I'll have to multiply the local > coordinate of that vertice with the local_to_vworld_tran