[JAVA3D] Loading ARCINFO Grid File

2003-07-17 Thread Khanh
Hi, Does anyone know how to load an arc/info grid file, ZYCOR file using Java3D ? Any solution? Regards, === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". Fo

Re: [JAVA3D] Layering issues - back objects being drawn in front

2003-07-17 Thread Alessandro Borges
There are any transparency objects in this scene?? if this is the case read about view.setTransparencySortingPolicy(TRANSPARENCY_SORT_GEOMETRY) Alessandro - Original Message - From: "Stone, Michael C" Sent: Thursday, July 17, 2003 4:52 PM Subject: Re: [JAVA3D] Layering issues - back

Re: [JAVA3D] How can put color to back side of plane

2003-07-17 Thread Alessandro Borges
some old vcards loses specular lighting with setBackFaceNormalFlip(true) Alessandro - Original Message - From: "David Yazel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2003 4:25 PM Subject: Re: [JAVA3D] How can put color to back side of plane > try pattr.setBac

Re: [JAVA3D] Layering issues - back objects being drawn in front

2003-07-17 Thread Stone, Michael C
I would have thought it was a z buffer depth issue, but I'm not sure anymore. We're using GeForce 2 cards on Windows XP (using the D3D install of J3D), and the clip planes are default. Note that the problem does not involve any objects disappearing, just being drawn wrong. The objects are between

Re: [JAVA3D] How can put color to back side of plane

2003-07-17 Thread David Yazel
try pattr.setBackFaceNormalFlip(true); Dave >-Original Message- >From: Alessandro Borges [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 17, 2003 07:04 PM >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] How can put color to back side of plane > >The back face is black becouse there is no lig

Re: [JAVA3D] How can put color to back side of plane

