[JAVA3D] Bug report

2002-03-29 Thread David Yazel
In J3d 1.3 beta 1: If you have an alpha blended object which is being sorted by the transparency (not in an ordered group), and that object has geometry which falls outside of view fustrum then the geometry will sometimes be clipped, and sometimes will be rendered without transparency. The bound

[JAVA3D] VIRUS: The amount of the dues is still.

2002-03-29 Thread Daniel Selman
All, This is a virus - do not open the attachment. I have received two copies of this over the past couple of hours so it appears to be spreading fast. The subject and body text of the message was different in both cases, but both included a .bat attachment (automatically converted to .zl3 by Zon

Re: [JAVA3D] Change j3d primitive size on fly - possible?

2002-03-29 Thread Daniel Selman
Lan, A quick read of the JavaDoc will show you: void setScale(Vector3d scale) Sets the possibly non-uniform scale component of the current transform; any existing scale is first factored out of the existing transform before the new scale is applied. Sincerely, Daniel Selman Author - "Java 3D

[JAVA3D] Exception in native code outside VM pt. 2

2002-03-29 Thread Scott Mobile
Sorry about that... keyboard shortcuts can bite you sometimes...   Anyway... several testers seeing these errors intermittently, on various platforms.  Any insight would be helpful:       An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_AC

[JAVA3D] Exception in native code outside VM?

2002-03-29 Thread Scott Mobile
Anyone seen this?  I've got a couple testers, with various hardware cofigurations that are seeing errors such as the one below.    

Re: [JAVA3D] Change j3d primitive size on fly - possible?

2002-03-29 Thread Cristian Tota
If you want to deform the shape along the axis, you need access to the coordinates. Add the shape to a Transformgroup and center it (by translating), so that the center of the shape is at the center of the axis system. Then do something like   for example scaling on the x axis:   get shape's

Re: [JAVA3D] Memory consumption - seems quite high?

2002-03-29 Thread Justin Couch
Joerg 'Herkules' Plewe wrote: > the bitmaps in and blowing them out to 3D again :). I roughly looked over > the j3d things but soon lost my orientation. What is the name of that class, > please? org.j3d.geom.terrain.HeightDataCreator This creates you the raw height map. To turn that into geometr

Re: [JAVA3D] Memory consumption - seems quite high?

2002-03-29 Thread Joerg 'Herkules' Plewe
> > I'm playing around with a primitive heigthfield renderer on a regular grid > > loaded from an image file. > > Are you constructing your own, or using the one in the j3d.org > repository. The one I have there generates from 512 square images and > renders them quite fine with no memory problems

Re: [JAVA3D] Change j3d primitive size on fly - possible?

2002-03-29 Thread Lan Wu-Cavener
Thanks! Cristian, It looks like I can not scale the cone one direction in dependent from the other direction. the setScale is limited to uniform scale matrix in the specs. At 05:23 PM 3/29/2002 +0200, you wrote: >Add your cone to a TransformGroup, set the capabilities of the TransformGroup > >t

Re: [JAVA3D] How can unindexing of indexed geometry be avoided?

2002-03-29 Thread Justin Couch
Allan Andersen wrote: > Under which cirumstances can it be avoided that Java3D unindexes indexed > geometry? If I use USE_COORD_INDEX_ONLY > >is > it then certain that index buffers are used? Have a read of the perf-guide for 1.3. It explains the best way to do a lot of this stuff: http://www.

[JAVA3D] How can unindexing of indexed geometry be avoided?

2002-03-29 Thread Allan Andersen
Under which cirumstances can it be avoided that Java3D unindexes indexed geometry? If I use USE_COORD_INDEX_ONLY is it then certain that index buffers are used?   Allan

Re: [JAVA3D] Change j3d primitive size on fly - possible?

2002-03-29 Thread Cristian Tota
Add your cone to a TransformGroup, set the capabilities of the TransformGroup   tg.setCabability(TransformGroup.ALLOW_TRANSFORM_WRITE);   And then, when the branchgroup becomes live, you can use something like:   Transform3D t=new Transform3D(); tg.getTransform(t); t.setScale(float...); tg

Re: [JAVA3D] Cube

2002-03-29 Thread Enrique Dumas
" IndexedQuadArray(8, GeometryInfo.COORDINATES);"use GeometryArray.COORDINATE "setCoordinatesIndices " use setCoordinateIndices (argh crazy methods with Coordinate or Coordinates !!!) " bg.addChild(iqa)" you have to set your geometry in a shape3D before : Shape3D myShape3D = new Shape3D(); myShape3

