Re: [JAVA3D] Clipping work-around question
Hi, I see that a few questions have come up regarding the application of my galaxy simulation. So just to eliminate those uncertainties, here goes: To begin with I just wanted to know fast stars would really move across the screen if one were to fly with Star Trek velocities. This I have already found out. In fact what you see in the show doesn't even come close to reality. I tried moving with a speed of warp 9 (app. 1250 times the speed of light) and the stars would move very slowly (about a pixel per second for the closest ones). Only when I accelerated the time with about a factor 1 would you get about the effect seen i the show, except the stars weren't blurred into lines (I saw no reason to implement that effect). Then I thought that I would very much like to experience the feeling of exploring the galaxy just like I felt when I saw The Next Generation. And I got the impression that other members of our Star Trek club would also like that. Therefore I set out to see how I could make a game with so much realism that the player would have (almost) limitless freedom of action. For starters I haven't made many definite decisions on how to achieve this. To begin with I just want a star ship in space that can travel up to warp 9 (also I need to be able to accelerate time because otherwise a trip from one star to another would typically take 3 days - no player is that patient or has so much Earl Grey to drink). Working in a Star Trek like universe has some advantages applicable to the clipping problem: * The galaxy is outward limited by a The Galactic Barrier so there is no need to worry about the ship leaving the galaxy lest it be destroyed. * The core of the galaxy (15000 LY diameter) is protected by The Great Barrier so I don't have to worry about rendering a very dense volume of stars. * The galaxy is divided into well-defined subsections, which makes it possible to only construct star systems for volumes that the player has visited and to only render stars in the approximate cube that the player occupies plus the 26 adjacent cubes. Currently I work with so-called Sector Blocks which are 100x100 LY and contain 5x5x4=100 Sectors with about 40 stars in each sector. I may have to work with Sectors as the before-mentioned cube unit if the system cannot handle 26x4000 stars at a time. I am still experimenting with ways to do this based on the input I received from this list. In my very first e-mail I mentioned that I was just starting to use Java3D so therefore my different attempts take some time as I have to find examples (primarily from the tutorials) for most things that I want to try. But I intend to report back to the list about my conclusions when I find them. I suspect that other people may also have trouble with the very limited way clipping works (this is no slash at Java3D, since it is a hardware issue). I think that now I have answered all the questions that have come up except one: Whether jumps occur? That is a definite possibility. In the Star Trek universe there exists at least one stable worm hole. I would like to point out that this project is for my own leisure and is only really serious in that it is a way for me to better my Java knowledge. If you have had the stomach for the entire above text, I feel that it is only fair that I mention that this list is one of the nicest list that I have ever subscribed to: People talk nice, posts make sense and are written in a proper English and last but not least: Questions are taken seriously and are being answered. Thanks. Regards /Jørn === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: [JAVA3D] Deploying java3D applets
Hi thanks for the advice, but I think your missunderstanding my question, I would like the user to be able to run a Java3D applet without downloading anything other than The Java RTE, in other words I just need to now how to go about bundling the Java3D libraries with my applet. Thanks again >-Original Message- >From: Christian Britton [mailto:[EMAIL PROTECTED] >Sent: 12 November 2003 19:21 >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] Deploying java3D applets > >Forgot I had this, one of the many useful informations on J3D.ORG: > >http://www.j3d.org/tutorials/quick_fix/auto_install.html > >CHRIS > >- Original Message - >From: "Christian Britton" <[EMAIL PROTECTED]> >To: "Discussion list for Java 3D API" <[EMAIL PROTECTED]> >Sent: Wednesday, November 12, 2003 2:06 PM >Subject: Re: [JAVA3D] Deploying java3D applets > > >> I'm pretty sure there's some Javascript out there that >detects the OS >> and browser and then offers to download the right version >for the user >> if it's not installed... Sort of like what they did for Web >Start... I >> haven't >done >> it myself, but I've heard a lot of people talking about it. >> >> Try a GOOGLE search... >> >> Good luck! >> CHRIS >> >> - Original Message - >> From: "Ben Logan" <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> Sent: Wednesday, November 12, 2003 11:49 AM >> Subject: [JAVA3D] Deploying java3D applets >> >> >> > Hi >> > Has anyone any experience of deploying java3D applets >complete with >> > libraries. I do NOT want the user to have to download the plug-in, >> > but I am experiencing problems getting the applets to run in the >> > test environment without the Java3D RTE installed. I am right in >> > thinking this is possible? If so can someone provide some file >> > structure and contents information so I can get get this applet >> > running :) Thanks >> > >> > >> > >> > Ben Logan - Graduate Software Engineer RCID Stephenson Building >> > Newcastle Upon Tyne >> > NE1 7RU >> > www.rcid.ncl.ac.uk >> > >> > >> > >> >=== > >> > To unsubscribe, send email to [EMAIL PROTECTED] and include in >> > the >> body >> > of the message "signoff JAVA3D-INTEREST". For general help, send >> > email >to >> > [EMAIL PROTECTED] and include in the body of the >message "help". >> > >> > >=== > >To unsubscribe, send email to [EMAIL PROTECTED] and >include in the body of the message "signoff JAVA3D-INTEREST". >For general help, send email to [EMAIL PROTECTED] and >include in the body of the message "help". > > === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] Problems with Java 3D
Hello, first I want to tell you is that my english is not very good but I'll try tell my problem so clear it was possible. I have installed Java 3D and I want it to see 3D images in my browser. When I try to do that, the message that I read is: "No compatible device found, please switch to other display mode and try again! ". What is my problem? Can you help me? Thanks a lot if you response my message. Bye. ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: [JAVA3D] Problems with Java 3D
Maria, you did not describe you system, but this kind of problem can happen when you are using few colors. Try to set your video card to use 16-bit colors (65k colors or Hi-color) or 32-bit colors (16million colors or true color). Alessandro --- Maria Jesus Fernandez <[EMAIL PROTECTED]> escreveu: > Hello, first I want to tell you is that my english > is > not very good but I'll try tell my problem so clear > it > was possible. > I have installed Java 3D and I want it to see 3D > images in my browser. When I try to do that, the > message that I read is: "No compatible device found, > please switch to other display mode and try again! > ". > What is my problem? Can you help me? Thanks a lot if > you response my message. Bye. > > > ___ > Yahoo! Messenger - Nueva versión GRATIS > Super Webcam, voz, caritas animadas, y más... > http://messenger.yahoo.es > > === > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff JAVA3D-INTEREST". For > general help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora: http://mail.yahoo.com.br === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] PickRotateBehavior
Hi, Ok im struggling with something, can anyone help? Iam using PickRotateBehavior to allow rotation of some shapes in my scene via picking, its working fine... But I need to limit it to one axis, i.e the Y axis, I only want the user to be able to spin the objects round. Any help would be much appreciated, and yes, I have read the API;)! Thanks Ben Ben Logan - Graduate Software Engineer RCID Stephenson Building Newcastle Upon Tyne NE1 7RU www.rcid.ncl.ac.uk === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: [JAVA3D] Deploying java3D applets
Ben, by default, applets has no granted permission to deploy files. Take a look java Web Start. With Web Start You can bundle Java3D RunTime liobrary for one or more platforms and deploy it. I guess you can found examples in this list. There are a topic about it here: (fix the link if it has a broken line) http://forum.java.sun.com/thread.jsp?forum=38&thread=166873&message=511367 Alessandro --- Ben Logan <[EMAIL PROTECTED]> escreveu: > Hi thanks for the advice, but I think your > missunderstanding my > question, > I would like the user to be able to run a Java3D > applet without > downloading anything other than > The Java RTE, in other words I just need to now how > to go about bundling > the Java3D libraries with my applet. > > Thanks again > > >-Original Message- > >From: Christian Britton > [mailto:[EMAIL PROTECTED] > >Sent: 12 November 2003 19:21 > >To: [EMAIL PROTECTED] > >Subject: Re: [JAVA3D] Deploying java3D applets > > > >Forgot I had this, one of the many useful > informations on J3D.ORG: > > > >http://www.j3d.org/tutorials/quick_fix/auto_install.html > > > >CHRIS > > > >- Original Message - > >From: "Christian Britton" <[EMAIL PROTECTED]> > >To: "Discussion list for Java 3D API" > <[EMAIL PROTECTED]> > >Sent: Wednesday, November 12, 2003 2:06 PM > >Subject: Re: [JAVA3D] Deploying java3D applets > > > > > >> I'm pretty sure there's some Javascript out there > that > >detects the OS > >> and browser and then offers to download the right > version > >for the user > >> if it's not installed... Sort of like what they > did for Web > >Start... I > >> haven't > >done > >> it myself, but I've heard a lot of people talking > about it. > >> > >> Try a GOOGLE search... > >> > >> Good luck! > >> CHRIS > >> > >> - Original Message - > >> From: "Ben Logan" <[EMAIL PROTECTED]> > >> To: <[EMAIL PROTECTED]> > >> Sent: Wednesday, November 12, 2003 11:49 AM > >> Subject: [JAVA3D] Deploying java3D applets > >> > >> > >> > Hi > >> > Has anyone any experience of deploying java3D > applets > >complete with > >> > libraries. I do NOT want the user to have to > download the plug-in, > >> > but I am experiencing problems getting the > applets to run in the > >> > test environment without the Java3D RTE > installed. I am right in > >> > thinking this is possible? If so can someone > provide some file > >> > structure and contents information so I can get > get this applet > >> > running :) Thanks > >> > > >> > > >> > > >> > Ben Logan - Graduate Software Engineer RCID > Stephenson Building > >> > Newcastle Upon Tyne > >> > NE1 7RU > >> > www.rcid.ncl.ac.uk > >> > > >> > > >> > > >> > >=== > > > >> > To unsubscribe, send email to > [EMAIL PROTECTED] and include in > >> > the > >> body > >> > of the message "signoff JAVA3D-INTEREST". For > general help, send > >> > email > >to > >> > [EMAIL PROTECTED] and include in the body > of the > >message "help". > >> > > >> > > > >=== > > > >To unsubscribe, send email to [EMAIL PROTECTED] > and > >include in the body of the message "signoff > JAVA3D-INTEREST". > >For general help, send email to > [EMAIL PROTECTED] and > >include in the body of the message "help". > > > > > > === > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff JAVA3D-INTEREST". For > general help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora: http://mail.yahoo.com.br === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] set factor for pick behaviors
Hi, Is there any function(or way) to set X factor multiplier and Y factor multiplier for PickTranslateBehavior and PickRotateBehavior? There is "setFactor" function for MouseTranslate and MouseRotate, but I can't see it for pick behaviors. I want the shapes that can be held by mouse to move with mouse icon. Nagehan Pala _ Compare high-speed Internet plans, starting at $26.95. https://broadband.msn.com (Prices may vary by service area.) === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] transparent layer
Hi, I want to place a transparent layer(maybe canvas, I don't know) on the top of my Canvas3D. I want to use it to show graphics to the user. I studied this, I remember there was codes about it. However, now I don't find it. Could anyone tell me where can I find these codes? Nagehan Pala _ MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
Re: [JAVA3D] transparent layer
> I want to place a transparent layer(maybe canvas, I don't know) on the > top of my Canvas3D. I want to use it to show graphics to the user. I > studied this, I remember there was codes about it. However, now I don't > find it. Could anyone tell me where can I find these codes? Two projects come to mind, a HUD package over at http://www.newdawnsoftware.com/ under resources, and there is a similar package over at j3d.org. I won't comment on which I've used, my signature should give it away :). Currently i'm using neither as i'm now using xith3d, which having access to the GL layer can do a much nicer job :) Jeremy -- Homepage: http://www.computerbooth.com/ Codepage: http://www.newdawnsoftware.com/ === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] Static class
Hi, I'm doing a java3d application. I have a problem when opening html file with applets more than one time from the same parent. The problem is that classloader puts in it's cache all objects of my application. Well, i have to destroy all my objects at destroy(), making removeAllChildren(), etc, etc My problem is that one of my classes is a static one... How can i destroy the the values of all variables that are inside this class... Thanks in advance :) Carlos === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] Nasa Educational Program: Render 3d VRML Objects in your Browser -- Please Send Your Feedback ---
VRML & Java3d enable you to model 3d Robots on Mars. Robotic Explorers are now enroute to Mars from Nasa. --- You can Drive a 3d VRML Model of the Nasa Rovers - using your computer with Java. Nasa's Patti Koenig wrote: | | | I wanted to write the interest group because | | I added a cool example applet ... to the web site. | | | It ... loads ___ VRML ___ 97 files | - | | | into a FastScript3D Java3D applet using the X3D vrml loader. | | | [ VRML is a free and open standard for defining 3d objects | | | | so you can render 3d objects moving in your web browser. ] | | |... All source code is included. [ at this web address : ] | | | http://fastscript3d.jpl.nasa.gov | | | Thanx ! Please send me your feedback ! | | | Patti Koenig [ Nasa, Jet Propulsion Laboratories, Staff Engineer ] | [ Dec 4, 2002 to Java3d-interest list ] | http://archives.java.sun.com/cgi-bin/wa?A2=ind0212&L=java3d-interest&P=R5653 Wow ! ... Cool ! It loads and renders 3d objects described in ___ VRML ___ ! It's creator is asking for our feed back ! Well, ... Cool ! Dear Patti : 1.) Why is there not a web page of with that capability there ? Nasa's Dr. Patti Koenig wrote [ many False statements ] : | | | I received numerous e-mail questions | | from people who had Java and Java3D installed | | but encountered an exception with loading vrml | and other loader loaded files using the | example applets. | | | The problem lies in your java policy file. [ Not True. ] | - | | | You do need to relax your policy | | | to be able to read the files up over the internet. | | | [ Not True. Bad advice. Do __ NOT __ do this ! ] | | |[ Dec 16, 2002 to java3d-interest list ] | http://archives.java.sun.com/cgi-bin/wa?A2=ind0212&L=java3d-interest&P=R36072 Dear Patti: 2.) Why do you make the False Claim: "The problem lies in your java policy file" when it is simply __ NOT __ true ? 3.) Why do you tell people to relax their security policy when they do __ NOT __ have to relax their security policy, and why do you try to persuade them to them to something that is unnessessary, inconevient, inadvisable, dangerous, --- AND JUST STUPID --- when Security, Saftey, Convenience, and Intelligent Design are the design parameters a competitent developer would mandate in the networked enviroment where Viruses, Worms, poorly written programs, malicisous programs, and corrupted programs threaten our privacy, our data, our livlihood and oue lives ? Nasa's Ron Baalke wrote to newsgroup sci.space.science : | | | Subject: Mars Global Surveyor Images | | | The following new images taken by the Mars Orbiter Camera | (MOC) on the Mars Global Surveyor spacecraft are now available: | | o Cracked and Pitted Plain | -- | http://www.msss.com/mars_images/moc/2003/11/06/index.html | | | Newsgroups: sci.space.science ; Date: 2003-11-12 | http://groups.google.com/groups?&group=sci.space.tech&selm=bo69m7%24rc4%241%40nntp1.jpl.nasa.gov Ron, Pictures are OK ... 3d Animations are Better. You coud show a "fly by" of the 3d terrain with VRML & Java. Nasa's Ron Baalke wrote: | | A new Orbits section has been added to | | JPL's Near-Earth Object home page. | | The highlight is a cool visualization tool. | | It is an interactive 3D orbit viewer written in Java, | and you can view the orbit of any asteroid or comet. | | You can rotate the orbits around and zoom in, | move around the solar system and "play" the orbits | backwards and forwards like a movie. | | It resides right here: | http://neo.jpl.nasa.gov/orbits | | You'll have to select an object of interest first, | by either entering the asteroid/comet's name | (wildcards are allowed), or making a selection from | the table of Potentially Hazardous Asteroids provided. | | Ron Baalke [ Nasa JPL ] | http://groups.google.com/groups?&selm=fa.oimq7vv.jkarh5%40ifi.uio.no Ron, You can do 3d with Java and you have done 3d with Java. Why not display the Mars Surface in 3d with Java and VRML ? Ron: A colleague of yours at Nasa JPL -- Patti Koenig -- developed an educational program that displayed ___ 3d ___ VRML files with Java3d in a Browser. You just showed us new pictures of Mars. Ron, Why not show the Mars surface in 3d with VRML & Java3d ? | VRML viewers are relatively new technology. | | Please understand that there is the possibility tha
Re: [JAVA3D] transparent layer
We made our own HUD by creating textured planes on top of the ViewingPlatforms by adding the Quads to the ViewPlatformGeometry, applying textures to them and then making then semi-transparent. ;o) You can used Text2D for any scores or numerical values... Have fun, CHRIS - Original Message - From: "Jeremy Booth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 1:52 PM Subject: Re: [JAVA3D] transparent layer > > I want to place a transparent layer(maybe canvas, I don't know) on the > > top of my Canvas3D. I want to use it to show graphics to the user. I > > studied this, I remember there was codes about it. However, now I don't > > find it. Could anyone tell me where can I find these codes? > > Two projects come to mind, a HUD package over at > http://www.newdawnsoftware.com/ under resources, and there is a similar > package over at j3d.org. I won't comment on which I've used, my signature > should give it away :). Currently i'm using neither as i'm now using > xith3d, which having access to the GL layer can do a much nicer job :) > > Jeremy > > -- > > Homepage: http://www.computerbooth.com/ > Codepage: http://www.newdawnsoftware.com/ > > === > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
[JAVA3D] Limit OrbitBehavior rotation
Hi all, I'd like to know if there's an easy way (without extending the OrbitBehavior class and processStimulus method) to limit the MAXIMUM angle of rotation on each axis of the OrbitBehavior? By which I mean: stop rotating after PI/2.0 or -PI/2.0 so that the user can never see the back of a scene being rotated around. Thanks! CHRIS === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".