[JAVA3D] Tube class

2003-10-15 Thread Robert Gomez-Reino
Hi all, I want to create a class (I will call it Tube) that will represent a cylinder with inner and outer radio, lenght and an angle refered to its axial axis that represent a section of the Tube (this data will be read from a Database) . The classes that I had created before were always ma

Re: [JAVA3D] Tube class

2003-10-15 Thread Dirk L. van Krimpen
  Hi Robert,   Look into \demo\java3d\GearTest. There is a source file called Shaft.java. It generates indeed a shaft, so a cylinder and top and bottom face. But, I'm sure you will be able to modify the code to the tube you want.   Dirk - Original Message - From: Robert Gomez

[JAVA3D] Drawing non-standard buttons

2003-10-15 Thread Carlos Vieira
Hi, What is the best choice to draw buttons in a 3D scene? Java3D have built-in support to draw our own buttons? Thanks in advance Carlos === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of

[JAVA3D] heavy calculation between frames

2003-10-15 Thread Chris Ender
Hi Java 3D fans I do a simulation. The calculation takes about a second and the rendering about 0.5 to 10 seconds. that is how it is done in a Thread so far: in Thread.run(): canvas.stopRenderer(); heavyCalculation(); canvas.startRenderer(); //wait try { Thread.yield(); Thread.sleep(500

Re: [JAVA3D] heavy calculation between frames

2003-10-15 Thread Jeremy Booth
Hi Look at the WakeupOnElapsedFrames behavior, it's easy to put one in your scene and the call the heavyCalculation from there. Cheers Jeremy -- Homepage: http://www.computerbooth.com/ Codepage: http://www.newdawnsoftware.com/ ==

Re: [JAVA3D] heavy calculation between frames

2003-10-15 Thread Ewan Borland
Should be able to do it by subclassing Canvas3D and overriding the postSwap() method: public class myCanvas extends Canvas3D { public Object waitObject = new Object(); public void postSwap() { waitObject.notifyAll(); } } Then instead of Thread.yield() etc. just call myCa

Re: [JAVA3D] heavy calculation between frames

2003-10-15 Thread tiagoscalheiros
Hallo, When i want to render a onscreen canvas i use the command renderOnce() to make sure that the frame that i want is rendered. If i use an offscreen canvas i use the comand waitForOffScreenRendering(); the explication in the java 3d API: http://java.sun.com/products/java- media/3D/forDevelope

[JAVA3D] texture coordinates....

2003-10-15 Thread Flavius Alecu
so, now I used texture coordinates to put textures on teh ground and on a brick wall i think i have some problems with those. the brick wall, looks really nice, when you're close to it..when you go far away from it, the texture starts moving around and changing size...this is definetly some tex

[JAVA3D] List of Java3D conversation areas

2003-10-15 Thread LeW on hotbox.ru
: Forum: http://forum.java.sun.com/forum.jsp?forum=21 MailingList: [EMAIL PROTECTED] (4 more information send email to [EMAIL PROTECTED] and include in the body of the message "help") NewsGroup: [comp.lang.java.3d] (UseNet newsgroup, u can use free newsServer [News.CIS.DFN.DE], find more at ht

Re: [JAVA3D] Mapping textures on the inner surface of a sphere

2003-10-15 Thread Paul Brown
Thanks for your advice guys. What a pity that Sun didn't anticipate that people may wish to extend and override their classes and, hence, make the access modifier of the variables and methods in them "protected". Ah well, on to cutting and pasting. Cheers, -Paul ===

Re: [JAVA3D] List of Java3D conversation areas

2003-10-15 Thread Nikolai V. Chr.
LeW on hotbox.ru wrote: : Forum: http://forum.java.sun.com/forum.jsp?forum=21 there are many more forums: http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=3D http://www.manning.com/ao/readforum.html?forum=j3dpao http://www.manning.com/ao/readforum.html?forum=3uij3ao --

[JAVA3D] VRML97Loader

2003-10-15 Thread Serge Bernier
Hi all, I have a problem with the VRML97Loader. I created a applet witch load some vrml files. The applet is signed and everything work fine when I call the applet from an HTML file saved on my computer. The same applet is on a web server and it crash when I load a VRML file with the VRML97Loader.

