[JAVA3D] about: java.lang.unsatisfiedLinkError

2001-04-25 Thread qxp
does anyone ever see the following error:   java.lang.unsatisfiedLinkError: no J3D in java.library.path I met this error twice: (1) TransformGroup objScale = new TransformGroup() ;    Transform3D t3d = new Transform3D() ;    t3d.setScale(0.7) ; objScale.setT

Re: [JAVA3D] Applet parameters

2001-04-25 Thread Daniel Moscoso
OK ! So the MainFrame is only needed if the applet is run as an application. If it's run as an applet first is called the constructor, and afterwards the init() method. I think the best solution for catching the parameters is building the scene graph from the init() method, instead of building i

Re: [JAVA3D] Color3b to Color3f

2001-04-25 Thread J. Lee Dixon
Since color3f expects 0-1 values for each channel, it should be: float red = ((float)redbyte) / 255.0f; etc... -Lee -Original Message- From: Sackmunky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 8:30 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Color3b to Color3f Was i

[JAVA3D] Color3b to Color3f

2001-04-25 Thread Sackmunky
Was is the correct way to convert the values from the byte values to the float values?   Thanks ,   Zak

[JAVA3D] JDialog over Canvas3D

2001-04-25 Thread Illarramendi Amilibia, Aitor
Hello everybody:       Has anyone tryed to display a JDialog over a Canvas3D within a frame?       When I display it and move the mouse over the Canvas3D the JDialog goes behind the Canvas3D's frame.       I'm trying, making it modal, looking for a way of making it non light weight, but I

Re: [JAVA3D] Color3b to Color3f

2001-04-25 Thread Artur Biesiadowski
"J. Lee Dixon" wrote: > > Since color3f expects 0-1 values for each channel, it should be: > float red = ((float)redbyte) / 255.0f; > etc... I'm not sure about that. I would rather do float red = (redbyte & 0xff) / 255.0f; Artur =

Re: [JAVA3D] JDialog over Canvas3D

2001-04-25 Thread Desiree Hilbring
Hi take a look at: http://java.sun.com/products/jfc/tsc/articles/mixing/ I used Guideline 4 for My Swing Menues over the Canvas3D: Guideline No. 4 If you place Swing popup components in a window containing heavyweight components and it's possible that the popup windows will intersect a heav

[JAVA3D] multiplying matrices

2001-04-25 Thread Dipl. Ing. Paul Szawlowski
Hi all, this is one for the graphics gurus: In OpenGL Programming Guide page 115: Sometime, programmers who want a continuously rotating object attempt to achieve this by repeatedly appliying a rotation matrix that has small values. The problem with this technique is that because of round-off er

[JAVA3D] Need the Java3d.jar installer

2001-04-25 Thread Mohammed Akacem
I need the java3d.jar installer to bundle with my applet, I tried for 2 days to surf to http//www.J3D.org in vain.(seems like the server is down)is there another source ? Thanks Mohammed === To unsubscribe, send email to [EM

Re: [JAVA3D] Color3b to Color3f

2001-04-25 Thread Sackmunky
Nevermind, figured it out.Thx.   Zak - Original Message - From: Sackmunky To: [EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 7:30 AM Subject: [JAVA3D] Color3b to Color3f Was is the correct way to convert the values from the byte values to the float values?

Re: [JAVA3D] Range ordering of transparent objects

2001-04-25 Thread J. Lee Dixon
Wow, I think I've finally got something running, and yes it is fast (relative to using OrderedGroups and BranchGroups). I have taken Doug Twilleager's advice (many thanks) and have disconnected the "transparent" portion of my scene graph and am rendering it in immediate-mode. Here are a couple o

Re: [JAVA3D] JDialog over Canvas3D

2001-04-25 Thread Illarramendi Amilibia, Aitor
Thanks a lot Desiree: I knew that article, but now I'm looking how to do it with a JDialog. I understood from the article too, that it has no sense to use a Canvas3D inside a InternalFrame environment because of it's heavyness. I think that it's a wide limit for Canvas3D a

Re: [JAVA3D] JDialog over Canvas3D

2001-04-25 Thread John Wright
We've found that if you don't put Swing components in the same frame as a Canvas 3D that Swing dialogs can be popped up over the canvas 3D just fine. - John Wright Starfire Research > "Illarramendi Amilibia, Aitor" wrote: > > Hello everybody: > > Has anyone tryed to display a JDialog over a

Re: [JAVA3D] JDialog over Canvas3D

2001-04-25 Thread Renoir Sewjee
Hi, I do this all the time and don't get the behaviour you describe.  You could try setting the Frame as the parent of the JDialog (in the JDialog constructor). "Illarramendi Amilibia, Aitor" wrote:  Hello everybody:    Has anyone tryed to display a JDialog over a Canvas3D within a frame?    When

Re: [JAVA3D] multiplying matrices

2001-04-25 Thread Dipl. Ing. Paul Szawlowski
Hi Artur > > Can someone (from Sun ? ) make assure that continous matrix > > multiplication over a long period of time is no problem in Java3d ? Then > > I would switch to this. > > I don't think that sun people can do miracles. If you use floating > point, you are always risking small corruption

Re: [JAVA3D] multiplying matrices

2001-04-25 Thread Paraskevas Orfanides
Both of you have some good points. But just a comment here, Sun people CAN make miracles:-). It was recently discussed in this list that the function "normalize" much unlike what it sounds it should do, it actually checks and orthogonalizes the matrices in order to avoid exactly this type of erro

