Re: [JAVA3D] Rasters and J3D; Text Annotation

2001-06-28 Thread Joachim Diepstraten
Hi Jim > Currently, it appears that when the anchor point leaves the canvas (visible > part of the scene) the raster disappears in its entirety. For example, using Yep that's a known issue. I also reported that a few weeks ago. Kelvin told me this will be fixed in 1.3 EOF, J.D. -- Realtime Ray

[JAVA3D] Simple Line

2001-06-28 Thread Tor Einar Kjørkleiv
Hi! How do I make a line between two points? I would like to view the line in a coordinatesystem between 1 and -1 in all directions(x,y and z). Are there any simple solutions to this? Todda/Beginner _ Get Your Private, Free

Re: [JAVA3D] screen capture

2001-06-28 Thread Oliver Radfelder
have a look at the faq at j3d.org http://www.j3d.org/faq/capturing.html Oliver === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send e

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Joachim Diepstraten
Hi > if I understand all correct, it'S better to use multiple texture-sets if a > got a "map-like-geometry" and i have textutures for each "chessboard- parts" > than splitting the geometry up.. Aehm I think you misunderstand the term multitexture a bit. Multitexture mostly means you can specifiy

Re: [JAVA3D] Coordinate Tracking

2001-06-28 Thread Oliver Radfelder
Do you have acces to the api documentation? In the class PickTranslateBehavior is the Method setupCallback(PickingCallback callback). So write a class which implements the interface PickingCallback like public class Demo implements PickingCallback{ public void transformChanged(int type,

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Michael Nischt
Joachim, it is for redenring a huge landscape, which is culled by changing the indexCounts and IndeyArray. now i want to add textures generated on the heights of lanfscape (indeed some are blenden together depending on ther heights..). futher on i thought of s.th. like this: genreting 3 generated

Re: [JAVA3D] screen capture

2001-06-28 Thread aant
Hi I have tried the code you mentioned but i can't snap the frame with my 3D world on it is always snaps the right upper corner. In the code below the topLeftX and topLeftY are the coordinates of the topleft corner of the window frame containing the app. And the wide and heigth are the wide and he

Re: [JAVA3D] screen capture

2001-06-28 Thread Justin Couch
Oliver Radfelder wrote: > http://www.j3d.org/faq/capturing.html There is a working version of this code already in the Code Repository. It will either take single snapshots or create a bunch of sequential images. Have a look at the class ImageCaputringCanvas3D. That should solve all of the issue

[JAVA3D] portal

2001-06-28 Thread Marc Carrion
    Hello, as I posted before, I'm trying to implement a portal engine. The solution I found to do it is to have a offscreen canvas (with the same size than the real canvas), draw the portal image in the portal canvas and the project it to the real canvas using the clip utilities from graphics2D

Re: [JAVA3D] Loading animation behaviour from 3ds files

2001-06-28 Thread Daniel Moscoso
Thanks for your answer. So I have two more questions: I currently use Starfire 3DS loader. It builds the scenegraph like this (for a 3ds model composed by multiple objects): BG (Main model BranchGroup) | / | \

Re: [JAVA3D] screen capture

2001-06-28 Thread aant
I use the code mentioned. But still having problems. I guess it has to du with the offset? - Original Message - From: Justin Couch <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 28, 2001 1:32 PM Subject: Re: [JAVA3D] screen capture > Oliver Radfelder wrote: > > > http:/

Re: [JAVA3D] Collision Avoidance

2001-06-28 Thread Tonz .
Hi... I've read what's wrote in the links below but i didn't know how to implement the collision avoidance. Thanx :) > >"Tonz ." wrote: > > > > Hi all . > > > > I have a wall, how can I detect the collision and how can I not allow >the > > user from going through the wall. > >http:/

Re: [JAVA3D] Collision Avoidance

2001-06-28 Thread Tonz .
Hi... I've read what's wrote in the links below but i didn't know how to implement the collision avoidance. Thanx :) http://www.j3d.org/tutorials/collision/ http://code.j3d.org/ http://www.j3d.org/implementation/collision.html __

Re: [JAVA3D] Collision Avoidance

2001-06-28 Thread Justin Couch
"Tonz ." wrote: > I've read what's wrote in the links below but i didn't know how to implement > the collision avoidance. OK, this sounds like a dumb question but... What don't you understand about collision avoidance? There's about 50 pages total of discussion there, so it would be nice to

Re: [JAVA3D] heightfield, 2D-matrix --> 3D coordinate system

2001-06-28 Thread ChrisThorne
Hi Thomas, As promised I have put up some code that will translate height fields into tristrips. At the moment it just implements the very simplest output - it generates a test program that includes the tristrip and texture coordinates. The software was designed to help me translate gis grids in

Re: [JAVA3D]

2001-06-28 Thread Paul Byrne
HI Andreas, Java3D Cylinders, Spheres and Boxes etc are all subclasses of Primitive which in turn is a subclass of Group. Each of these Groups has a number of child Shape3D's depending on the shape (sphere has 1 Shape3D, Cylinder 3 etc). When you call setUserData on the Cylinder you are actually

Re: [JAVA3D] heightfield, 2D-matrix --> 3D coordinate system

2001-06-28 Thread Justin Couch
ChrisThorne wrote: > As promised I have put up some code that will translate height fields > into tristrips. Beat you by a couple of hours Chris :) Just commited very similar code to the j3d.org code repository, but only the low-level heightfield -> image -> heightfield work. Doesn't do any file

Re: [JAVA3D] Collision Avoidance

2001-06-28 Thread Paul Byrne
Hi, Java3D Fly Through includes a collision detection/avoidance API and a number of Behaviors that use the API. The tool and all the source are available from the Java3D home page. Rgds Paul -- Paul Byrne Email : [EMA

Re: [JAVA3D] Write CAD tool using Java3D?

2001-06-28 Thread Firas MOHAMED
I don't think so ... There are 2 critical needs from Java2D : GeneralPath and the logical operations, if you don't need the second, you'll need the first .. Firas Anders Hasselkvist wrote: I have seen many messages in this interest group regarding Java3D and CAD tools (geometry modelling tools).

[JAVA3D] unsubscribe

2001-06-28 Thread Vineet Goel
__ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body o

[JAVA3D] unsubscribe

2001-06-28 Thread Andreas Besier
unsubscribe

Re: [JAVA3D] unsubscribe

2001-06-28 Thread Corysia Taware
There seems to be a lot of people who are trying to unsubscribe to the list today.   HOW TO UNSUBSCRIBE   To unsubscribe, send email to [EMAIL PROTECTED] and include in the bodyof the message "signoff JAVA3D-INTEREST".  For general help, send email to[EMAIL PROTECTED] and include in the bod

Re: [JAVA3D] screen capture

2001-06-28 Thread Aant
I can't find the topleft point for the offset. Even i use getLocationOnScreen, see code. This code works only if i have the frame in the lefttop of the screen see pics. The green should be visible in both pics. So i guess the offset is still wrong but i don't know how i can find the rigth offset.

[JAVA3D] Plz somebody help!

2001-06-28 Thread Ashish Aggarwal
Hello Everybody! please help me and try to pay attention what I have written: I want to draw line between two primitives (one cylinder and one box)with mouse. I have stored center of bounds of two primitives using setUserData().I am also able to retrieve data using getUserData(). But one proble

Re: [JAVA3D] Write CAD tool using Java3D?

2001-06-28 Thread Rajamiyer Ravichandran
Java3D is not sufficient to create a CAD tool. Java3D is simply a visualization API. Drawing a sketch in 2D and extrude to 3D is in the domain of solid modeling. YOu have to work with some Solid Modeling APIs such as Parasolid, ACIS etc. --- Firas MOHAMED <[EMAIL PROTECTED]> wrote: > I don't thi

Re: [JAVA3D] Write CAD tool using Java3D?

2001-06-28 Thread german kogan
Where can I find these packages? I tried looking for them but did not see anything. Thanks On Thu, 28 Jun 2001, Rajamiyer Ravichandran wrote: > Java3D is not sufficient to create a CAD tool. Java3D > is simply a visualization API. Drawing a sketch in 2D > and extrude to 3D is in the domain of

[JAVA3D] Java3D

2001-06-28 Thread german kogan
In order to use Java3D do you need to have OpenGL? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and i

Re: [JAVA3D] Loading animation behaviour from 3ds files

2001-06-28 Thread Bob Dengle
Hi >a) I want to add animation to the objects separatly, such as > >Interpolators. For RotationInterpolator's, they can be added to a >single >object adding it to its parent TG. But the rotation is always >done around >the origin. Is there any way to rotate them around an >arbitrary point You can

Re: [JAVA3D] Java 3D Bug with collision detection and mouserotate?

2001-06-28 Thread Kelvin Chung
Hi Daniel, Bug 4475966 is submitted for further investigation. Thanks for your bug report. - Kelvin - Java 3D Team Sun Microsystems Inc. >X-Unix-From: [EMAIL PROTECTED] Wed Jun 27 23:37:55 2001 >Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Thu, 28 Jun 2001 08:36

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Philip Taylor
most current hardware supports 2-3 texture stages.   geForce3 supports 4. Kyro I and Kyro II support 8.   expecting to use 10-30 textures per primitive is guaranteeing many passes, 10-15 for most hardware, and poor performance. -Original Message-From: Michael Nischt [mailto:[EMAI

[JAVA3D] portal

2001-06-28 Thread Marc Carrion
Anybody has an idea about the portal issue??? I guess the problem is when drawing in the offscreen canvas, when I did getVworldToImagePlate(t3d) in the real canvas and in the offscreen canvas, I obtained different values, so, must I resize/relocate the offscreen canvas when I do it in to

[JAVA3D] 3D Objects

2001-06-28 Thread Frank Bellegarde
Hello there,I was wondering if any of you has ever attempted to serialize some ofthe objects of the API or even has found some replacement for it. I work on a 3dlab that uses a chat and avatars using the jsdt from Sun and I would wantto send a BranchGroup through the channel as a Data object. The p

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Michael Nischt
hi Philip,>most current hardware supports 2-3 texture stages.>geForce3 supports 4. Kyro I and Kyro II support 8.> expecting to use 10-30 textures per primitive is guaranteeing many passes, 10-15 for most hardware, and poor performance.  yes but it is only one primitive, because it for the te

Re: [JAVA3D] Java3D

2001-06-28 Thread Dan Petersen
On any Unix or Window NT platform, yes. On Win9X and Win2K you need either OpenGL or DirectX7.0 or greater. Dan Petersen Java 3D Team Sun Microsystems > Delivered-To: [EMAIL PROTECTED] > X-X-Sender: <[EMAIL PROTECTED]> > MIME-Version: 1.0 > Date: Thu, 28 Jun 2001 13:05:34 -0500 > From: german k

Re: [JAVA3D] Plz somebody help!

2001-06-28 Thread Kasparian, Raffi J.
Ashish I think you might get benefit from a debugger and stepping through your code. Anyway, the null is in your cg array. Some of the elements in it are null. I think the reason has to do with the fact that you are creating two behaviors -- each one has its own cg and even creates a new cg every

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Philip Taylor
its not the size of the texture. fetching texels is relatively cheap.   its the number of passes, and for how many pixels in the scene.  consider that each additional pass burns fill-rate.    so if you do this for an object that affects most of the pixels in the render-target, like terrai

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Michael Nischt
many thanks again Philip, your answer was very clear and detailed..   so i guess i'll stuck with 2-3 detail textures (i don't need a lightmap, cause lighting is done by vertex normals..)   but i still don'T know how to texture my terrain now:   is it possible in java3D to blend those 2-3 det

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread David Yazel
We are doing the same thing as Philip recommends. But the base textures we are generating uniquely for all landscape patches according terrain maps, normals, blends, paths, roads and various and sundry other techniques. In fact it takes an hour on a 700 MHz machine to generate all the textures f

Re: [JAVA3D] heightfield, 2D-matrix --> 3D coordinate system

2001-06-28 Thread Chris Thorne
Justin Couch wrote: > ChrisThorne wrote: > > > As promised I have put up some code that will translate height fields > > into tristrips. > > Beat you by a couple of hours Chris :) Just commited very similar code > to the j3d.org code repository, but only the low-level heightfield -> > image -> he

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread Michael Nischt
also thanks again to you david, but i guess every of your pre-generated base-texture is on one primitve, because of using a quadtree. but i am not, i got ONE HUGE primitive wich is only partly rendered at frame (changing the indexCounts and indexCoordinates), so still my problem still iexists: if

Re: [JAVA3D] multitexturing and OpenGL Extensions

2001-06-28 Thread David Yazel
Yes thats one of the problems with a lot of terrain algorthms (ROAM, etc). Most of these techniques concentrate on the geometry and don't handle the texturing very well. They work great until you try to texture them. If you go and see all the great screenshots of terrain engines at www.flipcode.c

Re: [JAVA3D] heightfield, 2D-matrix --> 3D coordinate system

2001-06-28 Thread Chris Thorne
To Thomas, Corysia, Quoc and those who were interested in the height field stuff: With regrads to the Rez distribution, there are a lot of example batch and config files so to save you a little trouble you can look at the Asci2J3D.bat, Asci2J3dConfig.txt files for an example of how to configure/r

[JAVA3D] Write CAD tool using Java3D?

2001-06-28 Thread Anders Hasselkvist
I have seen many messages in this interest group regarding Java3D and CAD tools (geometry modelling tools). I would like to create a CAD tool using only Java3D, i.e. not use Java2D at all. Is that possible, or do you think I must use Java2D when sketching 2D geometries? In order to create a 3D

[JAVA3D] Matrix3D

2001-06-28 Thread Zalman Kogan
Hi. I was trying to run one of the demos from http://java.sun.com/applets/jdk/1.1/demo/WireFrame/example1.html. I copied the source code and tried to compile it but get these errors like Class Matrix3D not found, Class Matrix3D not found in Model3D() Any ideas. Thanks