| |
| |
| |
|
Comments:
<0> does the glory hole really belong on the top 10 human inventions list? <1> http://www.elitebastards.com/cms/index.php?option=com_content&task=view&id=110&Itemid=29&limit=1&limitstart=3 actual improvements in opengl <1> ati high end cards <2> ok <2> I need some help <2> What the hell? seriously? <2> I have CCW front face enabled <2> and cull backface <2> i'm trying to render a skybox <2> drawing quads <3> u got the winding correct? <2> winding?
<3> yeh <3> i think that matters <2> my first vertice is the bottom left corner, -1000, -1000, -1000, the second is 1000, -1000, -1000, the third, 1000, 1000, -1000, the fourth -1000, 1000, -1000 <3> ie you define clock or counter clockwise <2> yea, I called glFrontFace (GL_CCW); <2> so anyway, this quad renders <2> right in front of me <2> I want to put one in back of me <2> Can't I take those same coordinates <2> and make the -1000 z's into 1000? <3> i've got some code which renders a skybox <2> its still counter clockwise, isn't it? <3> would that make things easier? <2> naw, I know how to render a skybox, i'm just wondering why the hell these coordinates aren't working <2> isn't -1000, -1000, 1000, the second is 1000, -1000, 1000, the third, 1000, 1000, 1000, the fourth -1000, 1000, 1000 CCW as well? <3> no idea <2> ... <3> i wouldn't really worry about front or backface culling with only 6 quads, tbh <3> hopefully you should always be inside the skybox. <2> yea.... <4> make sure its within the clipping range too <2> I pop and rotate <2> theres seams on the edges though <2> :\ <3> GL_CLAMP_TO_EDGE <3> or sommit <3> #define GL_CLAMP_TO_EDGE 0x812F <3> ok <2> for texture settings/ <3> i got a question .. <2> ? <2> nevermind, those coords I listed aren't CCW <3> anyone done ***embly for opengl ? <4> like glsl ***embly? <4> or just x86 or something <3> well ARB ***embly <3> GLSL is bit different, it compiles on load <3> but probably translates <3> i got a TEMP variable <3> and it contains the colours of my fragment <3> so RGBA <3> i want to add up RGB and stick them in say the R part of a TEMP variable <3> how can i do this ? :p <2> ah <2> the damn skybox has edges
<2> bastards! <2> didn't want me to see it was seamless <3> skybox -> http://extraball.sunsite.dk/notepad.php?ID=20320&parse=c <3> enjoy <2> I don't want your evil code. <3> its nice code <3> u just call the CreateSkyBox with the x/y/z coord you want it centred on <3> then give it a width/height/length etc <3> eg, CreateSkyBox(0,0,0,1000,1000,1000) <3> skybox at origin with lengths 1000 :p <2> its skybox code <2> anyone can write skybox code <2> why not just pop and re-rotate ? <2> heck.. no need to even pop. render it before everything else, even before you translate. <2> but after rotation. <3> u talking to yourself? :] <2> sure <2> I guess <2> if nobody was listening <5> what does a double pointer do ? <5> Uint8 **pixels; <0> it's a pointer to a pointer... <3> think 2d array :p <6> but beware, int i [2][2] is a 2d array, but very different from an int**! <5> :) <4> debugging geometry ****s <7> Unit41: A pointer gives you a level more in abstraction when sending variables on the stack. A double pointer can be ***igned the adress of a double pointer, or point to a pointer. <7> Or, it can allocate space to hold an array of pointer. <7> Or allocate space to hold pointers which also gets allocated space, making a 2D array. <7> To change a variable's value inside a function, you will need its adress, hence you use a pointer. <7> If you want to change a pointer's adres, you need a pointer to that pointer, and so on. <7> You 'should' really know this before even peeking at libraries and APIs let alone the OpenGL API. <7> It's mandatory C and C++ <8> now he knows ;D <7> People who start out with OpenGL without proper knowledge of the language they are using, annoy me. <3> everyone has to start somewhere :p <7> Yes. And the start is called "learn to walk before you start with bicycling" <3> i always jump in the deepend, normally always end up learning lots of useful stuff along the way <7> Sure. It's not our buisness what means people use to learn themselves new things. <7> But doind that AND ask for help on IRC is just ignorant and respectless. <7> It kind of shows that you are lazy, in a hurry, and just want things to work instead of learning. <7> Why would people waste their time to help somone like that? <7> someone* <3> rant over ? :) <3> take some chill pills :p <3> i dont care, they can ask all they want dont have to reply <7> dukey`: You are the one tossing fuel on the fire.. <3> i better go back to idling <9> some people don't use C or C++ for OpenGL purposes :P <10> o rly? <3> java opengl ^ <9> scheme is good, mm'kay
Return to
#opengl or Go to some related
logs:
fatherham #beginner .Guitar.Rig.Foot.Pedal.Fully.Working hdbits down #goal +gtk+ +digest +verification +filesize installing -c *** Exited with status: 77 *** sex amrekan #linuxhelp #narcotics
|
|