Re: [JAVA3D] Various questions

2002-02-19 Thread Desiree Hilbring
> Last question : where can i find a DEM loader (i'm too lazy to write one...) > ? I think the NCSA Loader includes one: http://www.j3d.org/utilities/loaders/misc/portfolio.html Desiree > > thanks, > > Greg > > === > To un

[JAVA3D] Xj3D Loader M4 test release available

2002-02-19 Thread Justin Couch
Folks, The test release for M4 is now available on the web pages of the Web3d consortium. We'd appreciate some feedback on how well this works - for example, whether it even installs, or installs, but can't run stuff etc. We'd like to avoid any stupid errors like we had last time with the missing

Re: [JAVA3D] How to render to a fixed eye again

2002-02-19 Thread Kelvin Chung
Hi, There are several problem in your test program: (1) stereo surface did not request //canvas = new Canvas3D(config); canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration()); The first line is comment out. (2) gc.setBufferOverride(boolean bufferOverride

[JAVA3D] Rendering problem

2002-02-19 Thread Guang Bin Liu
Hi Friends: Thank you for your valuable suggestions. I am using OpenGL version. Yes, I did set the OpenGL setting-> Vertical Sync to on. In addition, I set the card driver to be 'enable stereo' and tried the resolution 640X480. They all did not fix the problem. Also, if I have only one swap, I

[JAVA3D] Swing flickering

2002-02-19 Thread Ewan Borland
Hi, I realise there's been a lot of talk about flickering displays but this one's got me stumped. I had problems with various things and I managed to stop all the flickering on my home machine (win98SE) by using SwingWorker and reducing J3DThreadPriority but when I run the same code on win2000 I

[JAVA3D] transparency bug??

2002-02-19 Thread Roy Duffy
I think I may have found a bug in Java3D 1.3 beta1. I've attached a small program that adds points to a LineStripArray to make it form a circular path. When it adds a new point, it increments the line's visible length by calling setStripVertexCounts(). It also sets the color of the vertex to a f

Re: [JAVA3D] Various questions

2002-02-19 Thread Gerard Peregrin
DEM http://www.treeswallow.com/macdem/download.html http://astronomy.swin.edu.au/pbourke/terrain/ http://www.javaworld.com/javaworld/jw-08-1998/jw-08-step.html? Source code may be downloaded. The last reference above contains a helpful tutorial regarding height maps. regards, Gerard ===

Re: [JAVA3D] transforms....help!

2002-02-19 Thread Muermann, Max
Ok, some math following: we'll start with a simplified case, mapping a line to a circle in 2D space. suppose we have a line given by a point o_ and a directlional vector y_ which we conveniently normailse to have a length of 1: |y_|=1. The equation for the line is then x1_ = o_ + a * y_. (1) W

[JAVA3D] performance on SGI ...

2002-02-19 Thread SUBSCRIBE JAVA3D-INTEREST Anonymous
Well I tryed to run my j3d app on SGI (IRIX 6.5, j3d 1.2, don't know the type of station but I think it is a little bit old) to compare performaces with a PC (pIII@800 with geforce) SGI : 0/1 FPS PC : 10/13 FPS I'd like to know if some people run their app on a "high end" SGI and which are the

Re: [JAVA3D] Collision management

2002-02-19 Thread Kelvin Chung
>X-Unix-From: [EMAIL PROTECTED] Tue Feb 19 10:10:37 2002 >Date: Tue, 19 Feb 2002 13:07:56 -0500 >From: Mojtaba Hosseini <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Collision management >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: en >Delivered-to:

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Raulseh
Ok, all works yet! (But i have to install the > j2re-1_3_1_02-win-i.exe plugin) THANKS TO ALL! [EMAIL PROTECTED] wrote: >Yes, believe it or not. I assume you know where the files should go. > >-Original Message- >From: Raulseh [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, February 19

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Kasparian, Raffi J.
Yes, believe it or not. I assume you know where the files should go. -Original Message- From: Raulseh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 1:54 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Problems installing Java 3D!! Very Urgent it is enought with this? [EMAI

Re: [JAVA3D] How to render to a fixed eye again

2002-02-19 Thread Kelvin Chung
Hi, Did you set the driver option Display Properties->GeForce2->Additional Properties ->OpenGL Setting->Vertical sync to On ? (by default it is Off). Also, there is no need to have 2 swap(), one is good enough at the end for both left and right eye. Thanks. - Kelvin --

Re: [JAVA3D] Various questions

2002-02-19 Thread Justin Couch
DEVLEESCHOUWER Gregory wrote: > First question : I'm wondering how to control screen resolution, color depth > from a java3D app. I'v seen that the java.awt.Toolkit have a getter dealing > with the resolution but no setter. You can't. > Another question : is this possible to set a real fullscre

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Raulseh
it is enought with this? [EMAIL PROTECTED] wrote: >I solved the issue for myself by renaming the exe to jar, then opening it >up, finding something called installer.zip, opening that and then manually >extracting the 4 j3d jars and the 3 j3d dlls to their correct places. > >-Original Message

Re: [JAVA3D] Windows XP and Java 3D?

2002-02-19 Thread Philip Taylor
if you run DXDiag on the machine in question, do the display tests run? > -Original Message- > From: Fábio Magalhães [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 18, 2002 6:24 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Windows XP and Java 3D? > > > Please, i have a problem wi

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Kasparian, Raffi J.
I solved the issue for myself by renaming the exe to jar, then opening it up, finding something called installer.zip, opening that and then manually extracting the 4 j3d jars and the 3 j3d dlls to their correct places. -Original Message- From: Raulseh [mailto:[EMAIL PROTECTED]] Sent: Tues

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread John Bauer
Now that I think about it, I may have put the path do java.exe in the line with the .vm=, ... I was frantically trying so many things and I can't look at that machine right now. If all else fails go into the other folder, (the other one besides the Windows folder when you extract the .exe), and

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Raulseh
Thanks but there are another problem: Could not load jvm.dll What more i have to change? [EMAIL PROTECTED] wrote: >I had the same problem... Windows XP and the .lax InstallAnywhere in Java3D >1.3.1. InstallAnywhere works for other installs but not Java3D. >I fixed it like this: >Rename the

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread John Bauer
I had the same problem... Windows XP and the .lax InstallAnywhere in Java3D 1.3.1. InstallAnywhere works for other installs but not Java3D. I fixed it like this: Rename the Java3D install .exe to .zip and unzip it with winzip or something similar. Go into the Windows directory and edit the .lax

[JAVA3D] Please Help~About adding of behavior

2002-02-19 Thread SUBSCRIBE JAVA3D-INTEREST clsiu
Dear All, Sorry, is there any method that I can add a behavior under the lived transforme group at the processStimulus method of the behavior WakeupOnElapsedTime()?. In fact, my transformgroup has been set to be allowed write and read before it is made lived. However, I still got a register

Re: [JAVA3D] Transparent sorting

2002-02-19 Thread Chien Yang
Dave, > > 2. There is a nasty bug in the transparency sorter.. I cannot reproduce it > in a small test app. Basically every once in a while all alpha objects just > stop rendering, and then later for no reason they will re-appear (like > minutes later, and after many changes to the scenegraph).

Re: [JAVA3D] Help for rendering

2002-02-19 Thread Kelvin Chung
Hi Guang, The error message from Java3D means it can't found a stereo compatibable surface in the OpenGL library if you are using the OpenGL version of Java3D. Sometimes you may need to set certain display resolution 640x480 in order for stereo to work. Please check out the driver control p

Re: [JAVA3D] Collision management

2002-02-19 Thread Mojtaba Hosseini
I concur! We've played a bit with collision management and have run into the same problem: that if objects A and B are in collision or close proximity, they cannot detect object C colliding with them. We were not able to solve this problem in a nice way (We took a rather dirty approach and separat

Re: [JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Raulseh
Please help me!! Any tip or idea willl be welcome! [EMAIL PROTECTED] wrote: > Hello! > > When I try to install Java3D 1.3 it tell me that there isn't a VM Java > installed but it is. > > I tried with Java3D 1.3 (direct X and OpenGL) and Java 1.3.1 and java > 1.4.0 beta 3 and java 1.4.0 final >

[JAVA3D] VRML Loaders: NCSA, Sun Loader, Sun Fly Through, 'New' X3d/VRML Loaders

2002-02-19 Thread P. Flavin
Good design often separates data from implementation code and loading 3d models as VRML datafiles into a modern, efficient language like Java3d gives you a portable, efficient, network friendly solution. Multiple loaders exist and have been successfully used for Java3d, by Sun, and other parties,

[JAVA3D] Collision management

2002-02-19 Thread FLINT, Matthew
I am currently constructing a game with Java 3D in which a ball is bounced around in a court and smashes the bricks against the back wall.  Once the ball enters into collision with a brick, the brick is removed from the court using the function detach() of BranchGroup.  Both the ball and the

[JAVA3D] Problems installing Java 3D!! Very Urgent

2002-02-19 Thread Raulseh
Hello! When I try to install Java3D 1.3 it tell me that there isn't a VM Java installed but it is. I tried with Java3D 1.3 (direct X and OpenGL) and Java 1.3.1 and java 1.4.0 beta 3 and java 1.4.0 final Im Using Windows XP! Im tried to install Java3D 1.2 and it fails too but i don't receive an

Re: [JAVA3D] transforms....help!

2002-02-19 Thread Michael Newcomb
> It's done like this. Take a mathematical representation of > the sphere with 2 > parameters. Use for example polar coordinates. You will find > the equations for > this transformation (phi, delta) -> (x,y,z) and the inverse > transformation > (x,y,z) -> (phi, delta) in any mathematical equations

Re: [JAVA3D] transforms....help!

2002-02-19 Thread Dipl. Ing. Paul Szawlowski
> How can I do that? Does it make sense? I would think you should be able to > do that because its kindof like how you can apply a rectangular texture > image to a sphere It's done like this. Take a mathematical representation of the sphere with 2 parameters. Use for example polar coordinat

[JAVA3D] transforms....help!

2002-02-19 Thread Michael Newcomb
I have a local coordinate system that lies in just the XY plane. I want that coordinate system mapped onto the surface of a sphere... I want to be able to pick any point on the surface of the sphere, then translate the origin of my local coordinate system to that location (the plane would be a t

Re: [JAVA3D] On Orbit Behavior

2002-02-19 Thread Raj Vaidya
>>On Tue, 19 Feb 2002 02:09:22 -0800, Mark Hood <[EMAIL PROTECTED]> wrote: >> Date: Sun, 17 Feb 2002 03:08:40 -0700 >> From: Raj Vaidya <[EMAIL PROTECTED]> >> >> >> Also, I am wondering if it would be convenient to have something >> like an "OrbitBehaviorCallback" similar to the MouseBeha

Re: [JAVA3D] problems constructing geometry with color per vertex

2002-02-19 Thread David Yazel
Looks like the geometry array was built without a COLORS_3 or COLOR_4 flag. That would mean that the geometry array cannot have its colors set. If you can't figure out a a way to ask the loader to set that flag for you (in the absence of it being provided in the file) then wou will have to build

[JAVA3D] problems constructing geometry with color per vertex

2002-02-19 Thread Norbert Schöpke
Hi all !   I have a problem with assigning colors per vertex to an IndexedGeometryArray. I load the geometry with the SUN loader (it's plane vanilla VRML IFS with material color information but _NO_ color per vertex at this point). Then I calculate some weight for every vertex and map that i

Re: [JAVA3D] On Orbit Behavior

2002-02-19 Thread Mark Hood
> Date: Sun, 17 Feb 2002 03:08:40 -0700 > From: Raj Vaidya <[EMAIL PROTECTED]> > > I am trying to set up multiple views ( left, right, top, etc. ) of > my scene. Each of these views has a View, Canvas3D, and a *ViewPlatform* > ( necessary, right ? ) object. True, unless you're trying to s

Re: [JAVA3D] setValidIndexCount

2002-02-19 Thread Mark Hood
> Date: Mon, 18 Feb 2002 11:27:41 -0600 > From: jie <[EMAIL PROTECTED]> > > I am using the java3d1.3b1. I called the setValidIndexCount() when the > > IndexedTriangleArray is alive, and I get > javax.media.j3d.CapabilityNotSetException: IndexedGeometryArray: no > capability to set valid

Re: [JAVA3D] How to attach ViewPlatform

2002-02-19 Thread Mark Hood
> Date: Mon, 18 Feb 2002 12:21:55 +0100 > From: Timo Ropinski <[EMAIL PROTECTED]> > > hi everyone, if got this code-snip defining a viewbranch. but the error is > that the ViewPlatform is not attached to the BranchGroup. everytime i try to > attach it, i get an MultipleParentException. doe

[JAVA3D] Various questions

2002-02-19 Thread DEVLEESCHOUWER Gregory - NTR ( [EMAIL PROTECTED] )
Hi all, First question : I'm wondering how to control screen resolution, color depth from a java3D app. I'v seen that the java.awt.Toolkit have a getter dealing with the resolution but no setter. Another question : is this possible to set a real fullscreen mode ? Last question : where can i find

Re: [JAVA3D] How to render to a fixed eye

2002-02-19 Thread Mark Hood
> Date: Mon, 18 Feb 2002 15:52:55 +0800 > From: =?big5?q?Guang=20Bin=20Liu?= <[EMAIL PROTECTED]> > > 2. I was suggested to use the configuration: > > GraphicsConfigTemplate3D g3d = new > GraphicsConfigTemplate3D(); > g3d.setStereo(GraphicsConfigTemplate3D.REQUIRED); >