Re: [JAVA3D] Performance Experience

2002-07-16 Thread Zoran Krunic
Thanks! - Original Message - From: "Alessandro Borges" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 6:01 AM Subject: Re: [JAVA3D] Performance Experience > From: "Zoran Krunic" <[EMAIL PROTECTED]> > > Hi There, > > Is there a way to get FPS measurements with j

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Zoran Krunic
Thanks! That code worked - I got something similar: [getHWProperties] hardware properties dump: compressedGeometry.minorVersionNumber = 0 texture3DAvailable = false doubleBufferAvailable = true textureColorTableSize = 0 sceneAntialiasingAvailable = true compressedGeometry.minorMinorVersionNumber

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Zoran Krunic
OpenGL, 1.2.1. - Original Message - From: "Jeremy Booth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 8:21 AM Subject: Re: [JAVA3D] Performance Experience > Zoran Krunic wrote: > > Thanks! > > > > > > My scene has some 5000 quads (not > > triangles) > > > >

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Zoran Krunic
I am using Java 3d 1.2.1, OpenGL version; all of the quads are used to create solid 3d shapes, in POLYGON_FILL mode, with CULL_NONE ( I set this for the Appearance which is then used for all shapes) - without this the look is terrible - colors are off and shading is incorrect. I calculate quad no

[JAVA3D] ClassCastException for BoundingBox

2002-07-16 Thread Raghavendra R
Hi, I am getting a java.lang.ClassCastException when i do the following using J3D 1.3. Previously, i was using J3D 1.1.3 without any such exceptions. Is it not possible to typecast BoundingSphere / BoundingBox? BoundingBox bounds = new BoundingBox(pt1, pt2) ; BranchGroup bgroup ; bgroup.setBoun

Re: [JAVA3D] J3D.dll Exception

2002-07-16 Thread Sean Sylvis
No, I don't think so. The geometry I am creating is only Cylinders (from the com.sun.j3d.utils.geometry package), which I think uses GeomBuffer QuadStrips that are turned into a TriangleStripArray. I will send a test case as soon as I am able to create one (although creating one will probably

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Kasparian, Raffi J.
Thanks to all who responded. This is obviously a topic many are interested in. The responses were helpful. I now have a working algorithm that captures images at regular intervals. I'm attaching the code if anyone would like to see. Raffi -Original Message- From: Ewan Borland [mailto:[EM

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Ewan Borland
Hi, I too get blank images using this approach but I have successfully captured using the standard methods. I think the problem might be that you are keeping the buffered images until the IOThread writes them out. I seem to remember someone posting that buffered images retrieved in this way stil

Re: [JAVA3D] Why can't I make bugreports for J3D1.3b2?

2002-07-16 Thread Doug Twilleager
Have you tried to reduce the resolution of the window? This may be related to the issue that I described when I announced the release. Doug. >Subject: Re: [JAVA3D] Why can't I make bugreports for J3D1.3b2? >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Delivered-to: [EMAIL PROTECTED] > >Hi Doug >

[JAVA3D] Help with Alpha-only textures

2002-07-16 Thread Justin Couch
Chasing some help understanding some of the 2D texture modes. It seems they are not what they appear to be. I'm trying to develop a texture-based solution for the VRML Text node. To do this, I'm creating alpha-only textures to act as a "stencil" over the geometry as the spec requires that the tex

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Sean Sylvis
I don't know how dynamic you want this to be, but if you are worried about the image buffer overflowing, you could try "dropping" captured frames if the buffer is filling up too quickly. Or if the screen is being transformed (rotated, etc.) by a behavior (not a human), then you could simply "pa

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Kasparian, Raffi J.
Alessandro, Thanks, I hadn't considered buffering them to an array and writing them later because I anticipate having so many images that all my available RAM would disappear. However, I will try it right now for a relatively small number of images and see if it improves the problem. I'll post th

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Alessandro Borges
Raffi, useIOThread = false works better here. IO are always slow operations. So, why you don't you buffer the images? You can put your images inside an Array or a Vector, and write it to disk later, after Stop button action.. Even this way you will have degradation in FPS, but less than direct w

[JAVA3D] TransformGroup

2002-07-16 Thread Lan Wu-Cavener
Hi, all: I am profiling my program and found that java3d generated a great numbers of doubles that were garbage collected during the run. I wondered where I can find the source code of the TransformGroup. And why there are so many doubles be created and thrown away? Thanks in advance! Lan Wu-Ca

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Kelvin Chung
>Date: Tue, 16 Jul 2002 08:08:41 -0700 >From: Zoran Krunic <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Performance Experience >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 >Content-transfer-encoding: 8BIT >X-Priority: 3 >X-MSMail-priority: Norma

Re: [JAVA3D] LineAttributes problem

2002-07-16 Thread Kelvin Chung
Hi David, >From README of Java3D DirectX version: = Information on the Direct3D Implementation of Java 3D = Unsupported Features The following features are currentl

Re: [JAVA3D] J3D.dll Exception

2002-07-16 Thread Kelvin Chung
Hi Sean, The following bug may be related: 4707919 - D3D: crash when QuadArray vertex count > 43690 If it is not applicable in your case, please send us a test case and we'll take a look to fix this in the next release. Thanks. - Kelvin Java 3D Team Sun Microsystems I

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Tarlton Mark-CMT041
I get all blank images as well. Java 1.4, J3D 1.3 OpenGL with NVIDIA 400MX card, Win2000. I've also been fighting this problem using off-screen canvas. Results are blank there as well. I tried dropping the screen resolution to 800x600, 32bit/pixel with no change. Mark -Original Message---

Re: [JAVA3D] RasterTextLable (j3d.org)

