[haiku-development] Re: GLTeapot, world space rotation

On 26/02/2008, Alexandre Deckner <alex@xxxxxxxxxxxx> wrote:
> Euan Kirkhope wrote :
>
> > If it's just the relevant source files cherry piced and compiled in to
>  > the exe, I'm all for it. :)
>  >
>  > I'd prefer not to have a whole physics lib added to the source just
>  > for a teapot and a couple of potential future games.  R5 is renowned
>  > for being compact and minimalist in terms of libs etc.  I think it
>  > would be overkill.  Nice tea pot though.
>  >
>
> Ok! To clear things up, a quaternion is a math object that represents a
>  3d rotation with 4 floats,
>   here is what i need for glteapot, i was just lazy and took an existing
>  implementation :-D
>
>snip
>

I take it back, it's not anywhere near as much code as my imagination
told me.  I had visions of reams and reams of code. :)

>  > I don't really think a physics engine is appropriate for an operating
>  > system.  I personally wouldn't even want one part of the standard
>  > build if it was included.
>  >
>
> It could have its use in a 3d interface, or a 3rd party app, just the
>  problem of picking an object with a mouse needs 3d ray-object collision.
>  I can imagine other non-game uses too. But like you, i'm not sure if it
>  has to be included in an os or not, it's debatable i think!
>

That's true, I only hope it's a while away at the moment.

> > It's certainly a really nice download for people to pull from bebits /
>  > haikuware though, or be packaged in a distro.
>  >
>
> Sure it was just a thought, we don't want to Be-ify everything, or bloat
>  the sources :-)
>  Having a nice modern bumpy demo to attract the eye on booths with the
>  Haiku brand could be worth it though! Like you said, Haiku is compact
>  and minimalist, but it has to be fun and exciting too :-)
>  The application source folder would contain a copy of the lib's sources,
>  just like we do when needed (ex: translators, codecs, new layout), and
>  keep in mind that bullet source size is really reasonable (200 files,
>  1MB), the size argument isn't really fair imho.
>

Thats true as well, and I guess it's not something that anyone would
want to prevent and hinder either I suppose. :)

Other related posts: