What? I don't really get what does it do...
Sorry for the lack of discussion, thing is, there's very little to discuss...i read something you post and just think ohh... sounds good.
Oh, I'm terribly sorry. This often happens when I get carried away.
Good thing you think it sounds good anyways.. even though it seems you are one of the very few that actually have any use of this API
.
Display lists in OpenGL is primarily a way of compacting geometry to make transfer times to the graphics card smaller. But it is also a way of grouping static geometry into identification tags which can be easily referred to in the rendering loop. Since intrinsically, FX-GL only works with one vertex matrix and one edge list, using display lists would open up the possibility to utilize all other lists and matrices for a quick and easy way of storing geometry and calling geometry from other matrices/lists during rendering.
I just hope this release gets off pretty soon, there's no point in starting to program for the jeux casio until I get the package...
Oh, sorry, I wasn't aware that it was that urgent. I've been in the middle of negotiating for a salary and all I've been thinking about these last two days is money
.
Want me to get the fx-gl text into g1r?
Yes, that would be a blast!
perhaps cat too?
Well, probably not. I will update the cat as soon as I'm finished with all of the documentation work.
I can't make any promises, but I attempt to have both FX-GL and FX-GLUT ready by the end of the weekend.
Trying to make all documentation as consistent as possible is quite hard, especially explaining in detail what each function can do on a level that hopefully most people can understand.
Should you find anything you feel is unclear with the doc, then please let me know right away and I'll try to clarify.
If you want I can contribute with something for the examples... perhaps a fully fleged 3D grapher?
Well, actually, I have a more advanced 3D grapher that is based on the one posted in this thread. Actually the only added feature is the possibility to make X-lines, Y-lines or a grid. Perhaps you had something more advanced in mind. Well I normally don't include other peoples programs in my own releases, but I'm willing to do an exception if the API:s are gained by it.
I am trying to create a technology that allow me to draw grids, with a single sweep, I mean like those games where you have to draw a figure without ever lifting your pencil or drawing in top of an already drawn line.
I see you have great ambitions. That is very good.
About grids, there's those horizontal and vertical commands you might find useful for that.
Hmm.. not quite sure what you mean by the lifting pencil stuff. But something that I've been thinking on during quite some time now is something that is related to graphical imput, namely an arcball function and a unprojection function. An arcball is a way of rotating things around in the world or rotating the camera, it shouldn't be that hard. Unprojection is nice since it allows picking objects with the cursor or programatically. Just some thoughts. I should be careful with making the API:s too large, after all, there are still people that only have 32 kB available.
Optimizing the process of draw.
Hmm.. sure, if you find a way to make it even faster without trading for functionality, I'm all ears and I'll incorporate it into the API.
Optimizing the process of projecting the maps and that kind of stuff, I am working in an instance trick to speed things up. Actually I believe I am going to get a 3D grapher that spins things in live time:)
Hehe... mapping, not maps
. Optimizing these functions are not impossible (nothing is impossible, they can only be very unlikely at most
) but is probably quite hard since I think much of the time spent in GLPRJMAP is in matrix multiplications. However, you might be able to speed up a bit more if you remove the test for whether depth scaling is performed or not.
If you remove this test, GLLINE will run faster alright, but GLFLINE will most certainly run slower (assuming the test operation is cheaper than the multiplication operation).
I wish you good luck on making a real-time 3D-grapher (you'll need it
). I cross my fingers for you.
Of course there is no generic way of doing this (that I know of) nonetheless I am going to ask a friend of mine, which is actually a brain in this kind of things... he is going to the IOI2006 (International Olympiad in Informatics) in mexico, representing portugal... that should mean something.
Oh. Now that would be something to put in your resume, wouldn't it?