Re: [JAVA3D] multiplying matrices

2001-04-25 Thread Artur Biesiadowski
Of course in previous letter I meant signum, not abs. double x = sgn(1.2 - 1.0 - 0.2); Artur === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general

Re: [JAVA3D] multiplying matrices

2001-04-25 Thread Artur Biesiadowski
"Dipl. Ing. Paul Szawlowski" wrote: > Can someone (from Sun ? ) make assure that continous matrix > multiplication over a long period of time is no problem in Java3d ? Then > I would switch to this. I don't think that sun people can do miracles. If you use floating point, you are always risking

Re: [JAVA3D] Range ordering of transparent objects

2001-04-25 Thread J. Lee Dixon
Quick update I *was* using OrientedShape3D correctly. I tested this by leaving my transparent objects in the scene graph (un-ordered) and the shape orientation worked. Is there something special to be done for immediate-mode rendering of OrientedShape3D nodes?? -Lee > > * Behaviors: if yo

Re: [JAVA3D] multiplying matrices

2001-04-25 Thread Fred Klingener
From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]> Sent: Wednesday, April 25, 2001 9:23 AM > ... > In OpenGL Programming Guide page 115: > Sometime, programmers who want a continuously rotating object attempt to > achieve this by repeatedly appliying a rotation matrix that has small > values

Re: [JAVA3D] about: java.lang.unsatisfiedLinkError

2001-04-25 Thread Syrus Mesdaghi
  Hello, This problem is because j3d.dll cannot be found. The reason why you get it on certain lines is because that¡¯s the first place where it had to use j3d.dll. Follow generic trouble shooting for j3d (i.e.: un install/reinstall, make sure that j3d is going under the same VM that you a

Re: [JAVA3D] JDialog over Canvas3D

2001-04-25 Thread Kelvin Chung
>X-Unix-From: [EMAIL PROTECTED] Wed Apr 25 06:03:00 2001 >MIME-Version: 1.0 >Date: Wed, 25 Apr 2001 15:01:12 +0200 >From: "Illarramendi Amilibia, Aitor" <[EMAIL PROTECTED]> >Subject: [JAVA3D] JDialog over Canvas3D >To: [EMAIL PROTECTED] > It may related to bug : 4354276 - D3D: Undesired "bring t

[JAVA3D] Applet Error

2001-04-25 Thread Malguy, Eric G.
Hi all, Any idea on why I get the following error and how can I fix it? The applet work fine when I run it from JBuilder but when I run the HTML file I get this error: java.sql.SQLException: No suitable driver Can I get some help on this one? Thanks, Eric // Set up database connection

[JAVA3D] Usage of geometry by reference and localToVworld matrices

2001-04-25 Thread Yuri Nikishkov
Title: Usage of geometry by reference and localToVworld matrices These are the questions mostly to Java3D developers but if anybody else has the answers I will be grateful to know them. 1. Does setting the vertex format of geometry as BY_REFERENCE really help save memory? The memory usage doe

Re: [JAVA3D] How to update image on Raster ?

2001-04-25 Thread Uma Sabada
> > What exactly should I do to update image on Raster ? > > 1) Should I set it's ImageComponent2D to null and back to same IC after > update ? > 2) Should I reuse same ImageComponent2D, use two (kind of double buffer) > or create new one every time ? Both methods work. But, in the first case, yo

Re: [JAVA3D] Usage of geometry by reference and localToVworld matrices

2001-04-25 Thread Artur Biesiadowski
> Yuri Nikishkov wrote: > > These are the questions mostly to Java3D developers but if anybody > else has the answers I will be grateful to know them. > > 1. Does setting the vertex format of geometry as BY_REFERENCE really > help save memory? The memory usage does not change if we use regular > m

Re: [JAVA3D] new canvas procedure?

2001-04-25 Thread Mona Wong
Hi Kelvin: Thank you very much for answering my question. I am using SimpleUniverse (not VirtualUniverse) but I presume it is the same thing. Cheers, Mona > >Hi: > > > >What are the steps that I need to follow when my java 3d program is > done > >with one canvas scene and need

[JAVA3D] Simple flat polygon

2001-04-25 Thread Thomas
Hi, How can I draw a simple flat polygon from an array of Point3f (that, of course belong to the same surface) ? I tried with GeometryInfo, but I always get an IllegalArgumentException: StripCounts inconsistent with primitive. Thanks for helping me. Thomas Jung ===

[JAVA3D] Bill board transparency, alpha test based...

2001-04-25 Thread Leyland Needham
Im not sure what to call it, but I want to do a bit mask kind of transparency for texture mapped billboard type objects. In OpenGL this is done by alpha testing, and if the alpha value is below 0.5 its transparent and if its greater or equal to 0.5 then its opaque. Also another characteristic of t

[JAVA3D] is this a YUP bug or is it just the code?

2001-04-25 Thread nader
Hi, I have been trying out Doug Gehringer's Volume Rendering app. (available from j3d.org) and have noticed this peculiar misbehavior. What I noticed is that YUP only works for the textures along the z-axis but not the x-axis nor the y-axis. I thought it was a bug in the code but could not resolv