[GEM-dev] More compilling Gem with visual C++

guenter geiger geiger at xdv.org
Wed Sep 24 13:48:21 CEST 2003


On Wed, 24 Sep 2003, Cyrille Henry wrote:
> >>>I think that if it's working on 0.87 it will work on curent version.
> >>>am I right?
> >>>
> >>>
> >>...right!  well, at least I know "right" cuz I just downloaded and
> >>tested it :-)  Very nice...
> >>
> >>...if ya want, I can commit it to the cvs?
> >>
> >>
> >
> >I fear this will lead to a proliveration of this kind of objects.
> >Can't the tube functionality be added to the cylinder ..?
> >
> cylinder use an open GL primitive (gluCylinder).
> tube use GL_TRIANGLE_STRIP, and compute the position of all point
> independantly.
>
> I think tube is less efficient than cylinder.
>
> so I'm not sure remplacing cylinder with tube is a good thing.

I did not mean to replace it, but to add the functionality to cylinder.
Anyhow, this stuff should be thought out well, it would be nice to have
a common interface for changing objects.

The gluXXX are not Open GL commands, but utility functions that just
set up a display list, so depending on the implementation you won't loose
too much. If the performance loss really matters you can still switch
between the static and dynamic cylinder inside cylinder, depending on the
fact if the parameters changed ...

> (I made this primitive because I use to do the same thing with
> gemglbegin / gemglend etc. wich is a good way to do it, but not very
> efficient...)
>
> well, don't really know what to do...

Me neither ...  after all it was only a suggestion, maybe it was
stupid and you just ignore it .. :)

Guenter





More information about the GEM-dev mailing list