2002-07-16 Thread Justin Couch
Ingo Brunberg wrote: > RenderingAttributes in RasterTextLabel use an alpha test function of > ALWAYS (the default). Adding > ra.setAlphaTestFunction(RenderingAttributes.GREATER); > after line 117 in RasterTextLabel.java should do the job. Ok. I've just put that in blind and commited, hoping that

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Alessandro Borges
From: "Zoran Krunic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [JAVA3D] Performance Experience > After searching through the old emails and FAQs I found the > "java -Dj3d.debug=true" which I added to the > command line - but I still do not get any info on the hardware/software > a

Re: [JAVA3D] which overlay system to use ?

2002-07-16 Thread Justin Couch
David Yazel wrote: > I have not played much with the graphics 2d system in Java3d. When I tried > it 2 years ago it wasn't working very well. Yes, and by Sun's own admission, the performance is fairly horrible. Note that they recommend creating your own image, fetching the Graphics2D context fro

Re: [JAVA3D] About VRML

2002-07-16 Thread Justin Couch
David Bourgais wrote: > I've got 2 questions about VRML and Java3D. > First, how could you get the position of a vrml scene ? The scene is positioned wherever the source file puts it. There will be the stock origin, but if you end up with a tool like Caligari's TrueSpace that has a tendency to p

Re: [JAVA3D] VRML and transparency

2002-07-16 Thread Justin Couch
David Bourgais wrote: > I'm working on an application which displays a vrml scene. > I would like to create an option which allows the user to make > transparent or opaque the vrml scene. There's not really a good way of doing this in general. YOu would need to walk the entire scene graph looki

Re: [JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Kasparian, Raffi J.
I should follow this up by saying that I'm using Java 1.4.1b, Java3D 1.3, NT4, Pentium III, 800 mhz processor, 384G RAM. -Original Message- From: Kasparian, Raffi J. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 11:38 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Capturing the Canv

[JAVA3D] Capturing the Canvas3D Image

2002-07-16 Thread Kasparian, Raffi J.
I am not having great success with the tried and true image capture routines. Sometimes images are captured correctly and other times only partial images are generated. When capturing every frame drawn, performance is severely degraded and many times the Canvas3D itself only shows partial or blank

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Jeremy Booth
Zoran Krunic wrote: > Thanks! > My scene has some 5000 quads (not > triangles) > > Thanks, > > > Zoran > Are you using the directX version of java 3d or the openGL version? Jeremy === To unsubscribe, send email to [EM

[JAVA3D] About VRML

2002-07-16 Thread David Bourgais
Hi ! I've got 2 questions about VRML and Java3D. First, how could you get the position of a vrml scene ? Secondly, I want my vrml scene transparent. What is the best way ? Any code would be very appreciated. Thank you very much. David Bourgais ==

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Zoran Krunic
one correction - the CPU is running at 50-60% without the FPS behavior class - with it goes up to 100% but the rotation speed seems unaffected. Thanks, Zoran - Original Message - From: "Zoran Krunic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 8:08 AM Subjec

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Zoran Krunic
Thanks! Last night I tried similar code that I got from another member, with some mods. Looks similar to this one though. I am getting about 10 FPS - way low for the hardware I just installed - DELL 2GHz / 1GB RAM / GeForce 4600 128 MB ?? The CPU is running at 50-60% with or without FPS behavior.

Re: [JAVA3D] Drag and Drop

2002-07-16 Thread Christopher Davies
Hi, > > Can anyone tell me if its possible to implement drag and drop on a > > Canvas3D object? I would like to drag and drop an object defined by > > me that stores image pixel information onto a canvas to be rendered > > as a 3D image. > I implement a Drag & Drop function for 3D objects, I can

Re: [JAVA3D] Drag and Drop

2002-07-16 Thread White Morph
I implement a Drag & Drop function for 3D objects, I can use mouse to drag and drop any point on the object while mouse moving. white === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the messag

Re: [JAVA3D] Performance Experience

2002-07-16 Thread Alessandro Borges
From: "Zoran Krunic" <[EMAIL PROTECTED]> > Hi There, > Is there a way to get FPS measurements with j3D 1.2.1 ? > Thanks, > Zoran There is a generic way to count FPS: see below. May work with any version of Java3D. I dont remember the name of the author, but I like to say a big Thank You to him/he

[JAVA3D] VRML and transparency

2002-07-16 Thread David Bourgais
Hi I'm working on an application which displays a vrml scene. I would like to create an option which allows the user to make transparent or opaque the vrml scene. Is there anyone who wants to help me ? Any source code would be appreciated. Thanks a lot. David Bourgais =

[JAVA3D] Transform3D.ortho

2002-07-16 Thread Roland Sarrazin
JAVA3D-INTEREST Digest - 14 Jul 2002 to 15 Jul 2002 (#2002-201)Hello, I'm using the method ortho() of the Transform3D class to control exactly which plane is actually rendered into an offscreen canvas, since I then read out of the buffer the color values. The problem is that I state little discr

[JAVA3D] LineAttributes problem

2002-07-16 Thread David Wedge
Dear list, I am trying to apply style properties to a line. When I use the following code, the color is applied but the linewdith and dashpattern are ignored when the line is rendered. Am I missing something?    Point3d point1=new Point3d(0,0,0); Point3d point2=new Point3d(1.0,1.0,1.0); Lin

Re: [JAVA3D] Why can't I make bugreports for J3D1.3b2?

2002-07-16 Thread Joachim Diepstraten
Hi Doug > I believe they only list releases that have had FCS releases. I'm not > sure why they > don't have the 1.X releases. Another way to get bugs to us is to send No problem as 1.3 is out now and the bug is still there in 1.3final so I hope they include 1.3 now in the list :) Btw.: First