2003-07-17 Thread Alessandro Borges
The back face is black becouse there is no light there to show its color. You can: -add some white ambient light; -put a directional light in your viewing platform; or something like that... ;-) Alessandro - Original Message - From: "Naveen Babu Chikkala" <[EMAIL PROTECTED]> To: <[EMAIL

[JAVA3D] How can put color to back side of plane

2003-07-17 Thread Naveen Babu Chikkala
In 3D I need represent plane I am using following code for plane PolygonAttributes pattr = new PolygonAttributes(); pattr.setPolygonMode(pattr.POLYGON_FILL); pattr.setBackFaceNormalFlip(false); pattr.setCullFace(pattr.CULL_NONE); ap.setPolygonAttributes(pattr); using pattr.C

Re: [JAVA3D] Transformations

2003-07-17 Thread Alessandro Borges
Maybe I am telling you a stupid thing, but I thing you are losing the scaling.   You have : Bg(root) -> TG (scale & Rotating) -> scene.   try Bg(root) -> TG(scale) - TG(rotate) -> scene   Alessandro - Original Message - From: ahmet balci To: [EMAIL PROTECTED] Sent

Re: [JAVA3D] Layering issues - back objects being drawn in front

2003-07-17 Thread Jeremy Booth
Hi It *sounds* like z buffer depth issues, what graphics card do you have?, what os?, what is your front and back clip distances set too?, where, and how big are your objects? Cheers Jeremy -- Homepage: http://www.computerbooth.com/ Code page: http://www.newdawnsoftware.com/

[JAVA3D] Transformations

2003-07-17 Thread ahmet balci
 Hi,  I had been making transformations within a 3DS model.  I can display the model at the canter of the window easily.  But when I try to make transformation (rotation or translation) model becomes very huge that I can only see a part of it at the window. Here is the code I use; /

[JAVA3D] Layering issues - back objects being drawn in front

2003-07-17 Thread Stone, Michael C
Ok, I need to know if this is a bug or just something set wrong. I've got a camera system setup, and sometimes, especially when I rotate, objects that originally were supposed to be "in back" are drawn in front of other objects. So basically, when an object should be obscured by another ob

Re: [JAVA3D] Java3D duplicating threads

2003-07-17 Thread Zak Nixon
Nevermind, all you have to do is remove the branchgraphs from your locale and they go away.   Zak - Original Message - From: Zak Nixon To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 8:04 AM Subject: [JAVA3D] Java3D duplicating threads Whenever I crea

[JAVA3D] Java3D duplicating threads

2003-07-17 Thread Zak Nixon
Whenever I create a canvas and attach an appropriate view to my scene, i get a set of these Java3D threads.       J3D-BehaviorScheduler J3D-BehaviorStructureUpdateThread J3D-GeometryStructureUpdateThread J3D-InputDeviceScheduler J3D-MasterControl J3D-RenderStructureUpdateThread J3D-Renderer J3D

Re: [JAVA3D] Creating Canvas error.

2003-07-17 Thread Zak Nixon
 Unfourtunately, i  am running Win XP. - Original Message - From: Alessandro Borges To: [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 6:40 AM Subject: Re: [JAVA3D] Creating Canvas error. I guess you are running Linux . See the Java3D readme (at jdk roo

Re: [JAVA3D] is Sphere an improper node?

2003-07-17 Thread Vladimir Vernikovski
See Java3D API documentation: "java.lang.IllegalArgumentException - if Node is not a Shape3D or Morph or if the flag value is not valid." Vladimir A. Vernikovski Programmer --- JPROOF Technologies Ltd. - Original Message - From: "nagehan pala" <[EMAI

Re: [JAVA3D] PlatformGeometry question

2003-07-17 Thread Ian M Nieves
Hi Zak, I have been able to add geometry relative to the view by simply adding a new TransformGroup with geometry to the view platform transform. This, however, renders the geemetry in whatever perspective the view is using. SO, i know it is possible to add geometry to the scene, relative to the

Re: [JAVA3D] Animating body

2003-07-17 Thread Alessandro Borges
See the my last posts... Alessandro - Original Message - From: "Botha Levente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2003 8:59 AM Subject: Re: [JAVA3D] Animating body > And what could you suggest to do with this scenegraph. Which way should i > construct it

Re: [JAVA3D] Animating body

2003-07-17 Thread Botha Levente
And what could you suggest to do with this scenegraph. Which way should i construct it ? Thanks === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For genera

Re: [JAVA3D] PlatformGeometry question

2003-07-17 Thread Zak Nixon
PlatformGeometry is simply geometry placed on the viewing platform, so that any operations on the viewer(ie. lookAt()), the geometry will be transformed along with the viewing platform. And I "believe" that it is in parallel projection, not perspective. Zak - Original Message - From: "Ian

[JAVA3D] HUD Overlay Question

2003-07-17 Thread Ian M Nieves
Hello all, I have a virtual world that is viewed with a perspective projection. And I would like to put a small sphere in the lower left corner of the screen, for HUD purposes. However, when I do this, the sphere drawn with a perspective as if it was in the lower left corner of the screen... whi

[JAVA3D] PlatformGeometry question

2003-07-17 Thread Ian M Nieves
Hello All, I am not sure exactly what PlatformGeometry is used for. Can someone clarify this? I believe that it allows me to place geometry in the world, relative to the view (such that the geometry is always in view) AND the geometry is always rendered with a parallel projection (even if the vi

Re: [JAVA3D] Creating Canvas error.

2003-07-17 Thread Alessandro Borges
I guess you are running Linux . See the Java3D readme (at jdk root) about shared context I am not sure but maybe you need to use the propertie: -Dj3d.sharedctx=true   This way :   java -Dj3d.sharedctx=true MyProgram just in case the readme to 1.3.1beta is here http://www.tux.org/pub/tux/java-

Re: [JAVA3D] Animating body

2003-07-17 Thread Alessandro Borges
Ok, I understand it, but for correct moving behavior you must have a suitable scene graph. Your scene graph seens wrong to me. For a human movement, of course. Alessandro - Original Message - From: "Botha Levente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2

[JAVA3D] is Sphere an improper node?

2003-07-17 Thread nagehan pala
hi all There is a Sphere object, named "sphere" and it is a part of a live scene. I want it is pickable, so I write this line; PickTool.setCapabilities(sphere, PickTool.INTERSECT_FULL); Also, there is a PickTranslateBehavior object that is a child of the same BranchGroup. When I run the program, t

[JAVA3D] Dead branchgroups visible in a live scene?

2003-07-17 Thread Ben Moxon
I thought that if a branchgroup was a visible part of a live scene it would be live itself, but when I try and perform any picking in a scene containing only live branchgroups it tells me that picking can only work if BranchGroup is alive. When I perform a check it turns out that three branchgro

Re: [JAVA3D] Animating body

2003-07-17 Thread Botha Levente
All my body parts are separate classes which extends TransformGroups. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAI

Re: [JAVA3D] Construct a surface in Java3D

2003-07-17 Thread Ben Moxon
(B (B (BTry (Bthis article: http://www.javaworld.com/javaworld/jw-07-2003/jw-0704-3d_p.html (B (B -Original Message-From: Khanh (B [mailto:[EMAIL PROTECTED]Sent: 17 July 2003 05:46To: (B [EMAIL PROTECTED]Subject: [JAVA3D] Construct a surface (B in Java3D (B I want to constru

Re: [JAVA3D] problem with maximizing JFrame that contains a Canvas3D

2003-07-17 Thread Lewis Walker
Just a thought - when you Maximise the Jframe, is the Canvas3D resizing upwards too? If so then Java3D needs more memory from the Graphics card, I believe, and depending on your card, along with the colour depth and resolution of your desktop, etc, there may not be enough memory to fulfil the reque

Re: [JAVA3D] error java 3d

2003-07-17 Thread Kevin Glass
> I keep getting this error: > > Java 3D > > can't attach Z buffer to back buffer > DDER_CANNOTATTACHSURFACE > > Any help would be appreciated I'm not sure what that explicit error means, but looks like switching to the OPENGL version would fix it :) Kev =