Jump to content
  • Advertisement

joshlovesbrooke

Member
  • Content Count

    32
  • Joined

  • Last visited

Community Reputation

120 Neutral

About joshlovesbrooke

  • Rank
    Member
  1. joshlovesbrooke

    visual C++ express edition and windows.h

    nevermind, i think i found the right helper guide that VC++ has, that will show me how to enable win32 builds
  2. joshlovesbrooke

    visual C++ express edition and windows.h

    i have already downloaded the directx sdk, should i also download the microsoft platfrom sdk? the reason i am so lost in this, is that i used to use the opengl API. i switched over to directx
  3. i have been trying to get a build file in visual C++ express edition to use the windows.h header file, but it simply wont do it, even downloading other's build files that work supposedly on Visual C++ (non Express version) will work.. what is going on here???
  4. joshlovesbrooke

    window size problem

    i have a program, and i have built it to do a constant speed, but when i resize the window, the speed changes, if i make it smaller, it is much faster, if i make it bigger, it is much slower. how do i fix this problem??
  5. joshlovesbrooke

    ummm what

    wow, yea you were right, i was thinking maybe there was a glSCALE thing i forgot about, but it was just using translations....hahah, i feel dumb now...shoot
  6. joshlovesbrooke

    ummm what

    ok i want the value of 1.0f to equal 1 foot so if i made a line, it would require a value of 10.0 to stretch across the whole screen. right now, it looks like the value of 1 is equal to ten feet.
  7. joshlovesbrooke

    ummm what

    ok, so i just had all my build files erased on my computer for some unkown reason, so im trying to rebuild everything. i have one problem.. i fixed it in my program, but i forget how to. and the problem is, how do i change the view of the "game" so that a value of 1 doesnt cover the entire screen. basically if i made a box, i want the size to be 10, and be able to see the whole thing. right now if i made a 1 x 1 x 1 box, it would do the same.
  8. joshlovesbrooke

    Brick wall

    Quote:Original post by MzW may be you can try glTexSubImage2D(...) function? I have a instance like you question. can you show me your E-mail? i will send it to you. :O) adrumsolo4u@hotmail.com
  9. joshlovesbrooke

    Brick wall

    thank you for the link, i used one of their parameters, and it worked, heres the code i made up to isert, it will not be exactly what i use, but its close. although the website did not tell me where to put this one in, i figured it out: glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_WRAP_S,GL_REPEAT); after putting that with the other parameters, compiling it, and being dismayed by nothing happening, i made the follow changes: the old script of one entire brick on the wall was this: glTexCoord2f(0.0f, 0.0f); glVertex3f(-1.0f, -1.0f, 1.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f( 1.0f, -1.0f, 1.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f( 1.0f, 1.0f, 1.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-1.0f, 1.0f, 1.0f); the new script, with changes, gives me 9 bricks: glTexCoord2f(0.0f, 0.0f); glVertex3f(-1.0f, -1.0f, 1.0f); glTexCoord2f(3.0f, 0.0f); glVertex3f( 1.0f, -1.0f, 1.0f); glTexCoord2f(3.0f, 3.0f); glVertex3f( 1.0f, 1.0f, 1.0f); glTexCoord2f(0.0f, 3.0f); glVertex3f(-1.0f, 1.0f, 1.0f); if the website link you gave me showed examples of how to implement its contents, it would be great, but thanks for the link, it helped TONS EDIT: i used script [script] instead of source
  10. joshlovesbrooke

    Brick wall

    Quote:Original post by M2tM are you talking about having a one brick in a texture tile to make a whole brick wall? If so I don't see how this differs from various tutorials available on texturing. yes, that is what i am talking about. i have not found a site that allows me to do this, all i can do so far is have one brick for the whole wall...i want to know how to repeat the texture multiple times on the same wall..like a brick wall, i dont know if i cant understand what the tutrials are saying, or what.
  11. joshlovesbrooke

    Brick wall

    yes, i have checked them out, the site is realy aweosme, but i cant find anyhting that would explain how to do what i want to do...i COULD prgram each brick, using vertexs, but umm...that would just take too long for me to do, plus, i think it would kill my program's speed and efficiency (which i will need later)
  12. joshlovesbrooke

    Brick wall

    yes...that. i want to draw one. but i only want to have the bitmap of one brick. i have looked for the way to do this all over the internet...and didnt find anything useful to me at ALL any help, (with code, or just a link) would be greatly appreciated
  13. joshlovesbrooke

    help with textures

    Quote:Original post by Sir Sapo Just dont declare any texture coordinates for your second cube, and nothing will be textured onto it, thats probably more efficient than disable and enabling texturing every update. hah, wow, i cant belive i didnt think of that!! lol, wow...well, thanks for all your input, now i know what i did wrong.
  14. joshlovesbrooke

    help with textures

    oh, i see. is that an efficient way to do it?
  15. joshlovesbrooke

    help with textures

    no, i can texture everyhting fine, but it gives me two cbues, which are the same, i only want the top cube to have the mitmap texture don it, i want the second to be normal...must i draw the seocnd one first to have this done, or is there an actual way to do it?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!