[JAVA3D] Need a solution for road/path "decals" on terrain.

2002-04-24 Thread Scott
I've been scratching my head over this one for weeks now.   I want to be able to specify "roads" or "paths" in my 3D engine with a series of 2D lines.  That would give me the flexibility to have roads any any angle, any direction, and any number/combination of intersections. There's two ways

Re: [JAVA3D] Transparent object + texture with transparency

2002-04-24 Thread Russell Power
Works perfectly. I almost have tears in my eyes looking at it now :). I had everything pretty much the same, just I was DECAL'ing the texture onto the shape, and I had screwed up the transparency attributes settings... Many thanks, --russell - Original Message - From: "Scott" <[EMAIL P

Re: [JAVA3D] Transparent object + texture with transparency

2002-04-24 Thread Daniel Selman
Scott, Pretty cool. I just downloaded and ran (no problems). With JDK 1.4 and J3D B1 I was getting about 130 FPS, so you've got plenty of frames to spare! One little bug I think I saw: the trees loose their vegetation when you get *closer* to them. It looks like you might have a LOD calculation

Re: [JAVA3D] Transparent object + texture with transparency

2002-04-24 Thread Scott
First, use a PNG or GIF image with an alpha channel transparency for your texture, I've had okay results with both. (Okay, GIF's don't really have an alpha channel, don't flame me). Then you have to set some attributes in the appearance and texture modes of your 3D shape... here's the code I use,

[JAVA3D] Transparent object + texture with transparency

2002-04-24 Thread Russell Power
Hi, Does anyone have a small example of a program that places a transparent texture onto an shape? I'm having issues similar to those mentioned on the bug parade( the texture displays correctly, but the shape behind it comes out black or white and sometimes other things, but never transparent).

Re: [JAVA3D] DirectX

