Login  Register

Re: Poll: does anyone using java3d use the J3DBuffer API?

Posted by hharrison on Feb 25, 2013; 1:34am
URL: https://forum.jogamp.org/Poll-does-anyone-using-java3d-use-the-J3DBuffer-API-tp4028335p4028354.html

It's not a necessity to remove it, but it sure would be nice:

1) The J3DBuffer hides the actual implementation (it holds a bytebuffer, floatbuffer, etc internally) and some
API entrypoints only accept a particular type of buffer inside the J3DBuffer, directly passing the right nio buffer
type here would be a lot easier to use.

2) J3DBuffer and the wrapper code all lives in j3dutils, but is required by j3dcore to build properly, this is one of
the last pieces required to make j3dcore build standalone, and have only a one-way dependency (utils depending on core)

Its use is rather limited in public API, and came late in Java3D's lifetime, so hopefully it didn't spread too far.

Related to 2) I've been trying to get vecmath/java3d packaged in fedora, but the j3dutils license is a bit of a sticking point, so if I can remove the dependency I can at least get java3dcore packaged.  So having the utils
dependency gone would be helpful.

Harvey