[JAVA3D] Boolean operations ...?

2002-03-29 Thread Firas MOHAMED
Hi all, Does any know if it is planed (SUN) to develop boolean operations for JAVA3D ...? Regards, Firas === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST".

Re: [JAVA3D] GDC - JavaOne

2002-03-29 Thread Daniel Selman
David, I just got back from JavaOne, and Scott McNealy (Sun CEO) mentioned this 2 hour port in his keynote on Tuesday! I also got a chance to see Magicosm running at the Java 3D booth. Very nice. There was lots of interest in games for Java including J2ME/CLDC games and I saw a nice demo of GL4J

[JAVA3D] Preserving relative size after transform

2002-03-29 Thread Simeon H.K. Fitch
I have a requirement for a class, similar to OrientedShape3D, that preserves object size in screen coordinates rather than direction. Call it "FixedSizeShape3D". Given the following scene graph: . | BranchGroup

Re: [JAVA3D] PointArray example

2002-03-29 Thread Cristian Tota
Hi,   Here's your corrected file. That error was because you named your class PointArray, which is already defined in java3d (javax.media.j3d.PointArray). I also needed to correct other errors (Tip: Remember that Java is a case sensitive language). I sugest you look into some Java2 examples a

[JAVA3D] Change j3d primitive size on fly - possible?

2002-03-29 Thread Lan Wu-Cavener
Hi, dear all: Is there any way to change the size of a Cone object in a live scene without using detaching/retaching BranchGroup? I mean like using Geometry By Reference, you can change vertex corrdinates on fly without adding the object under a BranchGroup, here I want to change the height and

[JAVA3D] Cube

2002-03-29 Thread Jürgen Vansteelant
Hello,   I'm making an applet that supposed to render a Cube, but he doesn't. This is what I get as output:   CubeTest.java [19:1] cannot resolve symbolsymbol  : variable COORDINATES  location: class com.sun.j3d.utils.geometry.GeometryInfo IndexedQuadArray iqa = new IndexedQuadArray(8,

Re: [JAVA3D] PointArray example

2002-03-29 Thread Jürgen Vansteelant
thanx, it works now one has to start somewhere!     - Original Message - From: Enrique Dumas To: [EMAIL PROTECTED] Sent: Friday, March 29, 2002 12:09 PM Subject: Re: [JAVA3D] PointArray example Well, there are some errors in your code : - you sould no

Re: [JAVA3D] Memory consumption - seems quite high?

2002-03-29 Thread Justin Couch
Enrique Dumas wrote: > So is it better and faster to use directly non indexed geometry arrays ? > The cost of memory in non indexed geometry is less than using indexed > geometry ? From everything that I've read from the j3d guys, yes. Internally j3d unindexifies your geometry anyway, so you ma

Re: [JAVA3D] Memory consumption - seems quite high?

2002-03-29 Thread Enrique Dumas
"Don't forget J3D un-indexes indexed geometry structures before passingthem to the card" So is it better and faster to use directly non indexed geometry arrays ? The cost of memory in non indexed geometry is less than using indexed geometry ? ___

Re: [JAVA3D] PointArray example

2002-03-29 Thread Enrique Dumas
Well, there are some errors in your code : - you sould not call your class PointArray, thats why you have a compilation error... Call it PointArrayTest instead - no return at createScenegraph method - extends your class from Applet to give a sense at the init method - ...   ___

Re: [JAVA3D] question about j3d.org.geom.IntersectionUtils.java

2002-03-29 Thread Justin Couch
SUBSCRIBE JAVA3D-INTEREST Anonymous wrote: > My question is : > is it easy to add indexedTriangleStripArray geometry in the >j3d.org.geom.IntersectionUtils.java class I think it would be easy enough to do. Basically a combination of the indexed geometry and the std triangle strip array code. If

Re: [JAVA3D] Memory consumption - seems quite high?

2002-03-29 Thread Justin Couch
Joerg 'Herkules' Plewe wrote: > I'm playing around with a primitive heigthfield renderer on a regular grid > loaded from an image file. Are you constructing your own, or using the one in the j3d.org repository. The one I have there generates from 512 square images and renders them quite fine wit

[JAVA3D] PointArray example

2002-03-29 Thread Jürgen Vansteelant
Hello,   I have some troubles running a simple program. It should draw three points using PointArray.   output:   PointArray.java [26:1] cannot resolve symbolsymbol  : variable COORDINATES  location: class PointArray PointArray pa = new PointArray(3, PointArray.COORDINATES);