Thread: [sdljava-users] Forget that old patch.. here is a better one ;)
Status: Beta
Brought to you by:
ivan_ganza
From: Chris D. <Des...@nt...> - 2005-02-21 21:29:12
Attachments:
Dessimat0r120050221.diff
|
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 -- |>>> Dessimat0r /`\ | "We cannot turn back time, but we can _ _|_ _ move it forwards with our own hands." |;|_|;|_|;| \\. . / [www: http://codeknight.net ] \\: . / [e-mail: des...@nt... ] ||: U | /`\ [icq: 21477909 ] ||:. | [msn: des...@nt... ] \,/ ||: U.| ||: | \,/ ||: , | ____--`~--- '--~~__ __ ----~ - ~`---, -~--~ ~---__ ,--~' ~~----___ |
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 > |
From: Ivan Z. G. <iva...@ya...> - 2005-02-22 02:52:25
|
In anwer to your other questions there isn't yet an IRC channel. Maybe in the future. For now there are only a few full time developers and we are all in different time zones. When one sleeps the other is coding ;-) -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 |