Re: [JAVA3D] Full Screen Exclusive Mode

2002-06-13 Thread Jeremy Booth
I thought this quick demo was for one person, seems I was wrong, I should have tidied it up a little more :) As there are a few people using it, I'd appreciate any feedback, I know the code is untidy (it was hacked together as a proof of concept/possibility), but if i'm doing something obviously

[JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart

2002-06-13 Thread thomas.werth
Hi,all i'm using j3d 1.2.1_04 OGL with j2sdk1.4 under Win2000. Combining this with Java Webstart i get flickering problems, the repaint seems not work correct. If i run my app without Webstart no problems occour. if i use WebStart and j2Sdk 1.3.x no problems occour ... What do i have to do to get

Re: [JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart

2002-06-13 Thread Jason Taylor
Not much help but I think about a week ago one of the Sun guys posted a compatibility table that said in effect that the only j3d that 'works' with jdk1.4 is j3d1.3b2. That confused me as I'd thought that j3d1.2.1_04 was released specifically as a jdk1.4 compatible version! So maybe try j3d1.3b2

Re: [JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart

2002-06-13 Thread thomas.werth
this doesn't help much , the effect keeps. The problem must be in the combination with WebStart . Has anyone expierience with webstart and j3d ? Jason Taylor schrieb: > > Not much help but I think about a week ago one of the Sun guys posted a > compatibility table that said in effect that the onl

[JAVA3D] Entry point not found problem...

2002-06-13 Thread devang mankad
Hi, I am new to Java3D. When I execute a sample code snippet from few of the examples that I have downloaded, I find this error...there is a dialog-box popping up saying that: "The procedure entry point DirectDrawEnumerateExA" could not be located in "DDRAW.dll". On closing the dialog box, th

[JAVA3D] Entry point location problem ...

2002-06-13 Thread Devang Mankad
Hi, I am new to Java3D. When I execute a sample code snippet from few of the examples that I have downloaded, I find this error...there is a dialog-box popping up saying that: "The procedure entry point DirectDrawEnumerateExA" could not be located in "DDRAW.dll". On closing the dialog box, t

Re: [JAVA3D] Entry point not found problem...

2002-06-13 Thread Jeremy Booth
You are using the direct X version of Java3d, and my guess is that it doesn't like what ever version of direct X you have on the NT box (3 if i remember), I don't know what version Java3d needs, but my guess is, something higher than 3 :) HTH Jeremy devang mankad wrote: > Hi, > > I am new to J

[JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Raul Rios
Depending on the length of my world in the X axis: How far I have to move my view back in the -Z direction to view my whole scene 3D? Is there any equation like: "distance = world_length_X * some_factor" ? Thank you. === T

Re: [JAVA3D] Entry point not found problem...

2002-06-13 Thread Jeremy Booth
Quoted from http://java.sun.com/products/java-media/3D/java3d-install.html for NT you need the open GL version, as NT can't have directx 7 installed IIRC Java 3DTM 1.2.1_04 Requirements * For Solaris: o Sparc system with a frame buffer that supports OpenGL; o (e.g. E

Re: [JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Jeremy Booth
Raul Rios wrote: > Depending on the length of my world in the X axis: > > How far I have to move my view back in the -Z direction > to view my whole scene 3D? > > Is there any equation like: "distance = world_length_X * some_factor" ? > > Thank you. > >

[JAVA3D] PickTool doesn't work with NIO buffer geometry

2002-06-13 Thread Roger Berggren
Hi, I have TriangleStripArray where the coordinates are created using J3DBuffer. When trying to find the closest point on the surface (from the mouse x, y location) the PickTool code stops working. The following code works fine using normal geometry, but not when using nio buffers. pickCan

Re: [JAVA3D] Native app with Excelsior Jet 2.5 and J3D 1.3 b2

2002-06-13 Thread Panos Gkikakis
Just to verify that Kelvin's suggestion did solve the problem. Thank you, Panos. - Original Message - > >Hi all, > > > >I have compiled my app using Excelsior Jet 2.5 Personal. > > > >I'm using JSE 1.4 and J3D 1.3 b2. > > > >When I try to run it I get the frame ok but nothing is render

[JAVA3D] octree with object bound volumn and occlusion culling

2002-06-13 Thread Lan Wu-Cavener
Dear all, I have read several papers on occlusion culling. I am thinking to use object-space occlusion since in java3d, one can maneuver the objects only by swtich node. I am still confused about how does a spacial octree using object bound volume work. Am I correct that all the objects in the s

Re: [JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Raul Rios
Sorry for my ignorance, but... SohCahToa? What is this? Could you please be a bit clearer ? Thank you. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". F

Re: [JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Jeremy Booth
Raul Rios wrote: > Sorry for my ignorance, but... SohCahToa? > What is this? > > Could you please be a bit clearer ? > > Thank you. > > === > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the mes

Re: [JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Raul Rios
Very helpful. Thank you. I'm from Spain and I didn't know this nmemonic (SOHCAHTOA). === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, se

Re: [JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart

2002-06-13 Thread Scott Rutledge
1.4 contains a regression bug when running AWT component under javaw (which WebStart uses). See http://developer.java.sun.com/developer/bugParade/bugs/4664490.html for details. At 11:48 AM 6/13/2002 +0200, you wrote: >this doesn't help much , the effect keeps. >The problem must be in the combinat

Re: [JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Zak Nixon
Sin (Theta) = Opposite \ Hypotenuse Cos (Theta) = Adjacent \ Hypotenuse Tangent (Theta) = Opposite\Hypotenuse -Zak -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Raul Rios Sent: Thursday, June 13, 2002 8:57 AM To: [EMAIL PROTECTED] Subject

Re: [JAVA3D] HOW FAR I have to move my view back to view my whole scene 3D?

2002-06-13 Thread Ewan Borland
Hi, No doubt a simple typo, but the last line should be: Tangent (Theta) = Opposite \ Adjacent Cheers, Ewan - Original Message - From: "Zak Nixon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 3:40 PM Subject: Re: [JAVA3D] HOW FAR I have to move my view back

[JAVA3D] Applet Memory Allocation

2002-06-13 Thread Nathan Bower
Hello,Quick question: I think that when you run a java3d application as anapplet the maximum amount of memory assigned to the java process(es) is64 megs. When running my program as stand-alone, I use the -Xmx switchto allocate 512 megabytes.Is there any way of allowing applets to use more m

Re: [JAVA3D] Full Screen Exclusive Mode

2002-06-13 Thread Kevin J. Duling
This may be a known issue and there may be a workaround for this, but I can't find it. The Java3D archives search engine is currently down or unresponsive. Jeremy's demo is producing exceptions under Win2k 384 Meg, Java3D 1.3 Beta2, DirectX 8.1 (4.08.01.0881), Java 1.4.0 with an ATI Rage128 VR 3

Re: [JAVA3D] Applet Memory Allocation

2002-06-13 Thread Kevin Grey
  In windows, Go to the Java Plugin in the Control Panel.  Under the Advanced tab add -mx512M to the runtime params.  I believe this should do the trick.   ~~K Kevin Z Grey Software Engineer   -Original Message- From: Nathan Bower [mailto:[EMAIL PROTECTED]] Sent: Thursd

Re: [JAVA3D] Does anybody here use NVidia Quadro ?

2002-06-13 Thread Nathan Bower
http://www.asus.com.tw/vga/agpv8200t2/overview.htm That is the graphics card and glasses that I use. I have had it work well with java3d, from 120hz at 800*600, to 85hz at 1600*1200... in stereo mode. I use the stereo enabled drivers from the nvidia site. Search the archives for a post by me abo

Re: [JAVA3D] is java good for game development?

2002-06-13 Thread Nathan Bower
I think that the stencil buffer is basically an overlay image that is rendered "flat" on top of the 3d stuff. Well I think the "stencil" outlines which bits of the image are displayed, and which bits are transparent allowing you to see the 3d view. Good examples of using a stencil buffer would b

Re: [JAVA3D] Texture mapping

2002-06-13 Thread Nathan Bower
Time to buy a book I think Sagar. ... But briefly, Hardware texture mapping removes load from the cpu by "painting" the textures onto the shapes (there are several ways) instead of having the CPU do it before sending the results to the graphics card. But the CPU is hardware too I hear you cry? Y

Re: [JAVA3D] Full Screen Exclusive Mode

2002-06-13 Thread Jeremy Booth
Kevin J. Duling wrote: > This may be a known issue and there may be a workaround for this, but I > can't find it. The Java3D archives search engine is currently down or > unresponsive. > > Jeremy's demo is producing exceptions under Win2k 384 Meg, Java3D 1.3 Beta2, > DirectX 8.1 (4.08.01.0881), J

[JAVA3D] OrbitBehavior BUG?

2002-06-13 Thread R CM
hello, They are many mails post in the archive about this behavior but i've don't find the same Bug... i've download the 1.3beta OGL version and i have a new bug in my application with the OrbitBehavior (com.sun.j3d.utils.behaviors.vp.OrbitBehavior) the behavior only work (wake up) with the can

Re: [JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart

2002-06-13 Thread Kelvin Chung
>Date: Thu, 13 Jun 2002 10:22:12 +0100 >From: Jason Taylor <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-transfer-encoding: 7bit >Content-disposition: inline >Delivered-to: [EMAIL PROTECTED] > >Not much

[JAVA3D] New High-Level Shader Language

2002-06-13 Thread Mauricio Vives
Check it out: Today NVIDIA announced their new high-level shader programming language, called Cg.  Think of it as RenderMan for real-time graphics: They have a compiler that turns high-level C-style code (Cg) into vertex and pixel shader instructions, for both DirectX and OpenGL.  It looks like

Re: [JAVA3D] OrbitBehavior BUG?

2002-06-13 Thread Kelvin Chung
Hi Renaud, Please send us a test case to investigate. Thanks. - Kelvin Java 3D Team Sun Microsystems Inc. >Date: Thu, 13 Jun 2002 19:11:29 +0200 >From: R CM <[EMAIL PROTECTED]> >Subject: [JAVA3D] OrbitBehavior BUG? >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-tr

Re: [JAVA3D] java3D1.2.1_04 OGL using j2sdk1.4 and WebStart

2002-06-13 Thread Mona Wong-Barnum
> Has anyone expierience with webstart and j3d ? I do ... check it out at http://ncmir.ucsd.edu/doc/JViewer/ and click on the "Launch JViewer" link on the left column. It is digitally signed, uses Java 3D and Java Web Start. Cheers, Mona ===

[JAVA3D] com.sun.....OrbitBehavior

2002-06-13 Thread portsacero
I would like using the OrbitBehavior utility but I receive the next message when i try to run my app: java.lang.ArrayIndexOutOfBoundsException at com.sun.j3d.utils.behaviors.vp.ViewPlatformAWTBehavior.setViewingPlatform(ViewPlatformAWTBehavior.java:294) at com.sun.j3d.utils.beha

Re: [JAVA3D] com.sun.....OrbitBehavior

2002-06-13 Thread Kelvin Chung
Hi, This bug 4529746 - ViewingPlatform setViewPlatformBehavior throw Exception if Viewer not set before is fixed in v1.3 beta2. - Kelvin -- Java 3D Team Sun Microsystems Inc. >Date: Thu, 13 Jun 2002 20:41:10 +0200 >From: portsacero <[EMAIL PROTECTED]> >Subject: [JAVA3D] com.sun.

[JAVA3D] cliping plane problem

2002-06-13 Thread Frank Oellien
Hello, I have a question about the back clipping plane. I have a 3D scene that is located in the origin (0,0,0). The maximum extensions of the scene are about 20.0fx20.0fx20.0f. I have created my own Orbiter that moves the viewpoint around the scene. However, when my scene reaches it maximum ext

[JAVA3D] Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x690BD35A (was: Re: [JAVA3D] Full Screen Exclusive Mode)

2002-06-13 Thread Kevin J. Duling
Reposting this with a more appropriate subject line. - Original Message - From: "Kevin J. Duling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 10:03 AM Subject: Re: [JAVA3D] Full Screen Exclusive Mode > This may be a known issue and there may be a workaround

[JAVA3D] Platform Geometry

2002-06-13 Thread Zak Nixon
I have some platform geometry that is added to the viewing platform. Now if i try to look at objects, the Platgeometry goes behind it. Is there anyway to make the platform geometry always be seen no matter how close the viewer is to the viewed geometry? -Zak =

[JAVA3D] flexible rendering of GeometryStripArrays...

2002-06-13 Thread JP Lee
Hi:   In my visualization application, I'm rendering thousands of distinct icons using LineStripArrays (one LSA per icon), and since I need to change their geometries often, I'm also rendering them BY_REFERENCE.   I also want to only render a subsequence of the array, so e.g., instead of render

Re: [JAVA3D] com.sun.....OrbitBehavior

2002-06-13 Thread Mark Hood
> Date: Thu, 13 Jun 2002 11:48:24 -0700 > From: Kelvin Chung <[EMAIL PROTECTED]> > > This bug 4529746 - > ViewingPlatform setViewPlatformBehavior throw Exception if Viewer not set > before is fixed in v1.3 beta2. In addition there is following problem: >> Date: Thu, 13 Jun 2002

Re: [JAVA3D] com.sun.....OrbitBehavior

2002-06-13 Thread Kelvin Chung
>Date: Thu, 13 Jun 2002 21:50:22 +0200 >From: portsacero <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] com.sun.OrbitBehavior >To: Kelvin Chung <[EMAIL PROTECTED]> >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: es-es >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; e

Re: [JAVA3D] Full Screen Exclusive Mode

2002-06-13 Thread Kelvin Chung
Hi Kevin, For DirectX release use java -Dsun.java2d.noddraw=true Demo I can't reproduce the crash under OpenGL version. It works with or without the above workaround. For the crash under D3D, bug 4702086 - D3D: crash when fallback to software mode also fail is filed for it. This is c

[JAVA3D] TextureCache Problems

2002-06-13 Thread Giles
I'm implementing a textureCache for Xj3D. When I run the content the second time without closing the application I get this error. I'm not having a problem sharing textures during the first run, but it seems after I free the SG and then reload it it I get this error. Can you tell me what this l

Re: [JAVA3D] TextureCache Problems

2002-06-13 Thread Kelvin Chung
>Date: Thu, 13 Jun 2002 16:17:24 -0700 >From: Giles <[EMAIL PROTECTED]> >Subject: [JAVA3D] TextureCache Problems >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: en-us, en >Delivered-to: [EMAIL PROTECTED] >User-Agent: Mozilla/5.0 (Windows; U; Windows N

Re: [JAVA3D] com.sun.....OrbitBehavior

2002-06-13 Thread Mark Hood
> Date: Thu, 13 Jun 2002 16:00:03 -0700 > From: Kelvin Chung <[EMAIL PROTECTED]> > > > >Date: Thu, 13 Jun 2002 21:50:22 +0200 > >From: portsacero <[EMAIL PROTECTED]> > >Subject: Re: [JAVA3D] com.sun.OrbitBehavior > > > >Have I to set manually the viewer?? > >Im trying to use without Si

[JAVA3D] Collision detection question

2002-06-13 Thread Carsten Friedrich
I want to do something quite simple and I'm not sure how to do it. I have an scene object which is a combination of a Cylinder and several Cones. Each Cone intersects the cylinder by construction. I now want to write a behavior that changes the color of a cone if that Cone collides with any

Re: [JAVA3D] TextureCache Problems

2002-06-13 Thread Daniel Selman
Alan, MasterControl.java line 2855 -- that sounds like a fun file! ;-) Sincerely, Daniel Selman Author - "Java 3D Programming" http://www.manning.com/selman -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Giles Sent: Thursday, June 13,

Re: [JAVA3D] Collision detection question

2002-06-13 Thread Carsten Friedrich
Actually I'm not so sure anymore that the reported collisions are with the Cylinder. If I rotate the scene using the usual MouseBehavior I get all kinds of wakeupOnCollisionEntry and wakeupOnCollisionExit events. How can I find out what causes these collisions? As all objects maintain their

Re: [JAVA3D] OrbitBehavior BUG?

2002-06-13 Thread Mark Hood
> Date: Thu, 13 Jun 2002 19:11:29 +0200 > From: =?iso-8859-1?q?R=20CM?= <[EMAIL PROTECTED]> > > I have two "cameras" (in fact, two VP with 2 Views and > 2 Canvas) : > VP1 --> View1 --> Canvas1 > VP2 --> View2 --> Canvas2 > orb = new OrbitBehavior(Canvas2); > VP1.setViewPlatformBehavior(orb

Re: [JAVA3D] com.sun.....OrbitBehavior

2002-06-13 Thread Mark Hood
> Date: Thu, 13 Jun 2002 21:50:22 +0200 > From: portsacero <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] com.sun.OrbitBehavior > > [...] > ViewingPlatform not has a setViewer(Viewer) method! Overlooked this question. You associate a Viewer with a ViewingPlatform by calling the Viewer.setViewin

Re: [JAVA3D] Platform Geometry

2002-06-13 Thread Mark Hood
> Date: Thu, 13 Jun 2002 14:55:22 -0500 > From: Zak Nixon <[EMAIL PROTECTED]> > > I have some platform geometry that is added to the viewing platform. Now if > i try to look at objects, the Platgeometry goes behind it. Is there anyway to > make the platform geometry always be seen no matt

Re: [JAVA3D] New High-Level Shader Language

2002-06-13 Thread Joachim Diepstraten
Hi > pixel shader instructions, for both DirectX and OpenGL. It looks like the > compiler only works for NVIDIA cards for now, but other vendors (ATI?) will > be able to make their own implementations. That's unlikely to happen. ATI is at the moment ahead of NVIDIA. And ATI won't agree on a lan