Re: [JAVA3D] List of Java3D conversation areas

2003-10-15 Thread Michael Pfeiffer
Or a very interesting webboard (but german only) at http://forum.javacore.de On Wed, 15 Oct 2003 16:47:15 +0200, Nikolai V. Chr. <[EMAIL PROTECTED]> wrote: LeW on hotbox.ru wrote: : Forum: http://forum.java.sun.com/forum.jsp?forum=21 there are many more forums: http://www.javagaming.org/cgi-bin/J

Re: [JAVA3D] VRML97Loader

2003-10-15 Thread Jeremy Booth
> I get the following error : > > ParsingErrorException > > com.sun.j3d.loaders.ParsingErrorException: File not found. > http://www.cours2.polymtl.ca:80/PHS3901/NotesCours/Chap4/Vibrations_Symetries_M > olecules/Molecules/C6H6_mode_1.wrl > Response code: 403 403, permission denied, try getting tha

Re: [JAVA3D] VRML97Loader

2003-10-15 Thread Serge Bernier
What you meen by in a normal web browser?? Im able to open the file in explorer without problem like a normal VRML file. To be more exact, my applet use two loader: One from sun VrmlLoader and one from X3DJ (VRML97Loader). When I load a vrml file with the sun loader everything is fine. The proble

[JAVA3D] FW: [JAVA3D] List of Java3D conversation areas

2003-10-15 Thread LeW on hotbox.ru
$ -Original Message- $ From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Nikolai V. Chr. $ Sent: Wednesday, October 15, 2003 5:47 PM $ To: [EMAIL PROTECTED] $ Subject: Re: [JAVA3D] List of Java3D conversation areas $ $ $ LeW on hotbox.ru wrote: $ > : $ > $ > Forum:

Re: [JAVA3D] FW: [JAVA3D] List of Java3D conversation areas

2003-10-15 Thread Nikolai V. Chr.
LeW on hotbox.ru wrote: these two forums (below) are almost dead (no new posts 1-2 weeks) $ http://www.manning.com/ao/readforum.html?forum=j3dpao $ http://www.manning.com/ao/readforum.html?forum=3uij3ao That doesn't you dont get a response if you post there. It also don't mean that there are not

Re: [JAVA3D] VRML97Loader

2003-10-15 Thread Jeremy Booth
> What you meen by in a normal web browser?? yes > Im able to open the file in explorer without problem like a normal VRML > file. but that won't go through what ever your web server software is (apache/iis etc), and the fact that the error message gave a url and an error code of 403 is a big hi

[JAVA3D] Nasa's Fastscript3d Java3d "Educational" program _ Fails _: Questions, Ethical Failures: Don't Blame & Harm Java !

2003-10-15 Thread P. Flavin
The Failures of Nasa's Java3d Fastscript3d " Educational " -- program show how unethical conduct leads to failure and in no way reflects " best methods " for web animation, Java programming, or proper ethical conduct for Nasa staff. Nasa's Patti Koenig wrote

Re: [JAVA3D] VRML97Loader

2003-10-15 Thread Serge Bernier
Good I understand, Thanks for your help. Do you know who to work this problem. Vrml97Loader need some jar file to work properlly. I put those in the same directory where my applet is (On the webCT server). Is it enought?? Do I need some authentification from the server, like a certificate, to be

Re: [JAVA3D] VRML97Loader

2003-10-15 Thread Jeremy Booth
> Do you know who to work this problem. Vrml97Loader need some jar file to > work properlly. I put those in the same directory where my applet is (On > the webCT server). Is it enought?? You will need to reference it in your applet tag in the html, but apart from that, I think that will be enough.

Re: [JAVA3D] Nasa's Fastscript3d Java3d "Educational" program _ Fails _: Questions, Ethical Failures: Don't Blame & Harm Java !

2003-10-15 Thread Justin Couch
P. Flavin wrote: Do you think government researchers should enourage honest professional constructive communications in the professional forums they partipate in for the mutual beneifit of all those involved and for the benefit of US industry, educational system, and national de

Re: [JAVA3D] texture coordinates....

