Re: [JAVA3D] Geometry Types

2002-04-23 Thread Doug Twilleager
This type of exposure is what we are looking at for one part of extensibility in Java 3D 1.4. Doug. >Subject: Re: [JAVA3D] Geometry Types >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: en-us, en >Delivered-to: [EMAIL PROT

Re: [JAVA3D] Geometry Types

2002-04-23 Thread Artur Biesiadowski
Doug Twilleager wrote: > The big part that is miising is explicit low level buffer > control - something like you suggested below. We could do > it in the current system, but how we allocate buffers would > be just a best guess. We would need new API to let the application > help tell us which b

Re: [JAVA3D] Geometry Types

2002-04-23 Thread Doug Twilleager
. This is one of the possible additions we are looking at for 1.4. So, no there in no reason we can't do it today, but we need some new buffer control API's to complete the story. Doug. >Subject: Re: [JAVA3D] Geometry Types >To: [EMAIL PROTECTED] >MIME-version: 1.0 >Content-tran

Re: [JAVA3D] Geometry Types

2002-04-23 Thread Artur Biesiadowski
Doug Twilleager wrote: > Efficient usage of some of the new data movement extensions is > also very > application dependent. We are looking at ways to incorporate it into > the API though. It seems for me that java3d should get it for free. Normally, opengl driver cannot do this automatically, b

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Doug Twilleager
The pinning ends up being essentially free. There is no impact on performance. You are correct. Nio becomes very usefull when the memory associated with a primitive is controlled by native code, such as in some current nvidia extensions. Today we use vertex arrays with no extensions (or display

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Artur Biesiadowski
Doug Twilleager wrote: > If all of your data is created in java land, then nio doesn't get you > any faster. If you read the current specifications about JNI, it talks > about the potential of data being copied when it is passed from java > through JNI. There are API's in JNI that prevent such a

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Doug Twilleager
rce. Then NIO does not incur the cost of getting the data from native spaces to java spaces. If your data is coming from a native source, then NIO is a huge win for getting the data into Java. Doug Twilleager Java 3D Team Sun Microsystems >Subject: Re: [JAVA3D] Geometry Types >

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Chris Forrester
API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] Geometry Types >Date: Mon, 22 Apr 2002 15:47:46 +0200 > >Chris Forrester wrote: > >>BYREF geometry notes: >> >>Using the BYREF flag indicates that the data used within the geometry is &

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Kelvin Chung
>QuadArray - > >Mostly used in particle systems due to the billboard nature of a single >quad, works nicely in OpenGL. DirectX has issues however, since it doesn't >natively support quads and java3d must support this with >DrawPrimitiveStrided. Tested and true, don't use this geometry type if you

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Justin Couch
Simeon H.K. Fitch wrote: > Is there some other section of the site where this type of information would > be more appropriate? Possibly the architecture & implmentation area as these pieces of information are specific to the Sun implementation of the spec. Another implementation might do things

Re: [JAVA3D] Geometry Types

2002-04-22 Thread John Wright
It may not be asked frequently but I do think most of us think about it and wonder when we are first learning Java 3D. Chris's summary looks fairly decent to me on quick glance but I'd be inclined to ask one of the Sun people to review it before we commit it to a FAQ. - John Wright Starfire Resea

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Simeon H.K. Fitch
> Simeon H.K. Fitch wrote: > > > Justin, any chance of getting this info in the FAQ? It would > certainly serve > > as a seed for more information on the topic... > > Could do, but I've never seen it asked before so not exactly sure its a > FAQ :) I thought it sort of fell into the category of "

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Justin Couch
Simeon H.K. Fitch wrote: > Justin, any chance of getting this info in the FAQ? It would certainly serve > as a seed for more information on the topic... Could do, but I've never seen it asked before so not exactly sure its a FAQ :) I also have something that I've been writing up _very_ slowly in

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Artur Biesiadowski
Chris Forrester wrote: > BYREF geometry notes: > > Using the BYREF flag indicates that the data used within the geometry is > accessed through user arrays. Really the only way to go for volatile > meshes, > particle systems, bones animation, and multi/sub material objects, add two > grades for me

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Simeon H.K. Fitch
> > This list is from my personal experience and whatever i've read on the > internet about the various formats. That said: > Thanks for sharing this with us. Justin, any chance of getting this info in the FAQ? It would certainly serve as a seed for more information on the topic... Simeon >

Re: [JAVA3D] Geometry Types

2002-04-22 Thread Chris Forrester
This list is from my personal experience and whatever i've read on the internet about the various formats. That said: IndexedQuad/Triangle/StripArray - A poor option to use, since java3d must unindexify the data each frame to send it to the card. But dead simple to work with, and the nicest form