Re: Fwd: Vector operations on datatypes in Tensor library...
Balazs Komuves <[email protected]> Sun, 3 Mar 2013 18:58:42 +0100
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <CAHZd2pmcO8CQZA+FM8L3ca_ZfiiniSGtcUupOj-KP9N=j3-gwA@mail.gmail.com> |
--===============2310004441088415020== Content-Type: multipart/alternative; boundary=e89a8f22c555a7f16104d708fd9b --e89a8f22c555a7f16104d708fd9b Content-Type: text/plain; charset=UTF-8 No, there is no such plan to replace the OpenGL types by the vect types. However, with vect, you don't really have to use the OpenGL types at all, at least in normal circumstances. Yes, AC-Vector is similar, but vect is older, more mature, and has *much* more functionality. hmatrix is a very different library: It is intended for large-scale linear algebra (based on the scientific libraries BLAS, LAPACK, GSL). vect (and AC-Vector) is intended specifically for low-dimensional (up to 4 dimensions) linear algebra (and vect is tailored specifically for graphics). vect is also completely standalone (no dependencies), as opposed to hmatrix. Balazs On Sun, Mar 3, 2013 at 6:10 PM, MIMUW <[email protected]> wrote: > Hi Balazs, > > That sounds nice, but is there any timeline for replacing types used by > current version of OpenGL by those in vect? > Since as far as I understand, vect-opengl gives just typecasts, > and thus doesn't really address a problem of using many different > Vector/Vertex types in place of one, and requiring typecasts. > > Thus we have AC-Vector that serves similar purpose as vect (and probably > few more similar packages, like hmatrix.) > > > > the vect library: http://hackage.haskell.org/**package/vect<http://hackage.haskell.org/package/vect> > > and its OpenGLl companion: http://hackage.haskell.org/** > package/vect-opengl <http://hackage.haskell.org/package/vect-opengl> > > > > were written specifically for doing computer graphics. It probably > contains > > all vector/matrix operations you need. If this is not the case, I'm happy > > to hear suggestions. > > > > I don't think there is a better alternative at the moment (definitely > > nothing close in coverage of functionality). > > (disclaimer: I'm the author of these) > > > > Historical note: The Tensor package was born because the original author > of > > the OpenGL package felt that it makes sense to make it separate from the > > big OpenGL package. He planned a serious refactoring/rewrite of the > OpenGL > > package. However, he seems to have disappeared since. > -- > Best regards > Michal > --e89a8f22c555a7f16104d708fd9b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <br>No, there is no such plan to replace the OpenGL types by the vect types= . <br>However, with vect, you don't really have to use the OpenGL types= at all, at least in normal circumstances.<br><br>Yes, AC-Vector is similar= , but vect is older, more mature, and has *much* more functionality.<br> <br>hmatrix is a very different library: It is intended for large-scale lin= ear algebra (based on the scientific libraries BLAS, LAPACK, GSL). vect (an= d AC-Vector) is intended specifically for low-dimensional (up to 4 dimensio= ns) linear algebra (and vect is tailored specifically for graphics). vect i= s also completely standalone (no dependencies), as opposed to hmatrix.<br> <br>Balazs<br><br><br><div class=3D"gmail_quote">On Sun, Mar 3, 2013 at 6:1= 0 PM, MIMUW <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote cl= ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p= adding-left:1ex"> Hi Balazs,<br> <br> That sounds nice, but is there any timeline for replacing types used by cur= rent version of OpenGL by those in vect?<br> Since as far as I understand, vect-opengl gives just typecasts,<br> and thus doesn't really address a problem of using many different<br> Vector/Vertex types in place of one, and requiring typecasts.<br> <br> Thus we have AC-Vector that serves similar purpose as vect (and probably fe= w more similar packages, like hmatrix.)<div class=3D"im"><br> <br> > the vect library: <a href=3D"http://hackage.haskell.org/package/vect" = target=3D"_blank">http://hackage.haskell.org/<u></u>package/vect</a><br> > and its OpenGLl companion: <a href=3D"http://hackage.haskell.org/packa= ge/vect-opengl" target=3D"_blank">http://hackage.haskell.org/<u></u>package= /vect-opengl</a><br> ><br> > were written specifically for doing computer graphics. It probably con= tains<br> > all vector/matrix operations you need. If this is not the case, I'= m happy<br> > to hear suggestions.<br> ><br> > I don't think there is a better alternative at the moment (definit= ely<br> > nothing close in coverage of functionality).<br> > (disclaimer: I'm the author of these)<br> ><br> > Historical note: The Tensor package was born because the original auth= or of<br> > the OpenGL package felt that it makes sense to make it separate from t= he<br> > big OpenGL package. He planned a serious refactoring/rewrite of the Op= enGL<br> > package. However, he seems to have disappeared since.<br></div> --<br> =C2=A0 Best regards<span class=3D"HOEnZb"><font color=3D"#888888"><br> =C2=A0 =C2=A0 Michal<br> </font></span></blockquote></div><br> --e89a8f22c555a7f16104d708fd9b-- --===============2310004441088415020== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ HOpenGL mailing list [email protected] http://www.haskell.org/mailman/listinfo/hopengl --===============2310004441088415020==--