2002-04-24 Thread Kelvin Chung
>Date: Wed, 24 Apr 2002 20:29:02 -0500 >From: Scott <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] DirectX >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600. >Content-transfer-encoding: 8BIT >X-Priority: 3 >X-MSMail-priority: Normal >Delivered-to: [EMAI

Re: [JAVA3D] Help smoothing polygon's edges

2002-04-24 Thread David Yazel
This is true. The technique we have used is to take the regular elevation grid and sub-divide in a 3:1 ratio. We use the AWT general path classes to plot a bezier spline over the grid points, so in a 100 x 100 heightmap that would create 200 splines. Thats 100 paths along the x axis and 100 path

Re: [JAVA3D] DirectX

2002-04-24 Thread Scott
I don't think DX8 has a reference or emulation mode, it was discontinued after DX7. IMO If you're using DX8 you're going to have to have 3D hardware acceleration. Scott - Original Message - From: "Raúl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 1:32 PM S

Re: [JAVA3D] Help smoothing polygon's edges

2002-04-24 Thread Scott
Smoothing the normals won't eliminate jaggies and sharp edges, it will only smooth out your lighting. You might want to look at creating some splines or bezier curves, and throw a few more polygons into the mix. But to answer your question directly, a quick and dirty method of normal smoothing (

Re: [JAVA3D] Problems with OrientedShape3D seen by multiple views

2002-04-24 Thread Kelvin Chung
Hi Fabio, This bug 4519047 - OrientedShape3D fails with ArrayIndexOutOfBoundsException is fixed in the upcoming v1.3 beta2. - Kelvin --- Java 3D Team Sun Microsystems Inc. >Date: Wed, 24 Apr 2002 18:45:59 -0300 >From: FABIO ROBERTO MIRANDA <[EMAIL PROTECTED]> >Subject: [JAVA3D] P

[JAVA3D] Help smoothing polygon's edges

2002-04-24 Thread Paula Sanchez
Hello Everyone, I am trying to create a surface with variations in elevation and layers of soil. I would like to eliminate the sharp edges of the elevations and make them appear smoother. Does anybody have any suggestions on how to do this in Java 3D. I have tried the crease angle, but I have

[JAVA3D] Problems with OrientedShape3D seen by multiple views

2002-04-24 Thread FABIO ROBERTO MIRANDA
In my scene while I have an OrientedShape3D seen by only one view everything seems OK. Then I add a second view not aiming at the referred OrientedShape3D and everything seems ok but... As soon as I turn the second view to the OrientedShape3D so that it is seen by both of them (each view render

Re: [JAVA3D] Rotation

2002-04-24 Thread Simeon H.K. Fitch
> how ratation a cube in the left side of the screen ? > > I with him rotate in the center of scene > Translate to origin, rotate, then translate back. See section 5.01 of http://www.faqs.org/faqs/graphics/algorithms-faq/ Simeon =

Re: [JAVA3D] DirectX

2002-04-24 Thread Kelvin Chung
>Date: Wed, 24 Apr 2002 20:32:49 +0200 >From: Raúl <[EMAIL PROTECTED]> >Subject: [JAVA3D] DirectX >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: es-es >Delivered-to: [EMAIL PROTECTED] >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:0.

[JAVA3D] Rotation

2002-04-24 Thread João Paulo Menegatti
how ratation a cube in the left side of the screen ? I with him rotate in the center of scene []'s J.P. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTERES

[JAVA3D] DirectX

2002-04-24 Thread Raúl
Hello, Im trying to view my Java 3D applet but I receive the next message: "Fail to create reference raterizer 3D Device -D3DERR_INVALIDCALL" My video card not support acceleration but is supported by DirectX 8, (I suppose this is the problem:) Confirm to me, please. Im using Java3D DirectX ve

Re: [JAVA3D] Java3D bug? ModelClip plane looses association with containing Transform Group.

2002-04-24 Thread Alex Bowden
Simeon asked > What mechanism are you using to switch which behaviors are enabled or > disabled? I ask because there was some discussion vis a vis re-enabling > behaviors on this list last month. I have a "Sectioning Object" in my > application, and switching between scene navigation vs. sectioni

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-24 Thread Alessandro borges
Paul, As a developer, I also have several "test beds", several combos JRExJ3D, but this is very special case, and we are looking for a better way to the common user have Java 3D in his browser. A matrix JRExJ3D may be good for us, but it can be a nightmare to the commom user. I am bored when

[JAVA3D] JFrame repaints or flickers

2002-04-24 Thread Gustaf Duell
Dear All First I want to thank you your help on the dual screen problem. Thank you. Now there is another problem. The JFrame with a java3d panel flickers or repaints when I do other things in windows, for example write a letter in Outlook or move a list up and down like the list of classes in JCr

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-24 Thread John Wright
I'd rather jump through a few hoops as a developer than to have to put my customers through it. Perhaps if you wish to develop/test with multiple versions of j3d you could do an advanced install which would put different j3d versions into an extension directory specific for each JRE. Something l

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-24 Thread Dipl. Ing. Paul Szawlowski
But now suppose you have several versions of j3d. How do you specify which version of the jre uses which version of j3d ? regards Paul John Wright schrieb: > Excellent suggestion Alessandro, this would certainly help. I agree, > there should be a standard extensions directory that is JRE ind

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-24 Thread John Wright
Excellent suggestion Alessandro, this would certainly help. I agree, there should be a standard extensions directory that is JRE independent. - John Wright Alessandro Borges wrote: > > About Java3D x JRE Plug-In. > If we install a new release of JRE plug-in, we have our Java3D install > "missi

Re: [JAVA3D] Java3D bug? ModelClip plane looses association with containing Transform Group.

2002-04-24 Thread Simeon H.K. Fitch
> -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Bowden > Sent: Wednesday, April 24, 2002 6:43 AM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] Java3D bug? ModelClip plane looses association with > containing Transform Group. > > If

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-24 Thread Alessandro Borges
About Java3D x JRE Plug-In. If we install a new release of JRE plug-in, we have our Java3D install "missing" , since Java3D is installed in another sub-folder of another JRE... Ex.: day 1) JRE 1.3.0 + Java3D(any version) Status = active Java3D runs fine day 2) JRE 1.3.0 + Java3D (any) Status

[JAVA3D] Java3D bug? ModelClip plane looses association with containing Transform Group.

2002-04-24 Thread Alex Bowden
ModelClip planes seems to loose their association with the transform of its containing TransformGroup under some circumstances. In my application I can switch the mouse between controlling the position and orientation of each of a set of objects, or the users overall view perspective. The mouse

Re: [JAVA3D] HTMLConverter vs APPLET Tag

2002-04-24 Thread John Wright
Mark, That FAQ comes from the JDK 1.4.0 documentation: /j2sdk1.4.0/docs/guide/plugin/developer_guide/faq/troubleshooting.html the same documentation can be found online at: http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/faq/troubleshooting.html There are times when Java's own

Re: [JAVA3D] JAVA3D-INTEREST Digest - 22 Apr 2002 to 23 Apr 2002 (#2002-116)

2002-04-24 Thread Dave Murphy
Hi folks, has anybody successfully interfaced with iSense's Intertrax2 USB tracker? (http://www.isense.com) I would be interested to hear your experiences. rgds Dave -- David Murphy Computer Science Department University College, Cork Ireland ==

[JAVA3D] Java3D book

2002-04-24 Thread TF
I want to buy the java3D book and was wondering If there was any difference between the e-book version and the actual book. Thanks for any insight anyone can provide.   EB