Re: [JAVA3D] Gradient Paint in Background

2003-06-18 Thread Justin Couch
Dola Woolfe wrote: Thank you, Vladimir. What I nice idea!.. I think I understand it, but I must admit that I couldn't adjust it to my situation. With all my rotations at stuff the background was either appearing in the wrong location or not at all. What we've done with Xj3D works much nicer than

Re: [JAVA3D] Cone with 2 radius

2003-06-18 Thread Allan Ash
Oh, sorry. I didn't notice that your 4th parameter (the number of quadrilaterals needed to define the cone) was set to 2, making it flat. Try something like 16 or 32.   Also, the comments lie about that parameter defaulting to 16. I forgot to test for a null parameter there.   -Allan Ash Sof

Re: [JAVA3D] Gradient Paint in Background

2003-06-18 Thread Dola Woolfe
Thank you, Vladimir. What I nice idea!.. I think I understand it, but I must admit that I couldn't adjust it to my situation. With all my rotations at stuff the background was either appearing in the wrong location or not at all. Do you think it is possible to write a generic GradientBackground c

[JAVA3D] Adding content to the graph after compilation

2003-06-18 Thread Stone, Michael C
Ok, so I've got my scene graph, and I want to add an object to it at runtime. I can get all the info I need, except that when I go to add it, I get an error because the scene is live (and my branchgroup has been compiled). How can I add content to that branchgroup after it's compiled? I do

