Re: [sdljava-users] Forget that old patch.. here is a better one ;)
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-02-22 02:47:21
|
The 3D api looks interesting. I'll have a look into this. Certainly if we don' t have to re-write all the code it would be good. From what I see so far I think we might want to use it. If we do end up using it then it is simply added to lib directory -- user will never have to download it. The 3D API in sdljava is growing slowly and carefully. I want to make sure its ideal and as fast as possible. Its not really ready for prime time use hence there will be things omitted in various places. -Ivan/ Chris Dennett wrote: > Ignore the old patch if you haven't already applied it (I'm pretty > sure you haven't), as I've significantly worked on a number of areas > tonight, including adding a new SDLPoint class having the SDLRect > class extend from it, and the previous changes I made are also rolled > into this patch. > > Something I saw which might be significant, however, is that all the > positional stuff we need is actually in javax.vecmath, including > 3DPoint, if you are using that for the OpenGL modelling stuff.(See > http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/package-summary.html). > Using this would save us reinventing the wheel, but might incur an > extra download cost for the user. > > I also notice that you have Vector.java which is meant to hold a > coordiante in 3D space. However, you forget that vectors also have > length and direction. > > By the way, is there an SDLJava IRC channel we could go to to discuss > stuff? Somewhere on OpenProjects / FreeNode, perhaps? ;) Anyway, my > new patch is attached to this message, with many modifications. Again, > tell me if there is anything wrong with it. > > Regards, > Chris > |