Re: [JAVA3D] display problems

2002-06-27 Thread Pasi Paasiala
I have given all my votes to bug#4458337. I'd ask everybody else who is interested in JDK1.4 and Java3D combination and has some spare votes to do the same thing. If we'd get the bug count to around 60, it would be in top 25 bugs. Pasi -Original Message- From: Discussion list for Java 3D

Re: [JAVA3D] depth sorting

2002-06-27 Thread Nitin.Jain
Dave, It would be nice if you can send me the C code and the example app. Please, do tell us when the porting to Java is done. Thanks, nitin > -Original Message- > From: David Yazel [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 28, 2002 1:05 AM > To: [EMAIL PROTECTED] > Subject: Re: [

Re: [JAVA3D] depth sorting

2002-06-27 Thread Russell Power
Most likely his hands, in combination with a computer ;). --russell - Original Message - From: "GB Liu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 27, 2002 2:56 PM Subject: Re: [JAVA3D] depth sorting > Hi Dave: > > Could you please let me with what tool you port C

Re: [JAVA3D] depth sorting

2002-06-27 Thread GB Liu
Hi Dave: Could you please let me with what tool you port C code into Java? Thank you! Best regards, G.B. Liu - Original Message - From: "David Yazel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 28, 2002 5:34 AM Subject: Re: [JAVA3D] depth sorting > John Ratcliff ha

Re: [JAVA3D] depth sorting

2002-06-27 Thread David Yazel
John Ratcliff has published an algorithm called sphere trees which would be perfect for you. I have started porting his C code into Java. We will be using it for particles and weeds and other things where we have many thousands of objects which we need to render differently on every frame. I do

Re: [JAVA3D] Problems with off-screen rendering

2002-06-27 Thread John Barrus
Michael, I also use a separate thread for rendering, and it works fine, although slower than I'd like. Thanks for your input. John B. -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of Michael Nischt Sent: Thursday, June 27, 2002 11:39 AM T

Re: [JAVA3D] Problems with off-screen rendering

2002-06-27 Thread Michael Nischt
Hi John, don't know whether this helps you: my ImageRenderCanvas works for rendering offscreen images, using a seprate Thread (see attachment). It worked under win2k 1.21 and 1.3 beat 1,2 and under linux with 1.2.1 with -Dj3d.sharedctx=false option (bad performance). unfortunally there is anot

Re: [JAVA3D] Problems with off-screen rendering

2002-06-27 Thread Kelvin Chung
>Date: Thu, 27 Jun 2002 11:26:14 -0700 >From: John Barrus <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Problems with off-screen rendering >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600. >Content-transfer-encoding: 7bit >Importance: Normal >X-Priori

Re: [JAVA3D] Problems with off-screen rendering

2002-06-27 Thread John Barrus
Kelvin, Is there no workaround right now? I don't mind rebuilding part of the scene graph or something if I need to. Do you know anything about the trigger? It seems like it just started happening a week ago, but I made several changes and I'm not sure which ones might have affected it. Sincere

Re: [JAVA3D] depth sorting

2002-06-27 Thread Lan Wu-Cavener
Thanks, Nitin, From what I read, the only way to do the depth sorting is to use BSP or this sort octree . I have not started to implement it yet. I also hoping there is some easier way. cheers! At 09:44 PM 6/27/2002 +0530, you wrote: >Lan, > >No I didn't get any response to this query...probab

Re: [JAVA3D] Problems with off-screen rendering

2002-06-27 Thread Kelvin Chung
Hi John, This is bug 4701430 - Infrequent NPE at RenderBin.java:544 which has a workaround in the upcoming v1.3 release. - Kelvin Java 3D Team Sun Microsystems Inc. >Date: Thu, 27 Jun 2002 09:43:41 -0700 >From: John Barrus <[EMAIL PROTECTED]> >Subject: [JAVA3D] Problems

[JAVA3D] Problems with off-screen rendering

2002-06-27 Thread John Barrus
I have an application that renders to an image offscreen and then combines the rendered image with a photograph. Unfortunately, there are times when the render thread dies and I get the following error: java.lang.NullPointerException at javax.media.j3d.RenderBin.updateObject (RenderBin.ja

Re: [JAVA3D] depth sorting

2002-06-27 Thread Nitin.Jain
Lan, No I didn't get any response to this query...probably it is something which is very-very simple or the other way round :) No I'm not doing any occlusion culing, I'm using immediate mode of rendering because the number of geometries are huge in my view. The geometry is mainly consisting spher

Re: [JAVA3D] display problems

2002-06-27 Thread Scott Rutledge
Ah, this would be my beloved 1.4 'javaw' bug. There's a regression in Merlin that causes non-double-buffered AWT components to not be rendered all the time when running under javaw. J3Ds Canavs3D is such a beast. More info: http://developer.java.sun.com/developer/bugParade/bugs/4458337.html, and h

[JAVA3D] display problems

2002-06-27 Thread Frank Bellegarde
Hi, has any of you ever encountered some display problems when launching their j3d app with javaw. I found that some parts of the display area weren't refreshing correctly, leaving squares of gray. It doesn't occur when launching with java. The canvas3D is on a JPanel in a JFrame. I know there are

[JAVA3D] Implementation of Distance LOD

2002-06-27 Thread António José Cacho
Hi Can I check the implementation of the distanceLOD? I think (hope) there are a hook or public interface for the distances between the view platform and the scene objects. Are there? I am trying to develop a light-weight distanceLOD, for heavily duty in a very large-scale simulator of the sea.

Re: [JAVA3D] Picking CapabilityNotSetException

2002-06-27 Thread Katja Loescher
I just wanted to thank for all the answers. One of the suggestions helped me to get it working. Katja > Katja, > > Check out the VrmlPickingTest example from my book. It should include most > of what you need. You will just have to create your scenegraph yourself, > rather than loading from a VR

Re: [JAVA3D] Seen SRS 3D yet?

2002-06-27 Thread Karsten Fries
Hi Nitin, > I had a look at your product's screenshot, it looks great. Can you give me > some details about the helices in your view. The helix do not have an > straight axis so definitely the normal helix equation can not be used, so > are you using some kind of splines? and how are you making

Re: [JAVA3D] IndexedGeometry and GeometryInfo

2002-06-27 Thread Michael Nischt
Hi Doug, thanks a lot for your response. Till the bug is fixed, I'll use vertexCount = getMin(coords.length/3, normals.length/3, tcoords.length/3) indexCount = coordIndices.length; because that works fine with BY_REFERNENCE altough it is not rhe right way and has nor influence on Geom

Re: [JAVA3D] getPackage for applets

2002-06-27 Thread Karsten Fries
Hi Andrea, i use the following to detect Java3D try { // initialize some J3D object (don't include any J3D object in the members of the class implementing this // otherwise the ClassLoader will throw this exception and you are not able to catch it. new javax.media.j3d.Ca