Re: [Plib-users] Hi all!
Brought to you by:
sjbaker
From: Cameron B. <ko...@da...> - 2005-04-22 05:26:18
|
Steve Baker <sjb...@ai...> writes: | | Well, I know there were people working on this - but I never did see | the results. Not being a Python person myself, I didn't try them. I look forward to hearing from any python fans out there... *simpsonseque silence, broken only by crickets* :) :) | > was a little puzzled not to find that puFileSelector didnt just | > use a base class like puEditableChunkOfLineSelector or something. ;) | | It's a valid thought. I guess we all just wanted a file selector | widget and didn't think too much about more general applicability. It only stuck me, because reading the docs, I was expecting it from the (excellent) modular design..... ... that combined with the fact that Id just come from the Utility Library docs and that had me thinking about those 'virtual file systems' routines in 'doom' type games where it ties a whole lot of zip files together into one FS. (Not that im in any way supporting that as an idea. ;) Just ignore me.. its just two random thoughts colliding in my head. :) should I be quiet? ================== I realise these may be simple opengl questions (and that I dont realise that yet :) and so this might be the wrong place to bring this stuff up, if so, just say 'plib stuff only' and ill be more list-nice ;). (I once did a psych subject which said something wise, that is that people who know what they are doing often cant 'look back' at what its like to be clueless and if thats the case, then I figure that 'clueless' input (from me :) can sometimes help make docs etc clearer by pointing out questions that 'clueless' users have when they are trying to grok things. I know thats not a view shared by all, so I defer to the wiser people people on the list. ;) clueless questions ================== minor ----- http://plib.sourceforge.net/pw/index.html uses pwCallbacks but my installed version media-libs/plib-1.8.4 uses pwSetCallbacks pwSwapBuffers and vsync ----------------------- The book (and the man page) refers to flipping buffers in GLX waiting for the vsync, but pwSwapBuffers doesnt seem to do this (which is what I prefer :). But if thats the case, do I use the raw glFlush if I want to wait? I guess I dont need to worry about flickering if Im double buffered. And I guess I could put in a sleep if I dont need the cpu... multi windows? -------------- Im an opengl newbie so im working my way through "OpenGL programming guide" and I noticed that plib supports more than one window. But I havnt worked out how set which one to draw to given that pwInit doesnt return anything (not that Im going to use that, but I thought it was best to comment on this stuff as I hit it). glXSwapBuffers seems to have links to things that might be the right options, but Im not using glx (that I know of :). Maybe I just havnt read the docs on the right library, but it seems that it would be something that the Windowing Library should be responsible for (atleast to me). returning vectors ----------------- I was looking at sgSphere and I noticed: sgVec3 center ; SGfloat *getCenter (void) ; not: sgVec3 *getCenter (void) ; Which made me wonder if it was the same structure or one that had 'munged' into an array of 3 SGfloat (which further looking at the code shows that that was was an sgVec3 was). I guess its just so that it can return 2, 3 or 4 element coords. (It just confused me for a moment) Well Im just heading off to dive into ssg's :) :) cam -- / `Rev Dr' cam at darkqueen.org Roleplaying, virtual goth \ < http://darkqueen.org Poly, *nix, Python, C/C++, genetics, ATM > \ [+61 3] 9809 1523[h] skeptic, Evil GM(tm). Sysadmin for hire / ---------- Random Quote ---------- Schlattwhapper, n.: The window shade that allows itself to be pulled down, hesitates for a second, then snaps up in your face. -- Rich Hall, "Sniglets" |