[JAVA3D] projection coordinates

2003-06-19 Thread Dola Woolfe
Hi, Can I find the (i, j) coordinates on the screen of a point with (x, y, z) coordinates in real space? Thanks! Dola __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ===

Re: [JAVA3D] Gradient Paint in Background

2003-06-18 Thread Dola Woolfe
mir A. Vernikovski > Programmer > --- > JPROOF Technologies Ltd. > - Original Message - > From: "Dola Woolfe" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, June 14, 2003 11:06 AM > Subject: [JAVA3D] Gradient Pain

[JAVA3D] Test, please ignore...

2003-06-18 Thread Dola Woolfe
__ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3

[JAVA3D] Test, please ignore...

2003-06-16 Thread Dola Woolfe
Testing... __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "

[JAVA3D] Gradient Paint in Background

2003-06-14 Thread Dola Woolfe
Hi, I apologize if this is an FAQ. Is there an easy way to have a gradient paint in the background, without going through the trouble of creating an image every time a background is needed? Thanks. Dola __ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. B

[JAVA3D] How to quit programmatically?

2003-06-03 Thread Dola Woolfe
Hi, This is probably an FAQ, but I can't seem to find the answer. I would like to understand the loop that's "driving" Java3D. In particular, how do I stop it programatically so my program can quit w/o a System.exit() call? Can you point me to a source that talks about clearing Java3D resourses (

Re: [JAVA3D] AW: [JAVA3D] AW: [JAVA3D] J3d memory issues

2003-03-31 Thread Dola Woolfe
footprint of my app of 26 MB, > that makes a grand total > memory usage of 44 MB, not using any textures. What > *is* your memory usage ? > > Cheers, > > Florin > > -Ursprüngliche Nachricht- > Von: Dola Woolfe [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag,

Re: [JAVA3D] AW: [JAVA3D] J3d memory issues

2003-03-30 Thread Dola Woolfe
--- Florin Herinean <[EMAIL PROTECTED]> wrote: > -Ursprüngliche Nachricht- > Von: Dola Woolfe [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 10. März 2003 15:25 > An: [EMAIL PROTECTED] > Betreff: [JAVA3D] J3d memory issues > > ... cut ... > > How come adding a bra

[JAVA3D] J3d memory issues

2003-03-10 Thread Dola Woolfe
Hi, Sorry if this is an FAQ. A coule of days ago I posted a meesage that described a situation in which my java servlet enjine was throwing an OutOfMemory exception if I tried to do something twice. (That something was creating a 3D scene and prodicing and offscreen image from it.) Turns out it wa

Re: [JAVA3D] OutOfMemory w/o textures

2003-03-08 Thread Dola Woolfe
wrote: > On Friday 07 March 2003 16:51, Dola Woolfe wrote: > || Hi, > || > || I use j3d in a servlet that produces an image. > Every > || time the servlet is envoked, I create a Universe > stick > || a few objects into it, render to an offscreen > canvas > || and I get my Buf

[JAVA3D] OutOfMemory w/o textures

2003-03-07 Thread Dola Woolfe
Hi, I use j3d in a servlet that produces an image. Every time the servlet is envoked, I create a Universe stick a few objects into it, render to an offscreen canvas and I get my BufferedImage. The problem is that it works (and works great!) only the first time around! It *always* fails the second

Re: [JAVA3D] Slow update

2003-02-27 Thread Dola Woolfe
Yup, that was it. Thank you. (I should've known this.) --- Mark Hood <[EMAIL PROTECTED]> wrote: > > Date: Wed, 26 Feb 2003 18:02:07 -0800 > > From: Dola Woolfe <[EMAIL PROTECTED]> > > > > Basically, updating coordinates takes an > unpredictabl

[JAVA3D] Slow update

2003-02-26 Thread Dola Woolfe
Hi, I have had this problem for about 6 months now. Last time I posted it, a few folks offered to take a look at my code. I haven't sent my code to anyone bacause I wanted to test it on various systems. I'm having the same problem on all systems. Basically, updating coordinates takes an unpredict

Re: [JAVA3D] Not entirely off-topic

2002-01-04 Thread Dola Woolfe
Hi, Following up my own message. Is there a way (I'm guessing, yes) to determing the location of the projection of a point given it's 3 real coordinates? If yes, can someone show me how to do this? Thanks! Pavel --- Dola Woolfe <[EMAIL PROTECTED]> wrote: > Hi, > > Su

[JAVA3D] Not entirely off-topic

2002-01-03 Thread Dola Woolfe
Hi, Suppose I have a cube which I think of as coordinate axes. Of course, the cube is to be spun, zoomed, etc. I want to place labels, ticks, and tick labels next to the axes. Matlab, for instance, does a pretty good job, but not always. I have no idea how to calculate where to place the numbers

[JAVA3D] Canvas3D positioning problems

2001-09-04 Thread Dola Woolfe
Hi, This problem occurs under a variety of circumstances so unless you guys don't know what I'm talking about I'll try to describe those circumstances... but have you every noticed that the canvas3D jumps out of its "laid-out" location and onto some other place on the screen (towards upper-left).

[JAVA3D] Turning objects on and off: my experience

2001-08-25 Thread Dola Woolfe
Hi, Since I started this thread, I would like to relate back some of my experiences following the people's advice (for which I am thankful). 1. Detach/Re-attach. Predictably, this works but for some reason this was slower than the setVisible() alternative (3). 2. Make Bounds small or empty, thu

[JAVA3D] GeomInfo useful to me?

2001-08-25 Thread Dola Woolfe
Hi, I'm using a GeometryInfo on my objects for two purposes: strippify and calculate normals. Can I still make use of GeomtryInfo is the locations (but not the topology) of my vertices are changing? Obviously, the normals need to be recalculated while strippification remains in tact. My hope is

Re: [JAVA3D] Turning objects on and off

2001-08-25 Thread Dola Woolfe
Thanks, I figured as much! --- Joachim Diepstraten <[EMAIL PROTECTED]> wrote: > Hi > > > The solutions that occur to me are the following > > > > 1. Detach/Re-attach. > Yes that's the only real way to do. > > > 2. Use a show/hide switch (that I am missing?) > AFAIK doesn't exist > > 3. Use a bound

[JAVA3D] Turning objects on and off

2001-08-24 Thread Dola Woolfe
Hi, This must be very silly question with an obvious answer. What is the easiest way to toggle objects in and out of (i.e. show/hide) the scene graph? The solutions that occur to me are the following 1. Detach/Re-attach. 2. Use a show/hide switch (that I am missing?) 3. Use a bounding object to

Re: [JAVA3D] offscreen rendering: 1 more prob: textures

2001-08-24 Thread Dola Woolfe
offscreen modes. That's why the quality of POLYGON_LINES decayed also. Now I find it very confusing that onscreen and offscreen rendering can produce such different results. How am I to get both of them to work at the same time? Dola --- Dola Woolfe <[EMAIL PROTECTED]> wrote: > Hi, &

[JAVA3D] offscreen rendering: 1 more prob: textures

2001-08-24 Thread Dola Woolfe
Hi, And I've got one more problem with off-screen rendering. This one seemingly has to do with textures. If you're interested please take a look at the (good) on-screen rendering: (this will give you a good idea of what the 3d object looks like) http://www.freeboundaries.org/true.jpg and a bunc

Re: [JAVA3D] wglCreateContext Failed

2001-08-24 Thread Dola Woolfe
trada <[EMAIL PROTECTED]> wrote: > Fisrt guess is that offscreen rendering is not > supported by your hardware. > What is your hardware? > > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of > Dola Woolfe >

[JAVA3D] Related to prior post - more info

2001-08-24 Thread Dola Woolfe
As I stated before, I've been getting the error when rendering to an offscreen buffer on NT4.0; I have just tried the same thing on a different NT4.0 box which is _supposedly_ configured identically and everything worked beautifully! Even on-screen rending is much better! So I'm guessing that on

[JAVA3D] wglCreateContext Failed

2001-08-24 Thread Dola Woolfe
Sorry to be such a pest. Any idea why I maybe getting the following error on NT4.0 when try to render to an offscreen buffer. wglCreateContext Failed: The specified procedure could not be found. extensionStr == null (Reposting out of concern that my prior message got lost in the traffic.) ___

Re: [JAVA3D] polygon offset

2001-08-24 Thread Dola Woolfe
So is the current state of affairs a bug? That will be soon fixed? I've never had these problems in OpenGL. --- Joachim Diepstraten <[EMAIL PROTECTED]> wrote: > Hi Dola > > > __still__ have stitching! > > Perhaps it works if I try very large numbers > (1000f) > > but then it looks ridiculous on

[JAVA3D] polygon offset

2001-08-23 Thread Dola Woolfe
Hi, I've read all(?) the trails on the subject and I __still__ have stitching! Perhaps it works if I try very large numbers (1000f) but then it looks ridiculous on other machines. I've read that the usage of this command is hardware specific, but can that be right? Thanks for the responses! Dol

[JAVA3D] Simple question

2001-08-23 Thread Dola Woolfe
This question is very easy for formulate. I capture an image to the off-screen buffer (code at the bottom). It works on my Linux machine and my Win95 machine. However, on my NT4.0 box (which is where I *need* it to work) it doesn't work and instead gives me a black square. The error that I sort of

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread Dola Woolfe
Hi, This may be impossible in Java3D, but it is definitely possible OpenGL. So I'm surprised that it is impossible in Java3D. Dola --- Joachim Diepstraten <[EMAIL PROTECTED]> wrote: > Hi Saurabh > > > Is it possible to set different material > > properties for the different sides of a face made

[JAVA3D] and a printing question

2001-08-15 Thread Dola Woolfe
Hi, I would like to print out my scene at the highest possible resolution. Can I, and if yes, how do I control the resolution at which the off-screen rendering takes place? I would be really happy if it were possible! Dola __ Do You Yahoo!? Make

[JAVA3D] setTextureCoordinate question

2001-08-15 Thread Dola Woolfe
Hi, JBuilder complains that setTextureCoordinate(int, Point3f) is deprecated. Is it really? Everybody seems to be using it... Dola __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.co

Re: [JAVA3D] Pls help resove problems

2001-08-15 Thread Dola Woolfe
Thanks! What a great tutorial! Dola --- Marcelo Maes <[EMAIL PROTECTED]> wrote: > Hello, > > Here is a good tip on lighting: > http://www.3drender.com/light/3point.html > > Marcelo M. Maes > [EMAIL PROTECTED] > > --- Dola Woolfe <[EMAIL PROTECTED]> wrote:

[JAVA3D] Pls help resove problems

2001-08-14 Thread Dola Woolfe
Hi, I've posted a message a couple of days ago, but since then I fixed a lot of things including the normals via Geometry info. Still, a few problems persist and maybe someone could help me. http://www.freeboundaries.org/Laba/ 1. Lighting is still poor. Am I doing something wrong. 2. How come c

[JAVA3D] Please help with lighting

2001-08-12 Thread Dola Woolfe
Hi, If someone's interested, my I ask that someone to take a look at my 3D applet that I use in my research? You can take a look at it at http://www.freeboundaries.org/Laba/ By default, it displays a liquid droplet on the wall and you will agree with me that the lighting is horrible. I hava a

[JAVA3D] Newbie projection question

2001-08-09 Thread Dola Woolfe
Hi, (I've posted this on comp.lang.java.3d; Hopefully, you don't mind the crosspost.) Can someone please outline the steps necessary to setup and control the projection. I've tried something naive: trnsfm.projection(Math.PI/2, 1.0, 0.1, 10.0); viewer.setCompat...(true);