[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

Re: [JAVA3D] renderOffScreenBuffer & NullPointerException

2003-06-18 Thread Kelvin Chung
Smith, David wrote: You the man Kelvin! Basically the format in BufferedImage and ImageComponent2D was set to handle Alpha. Can't do this with the jpeg encoder apparently. Took that out, and there's my image. Thanks. I noticed the size of the canvas was set to fullscreen (desktop settings). W

Re: [JAVA3D] renderOffScreenBuffer & NullPointerException

2003-06-18 Thread Smith, David
You the man Kelvin! Basically the format in BufferedImage and ImageComponent2D was set to handle Alpha. Can't do this with the jpeg encoder apparently. Took that out, and there's my image. Thanks. I noticed the size of the canvas was set to fullscreen (desktop settings). Why is this? At f

Re: [JAVA3D] Cone with 2 radius

2003-06-18 Thread Γιάννης
It worked but It's not 3d :(   - Original Message - From: Allan Ash To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:17 PM Subject: Re: [JAVA3D] Cone with 2 radius The parameter is a  java.awt.Color Color, not a Color3f.   Try: AttenuatedCone fru

Re: [JAVA3D] renderOffScreenBuffer & NullPointerException

2003-06-18 Thread Kelvin Chung
Smith, David wrote: Don't use Behavior callback, try running on user thread. A simple test case would be [EMAIL PROTECTED] for us to see what's wrong. I am in the user thread. It's a callback from a menu selection. However my app is fairly large, so I extracted out the necessary into two files

[JAVA3D] Material shininess value - how do I make it work?

2003-06-18 Thread Stone, Michael C
Ok, here's the problem now. I'm building a PointLight in the world, and it's shading everything correctly. But when I go and change the shininess values of the materials I have for certain objects, it makes no difference. They all have the same amount of shininess (the white portion of them

Re: [JAVA3D] Cone with 2 radius

2003-06-18 Thread Allan Ash
The parameter is a  java.awt.Color Color, not a Color3f.   Try: AttenuatedCone frustrum=new AttenuatedCone(1.0f,0.5f,1.5f,2,new Color(0.0f, 1.0f, 0.0f),0.5f);   -Allan Ash Software Arts, Inc. - the Information Visualization Company www.infoviz.biz   - Original Message - From:

Re: [JAVA3D] *.max files

2003-06-18 Thread Zak Nixon
:( boo i dont Zak - Original Message - From: "Mojtaba" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:58 PM Subject: Re: [JAVA3D] *.max files > If you have the 3DStudioMax program, you can export from .max to .3ds > >

Re: [JAVA3D] Cone with 2 radius

2003-06-18 Thread Γιάννης
Anyes ideas? - Original Message - From: Allan Ash To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 6:46 AM Subject: Re: [JAVA3D] Cone with 2 radius When I needed one, I did this, and called it AttenuatedCone. It's a set of quadrilaterals arranged around

Re: [JAVA3D] *.max files

2003-06-18 Thread Mojtaba
If you have the 3DStudioMax program, you can export from .max to .3ds Mojtaba > Zak Nixon wrote: > > I have found some models in *.max format. > can someone help me format those in *.3ds format? > > Any ideas? > > Zak ===

[JAVA3D] *.max files

2003-06-18 Thread Zak Nixon
I have found some models in *.max format. can someone help me format those in *.3ds format?   Any ideas?   Zak

Re: [JAVA3D] JAVA3D on IRIX with JAVA 1.4

2003-06-18 Thread Carroll, Mark
Title: RE: [JAVA3D] JAVA3D on IRIX with JAVA 1.4 I received a similar email. I'd be interested to hear peoples opinions on Java 3D's performance on SGIs in general. --mark -Original Message- From: Justin Couch [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 18, 2003 9:06 AM To: [E

Re: [JAVA3D] JAVA3D on IRIX with JAVA 1.4

2003-06-18 Thread Justin Couch
Auguste Genovesio wrote: Does anybody know at SUN if JAVA3D will work with Java 1.4 on IRIX soon? Funny you should ask that. I've just received an email from a guy, about 10 minutes ago, that is testing a J3D 1.3.1 beta copy that runs on Irix. It's not Sun that you should be asking though, it's SG

[JAVA3D] JAVA3D on IRIX with JAVA 1.4

2003-06-18 Thread Auguste Genovesio
Hi Does anybody know at SUN if JAVA3D will work with Java 1.4 on IRIX soon? thxs -- A. Genovesio Quantitative Image Analysis Group Institut Pasteur 25, rue du Docteur Roux 75724 Paris Cedex 15 === To unsubscribe, send email

Re: [JAVA3D] AW: [JAVA3D] Whats in the Transform3D

2003-06-18 Thread Ian Nieves
Thanks florin! wow, theres alot of stuff in there. There should be an option in the constructor to set the precision of the transform3d.. to accomodate matrices of floats, instead of doubles. That would greatly help the people who have thousands upon thousands of transform3ds.. Ian > There are

Re: [JAVA3D] renderOffScreenBuffer & NullPointerException

2003-06-18 Thread Smith, David
> > Don't use Behavior callback, try running on > user thread. A simple test case would be [EMAIL PROTECTED] for > us to see what's wrong. > I am in the user thread. It's a callback from a menu selection. However my app is fairly large, so I extracted out the necessary into two files attached.

[JAVA3D] AW: [JAVA3D] AW: [JAVA3D] Transform3D and angles issue (fwd)

2003-06-18 Thread Florin Herinean
Many peoples looks for that feature, without knowing that it's impossible to get accurate results for any combination of doubles in the matrix. As much as I know there is no software library that's capable of reliably getting the euler angles. Besides that, you can put inside transform3d any kind o

[JAVA3D] AW: [JAVA3D] Whats in the Transform3D

2003-06-18 Thread Florin Herinean
There are the following fixed fields: - double[16] - the actual matrix, - int - type - int - dirty bits - boolean - auto normalization. Depending on the methods invoked, there might be additionaly created: - double[9] - the rotation matrix - double[3] - the scale matrix Cheers, Florin -U

Re: [JAVA3D] Whats in the Transform3D

2003-06-18 Thread Kevin Glass
I'm not sure, but I guess you could write a quick bit of reflection code to find out? > I was wondering if anyone could tell me what non-static data (fields) is > actually contained within a Transform3D... > > I am curious because I would like to get a better idea of what the cost > of allocating

[JAVA3D] Whats in the Transform3D

2003-06-18 Thread Ian Nieves
I was wondering if anyone could tell me what non-static data (fields) is actually contained within a Transform3D... I am curious because I would like to get a better idea of what the cost of allocating large amounts of Transform3Ds is.. So I am quite sure that there is a 4x4 matrix in there somew

Re: [JAVA3D] AW: [JAVA3D] Transform3D and angles issue (fwd)

2003-06-18 Thread Ian Nieves
Florin, Do you think we should make this get method a feature request? I have seen in the past that people actually want this functionality.. even though they may not understand the underlying issues. Thoughts? Ian > There is no way you can be sure you get the *exact* angles you have > entered

Re: [JAVA3D] Transform3D and angles issue (fwd)

2003-06-18 Thread Ian Nieves
I can answer why some of the get methods are missing. I believe it has to do with the "Gimble Lock Problem". (It has been a while since I dealt with this, so the name may not be correct, and the explanation might be bad, but the concept still holds). Basically, a Quaternion is capable of represen

[JAVA3D] AW: [JAVA3D] Transform3D and angles issue (fwd)

2003-06-18 Thread Florin Herinean
There is no way you can be sure you get the *exact* angles you have entered. That's because there are more possible rotations that you can use to achieve the same effect. As an alternative to the algorithm you're using, I have previously posted here a more elaborate algorithm (and more time consum

Re: [JAVA3D] Transform3D and angles issue (fwd)

2003-06-18 Thread Fabrizio NUNNARI
Implemented. It works, but... For little angles I get: Setting angles <0.0,0.5698,0.0> Back-calculated euler angles are alpha=0.0, beta=0.5698, gamma=0.0 but when I pass the PI/2 rotation: Setting angles <0.0,-2.1606,0.0> Back-calculated euler angles are alpha=-

[JAVA3D] Dell Inspiron 8100 Laptop for sale

2003-06-18 Thread Ian Nieves
Hello All, Although I am very against spamming groups such as this one. I do not consider this spam. I have a Dell Inspiron 8100 Laptop (my personal development laptop) for sale. I am informing this group because there may be someone out there interested in experimenting with Java3D on laptops.

Re: [JAVA3D] Cone with 2 radius

2003-06-18 Thread Γιάννης
I put the following code in my class   Create the Frustrum   AttenuatedCone frustrum=new AttenuatedCone(1.0f,0.5f,1.5f,2,new Color3f(0.0f, 1.0f, 0.0f),0.5f);   and i recieved the following errors   D:\java\Java3d Project\tests\Hard tests\CallClass.java:24: cannot resolve symbolsymbol  : cons

Re: [JAVA3D] creating a building

2003-06-18 Thread Flavius Alecu
Yeah, I've read some tutorials on your site...a very good site might I add =) Thanx === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send

[JAVA3D] Simple 3D-2D coordinate routine

2003-06-18 Thread Chris Fenton
Background: First I have simple program, more of a proof of concept. I have a number of objects that are roughly spherical. No matter where the user clicks on 3DCanvas the 'nearest' object should be selected. Pseudo code: It seems the easiest approach is upon object loading, to save a single cent