2003-10-15 Thread Dirk L. van Krimpen
Flavius, Looks like you're seeing that pixilating problem which occurs when your textured shape is farther away. If that is the case, you may use MIMMAP mode, however, you have to be prepared to create more than one texture image. E.g., One image of 64 by 64 pixels, the next one being 32 by 32 pix

Re: [JAVA3D] Nasa's Fastscript3d Java3d

2003-10-15 Thread David Yazel
Where exactly is the line between slander and freedom of speech? Also, doesn't the international nature of internet newsgroups make it difficult to prosecute? I have seen lots of flame wars over the years (and this is one of them) and I think most people can sense which are the sane posters and

Re: [JAVA3D] VRML97Loader

2003-10-15 Thread Serge Bernier
Il be back with a public login!! Serge Selon Jeremy Booth <[EMAIL PROTECTED]>: > > Do you know who to work this problem. Vrml97Loader need some jar file to > > work properlly. I put those in the same directory where my applet is (On > > the webCT server). Is it enought?? > > You will need to re

Re: [JAVA3D] Nasa's Fastscript3d Java3d

2003-10-15 Thread Justin Couch
David Yazel wrote: Where exactly is the line between slander and freedom of speech? It stops when someone rights up and harrasses them for an hour on the phone, and when they hang up, immediately call again. It stops when it causes a person to leave work and go home in tears because of that harras

Re: [JAVA3D] Nasa's Fastscript3d Java3d

2003-10-15 Thread Chris Veal
This has nothing to do with Java 3D. I have no interest in hearing it. If you want to rant, use each others email addresses, not the forum's. Chris Veal -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Justin Couch Sent: Wednesday, October 15,

[JAVA3D] Newbie Memory Question

2003-10-15 Thread Nicholas Pappas
Hello all! I have just started working with Java3D and am wondering about any limitations in objects, in terms of memory, and ways I can improve (i.e., decrease) any memory requirements of a viewer I am writing. The program I am using decodes an existing game file. It then reconstr

[JAVA3D] Problem With javax.vecmath.GMatrix.SVD

2003-10-15 Thread Michael Duffy
I've been noodling with the javax.vecmath.GMatrix and javax.vecmath.GVector classes. I believe I've found a problem in the javax.vecmath.GMatrix.SVD() and javax.vecmath.GVector.SVDBackSolve() methods. There's a discussion thread at the Java3D Forum that traces out the history: http://forum.java.

Re: [JAVA3D] Nasa's Fastscript3d Java3d

2003-10-15 Thread Mona Wong-Barnum
> This has nothing to do with Java 3D. I have no interest in hearing it. If > you want to rant, use each others email addresses, not the forum's. While I agree that this has nothing to do with Java 3D, I did appreciate the posting from Justin because this guy, P. Flavin, posts regularly

[JAVA3D] substracting shapes!!

2003-10-15 Thread Robert Gomez-Reino Garrido
Hi all, is there any work done about this? I would like to be able to create a shape3D substracting one shape3D from another shape3D. I need to do this because in the geometric database that I will read some of the objects will be expressed in this way. Then, an object could be, for example, a

Re: [JAVA3D] Newbie Memory Question

2003-10-15 Thread Michael Pfeiffer
You should have a look at the parameters of the JVM, especially the -Xmx parameter. On Wed, 15 Oct 2003 15:35:23 -0400, Nicholas Pappas <[EMAIL PROTECTED]> wrote: Hello all! I have just started working with Java3D and am wondering about any limitations in objects, in terms of memor

Re: [JAVA3D] substracting shapes!!

2003-10-15 Thread Mattijs Janssens
Have a look at Jun for Java (http://www.sra.co.jp/people/nisinaka/Jun4Java/index_en.html) or one of the Java front ends to OpenCascade (if they're still active). Both should be able to do boolean operations. Regards, Mattijs Robert Gomez-Reino Garrido wrote: Hi all, is there any work done about t

[JAVA3D] Get different views for the same universe

2003-10-15 Thread Michael Pfeiffer
Hi, I have a complex scene graph which belongs to a visible Canvas3D. What I'd need now is an other view (e.g. offscreen-rendered) to the same SceneGraph but with a different position of the viewer. Is it possible to do that? Attaching the SceneGraph to different Canvas3D/VirtualUniverse using a S