[JAVA3D] Behavior stops when minimized

2001-06-19 Thread anand b pillai
Hi All, I am facing a peculiar problem with a J3D applet that implements a behavior. I have implemented a custom behavior for my DigitalClock class that wakes up every second by using WakeupOnElapsedTime(1000) as trigger. (It doesnt use any Alpha, yet). The clock runs smoothly updating display

[JAVA3D] graphicsContext3D

2001-06-19 Thread Saurabh Akhauri
hi Is it possible to draw oval/ circle, using graphicsContext3D, on canvas3D will highly appreciate any help or pointers regards Saurabh === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the mess

Re: [JAVA3D] graphicsContext3D

2001-06-19 Thread Joachim Diepstraten
Hi Saurabh > Is it possible to draw oval/ circle, using graphicsContext3D, on canvas3D > will highly appreciate any help or pointers Yes by using a Raster object and using it's imageComponent and it's bufferedImage you can draw 2d primitives (as usual) in the bufferedImage which will be displayed

[JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Dominik Helleberg
Hi All! I got a simple question, and tell me if i'm stupid, but i can't find a solution right now... So, I'm using a 3ds-loader, that returns a Scene, that i converted to a BranchGroup an added to my SceneGraph. So long, so good. Now I want to set the Appearance of the loaded Objects but I've no

Re: [JAVA3D] graphicsContext3D

2001-06-19 Thread Saurabh Akhauri
thanks for the help JD i have never used raster, buffered image classes I am a bit confused - how to use createGraphics() of buffered image can u please give a bit more detailed answer regards saurabh - Original Message - From: Joachim Diepstraten <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: [JAVA3D] graphicsContext3D

2001-06-19 Thread Joachim Diepstraten
Hi Saurabh > i have never used raster, buffered image classes > I am a bit confused - how to use createGraphics() of buffered image Well it's very easy you define create a new bufferedImage. Afterwards you can return a Graphics2D object by calling the method createGraphics as you mentioned above,

Re: [JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Joachim Diepstraten
Hi Dominik > the Appearance of the loaded Objects but I've no idea how to do this. > How can i get the Shape3D Objects from the BranchGroup or the Scene, and > how can I set it's Appearance?? Well you have to traverse through the BranchGroup until you hit a Shape3D, then you can get the Appearanc

Re: [JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Dominik Helleberg
Thanks J.D. I now did it with a type of recursion. The Source is shown as followed. My last Question: Did this really find all Shape3D's? It takes the root - BranchGroup and follows the tree down if it found another BranchGroup or a TransformGroup. Or is there a better solution? Thanks in advanc

Re: [JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Joachim Diepstraten
Hi Dominik > BranchGroup and follows the tree down if it found another BranchGroup or a > TransformGroup. > Or is there a better solution? Well BranchGroup and TransformGroup are both Groups so you don't have to distinguish them. But having looked at the code yes this should work. I use a differe

Re: [JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Anand Walishetti (CTS)
Hi , Can anyone suggest me an approach to make a custom geometry for eg: A hollow cylinder or horse shoe like shape. Anand W -Original Message- From: Joachim Diepstraten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 19, 2001 5:41 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Get Sh

[JAVA3D] Zooming

2001-06-19 Thread ishwari
Hi,   I have a scenegraph object containing some lines, circles, arcs, texts etc. I wish to do some zooming and hence I did the follg to the scenegraph's transformgroup       Transformgroup t3d;   t3d.setTranslation(new Vector3d(0,0,0));  t3d.setScale(scale);  t3d.setTranslation(new Vector3d

[JAVA3D] Follow on RE: [JAVA3D] Two problems and two questions relating to the VRMLloader.

2001-06-19 Thread Alex Bowden
Justin Thank you for such a full answer. In trying to pick up the latest version from CVS (before I have just picked up the built versions), I got the response from the CVS server (copied from WinCVS Logwindow) NEW CVSRoot: :pserver:[EMAIL PROTECTED]:/web3dorg/CVS (password authentification) cv

Re: [JAVA3D] Follow on RE: [JAVA3D] Two problems and two questionsrelating tothe VRMLloader.

2001-06-19 Thread Justin Couch
Alex Bowden wrote: > (copied from WinCVS Logwindow) > > NEW CVSRoot: :pserver:[EMAIL PROTECTED]:/web3dorg/CVS (password > authentification) > cvs checkout -P x3d (in directory G:\) > cvs checkout: authorization failed: server web3d.metrolink.com rejected > access to /web3d.org/CVS for user guest

Re: [JAVA3D] Zooming

2001-06-19 Thread Anand Pillai
Hi, I think what you need is a MouseZoom object. Set the TransformGroup object as the argument to the MouseZoom object. MouseZoom zoomObj = new MouseZoom(); zoomObj.setTransformGroup(t3d); zoomObj.setSchedulingBounds(new BoundingSphere()); After this, adding your Shape3D objects to t3d

[JAVA3D] JOB: Java 3D programming position in Norway

2001-06-19 Thread Morten Gustavsen
  Halden Virtual Reality Centre at the Institute for Energy Technology in Norway is looking for Java programmers interested in working in Norway on virtual reality related R&D projects. VRML97 and/or Java 3D experience is an advantage. C++ programmers interested in 3D/VR and willing to lear

Re: [JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Paul Byrne
Dominik, The Java3D Fly Through application that is available (in source and binary) from the Java3D home page includes a utility for traversing scene graphs and chaning things like Appearances. Look at com.sun.j3d.demos.utils.scenegraph.traverser. Rgds Paul >Delivered-To: [EMAIL PROTECTED] >

[JAVA3D] Plz, help!

2001-06-19 Thread Ashish Aggarwal
Hello! Can some body inform me about the following: Actually, I have multiple 3D primitives in the window like cone, cylinder, cube, sphere etc. How can I connect these 3D shapes through lines using mouse? That is, how can i draw lines using mouse among various shapes. Suppose user first click

Re: [JAVA3D] extending the class EventCatcher

2001-06-19 Thread Kelvin Chung
Hi Daniel, >X-Unix-From: [EMAIL PROTECTED] Mon Jun 18 23:38:33 2001 >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Tue, 19 Jun 2001 14:36:59 +0800 >From: Daniel Balaguer Yagan <[EMAIL PROTECTED]> >Subject: [JAVA3D] extending the class EventCatcher >To: [EMAIL PROTECTED] > >hi there,

Re: [JAVA3D] Plz help!

2001-06-19 Thread David Yazel
If you are using primatives then perhaps the easiest thing is instead of using center of mass (which is not easy to calculate) is to get the bounds of the shape and then get the center. Bounds b = shape.getBounds(); if (b instance of BoundingSphere) { Point3d center = new Point3d(); ((Bou

Re: [JAVA3D] Plz, help!

2001-06-19 Thread Karsten Fries
Hi Ashish, a fast (but dirty) way to do this would be the following. Save the center of the object with the shape. This can be done by setting the user data field of a Shape3D using setUserData(); At creation time of the shapes you (hopefully) know the coordinates centers of the objects!!) P

Re: [JAVA3D] GeometryUpdater and ByRef geometry

2001-06-19 Thread Uma Sabada
> 1. Does by-ref geometry get sent over to the card every frame even if a > GeometryUpdater has not been used to change it? > 2. If so, why? Since it the only time you are supposed to update the > geometry is inside the GeometryUpdater, which you have knowledge of. Is it > because you don't put

Re: [JAVA3D] GeometryUpdater and ByRef geometry

2001-06-19 Thread David Yazel
Thank you very much for the answers :) Dave Yazel - Original Message - From: Uma Sabada <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 19, 2001 12:17 PM Subject: Re: [JAVA3D] GeometryUpdater and ByRef geometry > 1. Does by-ref geometry get sent over to the card every f

Re: [JAVA3D] Get Shape3D from Loader

2001-06-19 Thread Nikhilesh Haval
Hi Dominic, Just did that with a VRML loaded scene today.. so u r in luck, considering that the method will work for 3ds too ;-)) Consider s is the scene you got from 3Ds loader, then BranchGroup tmpBg = s.getSceneGroup(); Enumeration en = tmpBg.getAllChildren(); TransformGroup tg = null;

Re: [JAVA3D] Plz, help!

2001-06-19 Thread David Homiak
See these books listed on Amazon: 3D User Interfaces With Java 3D by Jon Barrilleaux (Paperback - August 2000) Average Customer Review: <<...>> Usually ships in 2-3 days List Price: $49.95 Our Price: $39.96 You Save: $9.99 (20%) Top of Form 1 <<...>> <<...>> <<...>>

Re: [JAVA3D] Behavior stops when minimized

2001-06-19 Thread Kelvin Chung
Hi Anand, > >Hi All, > > I am facing a peculiar problem with a J3D applet that implements >a behavior. I have implemented a custom behavior for my DigitalClock >class that wakes up every second by using WakeupOnElapsedTime(1000) >as trigger. (It doesnt use any Alpha, yet). > > The clock runs smoo

[JAVA3D] Multiple ViewingPlatforms

2001-06-19 Thread giles
I've got a behavior that is triggered by a wakeupOnViewingPlatformEntry. I also have multiple viewing platforms in my scene. It seems that this behavior is being activated by a viewing platform other then the one that is attached to the view. So is this behavior checking all viewing platforms f

Re: [JAVA3D] Multiple ViewingPlatforms

2001-06-19 Thread Kelvin Chung
Hi Alan, >Delivered-To: [EMAIL PROTECTED] >Delivered-To: [EMAIL PROTECTED]@fixme >X-Accept-Language: en >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Date: Tue, 19 Jun 2001 15:34:06 -0700 >From: giles <[EMAIL PROTECTED]> >Subject: [JAVA3D] Multiple ViewingPlatforms >To: [EMAIL PROTECTED] >

Re: [JAVA3D] Multiple ViewingPlatforms

2001-06-19 Thread Justin Couch
Kelvin Chung wrote: > >So is this behavior checking all viewing platforms for intersection or > >just the one currently attached to a view? > > > > public WakeupOnViewPlatformEntry(Bounds region) > > It checks for all viewingPlaforms currently attach to the > same scene graph as the behavior. It

[JAVA3D] Explanation request

2001-06-19 Thread Will Holcomb
I have not been reading this list for a while. I was having some trouble with the java3d api (specifically the overlays and also recording to a video) and my employer decided to switch to another development path. (An ActiveX rendering control called 3DLinX (www.3dlinx.com).) I personally have alw

Re: [JAVA3D] Explanation request

2001-06-19 Thread Chris Thorne
Will, Re the precision problem I was not able to run your applet from the link, maybe it was the firewall. Can you please try using doubles not floats for your calculations and transforms and let me know how it goes. Single precision floats only give you 'reasonable' accuracy for 6-9 decimal d

Re: [JAVA3D] Zooming

2001-06-19 Thread ishwari
Hi,   Thanks for ur reply. But I don't want the mouse zoom feature. I wish to do zoom window by selecting a portion of the scene graph and scaling them. Got any idea on this?   Regards, ishwari - Original Message - From: Anand Pillai To: [EMAIL PROTECTED] Sent: Tuesda

Re: [JAVA3D] Zooming

2001-06-19 Thread Amit Jindal
Hi Ishwari,     To do that first u have to pick that particular object and then u can apply scale to that. Amit Jindal -Original Message-From: ishwari [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 20, 2001 7:15 AMTo: [EMAIL PROTECTED]Subject: Re: [JAVA3D] Zooming

Re: [JAVA3D] Zooming

2001-06-19 Thread Anand Pillai
Hi ishwari, I think you can do this in two ways. 1. You can use PickZoom behavior and attach it to your SceneGraph. 2. You could use PickObject class to pick your object and create a PickingCallback method which can zoom your transformgroup. Add the PickingCallback method

Re: [JAVA3D] Zooming

2001-06-19 Thread ishwari
Thanks a lot for all ur help.. I will try that and let u know..   Thanks again ishwari - Original Message - From: Anand Pillai To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 2:01 PM Subject: Re: [JAVA3D] Zooming Hi ishwari,I think you can do this in two

Re: [JAVA3D] Explanation request

2001-06-19 Thread Justin Couch
Will Holcomb wrote: > I noticed that an overlay library recently was posted. I looked at it and > it is beyond my current experience but I'm sure some playing would be > productive. The overlays that you see are not true "overlays" per-se. They don't use any of the card's native hardware overlay

Re: [JAVA3D] extending the class EventCatcher

2001-06-19 Thread Daniel Balaguer Yagan
hmmm, I guess I have to rephrase the question. I'm familiar to the fact that if we want to add/change a live object, exception handlers first check whether the neccessary capabilities were first set before the object could be changed. These handlers could then be considered as "listeners". I'm cu