Search:

Type: Posts; User: joaquim

Page 1 of 19 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    1
    Views
    2,239

    how create RayCasting?

    how create RayCasting?
    i have seen some videos, but without success :(
    so i ask: and someone told me that use 1 pixel, or the square size it's the same.. so i did these function:

    void...
  2. Replies
    3
    Views
    3,075

    after several time, i found the problems: 1 -...

    after several time, i found the problems:
    1 - the library and the headers files are for Code Blocks 32 bits and not 64 bits;
    2 - the files are for "CodeBlocks\MinGW\i686-w64-mingw32\..." and not...
  3. Replies
    3
    Views
    3,075

    if was that way on codeblocks 20.03, now was...

    if was that way on codeblocks 20.03, now was working :(
    is because my CodeBlocks is 64 bits?
  4. Replies
    3
    Views
    3,075

    how use Graphics.h on CodeBlocks?

    how use Graphics.h on CodeBlocks?
    i have the library and 2 headers files.
    i add lib file on linker files and i add:
    "-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32"
    on linker options.
    but i...
  5. Replies
    0
    Views
    2,627

    how use RayCasting?

    i'm seen several tutorials and both are big and confused. so i'm asking here so try understand it from scratch.

    Part 1: we have the player with a PosX, PosY and a direction(the angle direction)......
  6. Replies
    4
    Views
    4,909

    it's hard start learning DirectX.. but with i...

    it's hard start learning DirectX.. but with i must do it ;)
    thanks for all
  7. Replies
    4
    Views
    4,909

    sorry i mean with win32.

    sorry i mean with win32.
  8. Replies
    4
    Views
    4,909

    is there more faster than DIB's?

    on win32 is there code more faster than DIB's?
  9. C++: is there a function more faster than sqrt()?

    C++: is there a function more faster than sqrt()?
    i did several searchs and i found some.. but some don't give me some results and others are slow
  10. C++ - win32: how calculate the Frame Per Second on GameLoop?

    how can i calculate the FPS on GameLoop?


    int Frame=0;
    void GameLoop()
    {
    //GetInput();
    //UpdateMovements();
    //DrawFrameThings();
    //Frame++;
  11. i will tell you why: you have 1 image... now,...

    i will tell you why:
    you have 1 image... now, using the rotation math function(i have 1), rotate X, Y and Z the 4 image corners.... try draw the image on screen using the 4 corners!?! we can't......
  12. i'm sorry, but can you explain better your...

    i'm sorry, but can you explain better your function?

    Pixel alphaCompositePixel(Pixel p1, Pixel p2, Byte alpha = MaxAlpha)
    {
    double a1f = double(p1.a) / MaxAlpha,
    a2f =...
  13. heres the entire code: #include...

    heres the entire code:

    #include <iostream>#include <windows.h>
    #include <cmath>
    #include <stdlib.h>
    #include <vector>
    #include <string>
    #include <algorithm>
  14. see how i test it(i use Color instead Pixel, but...

    see how i test it(i use Color instead Pixel, but it's the same):

    struct Color{
    BYTE Blue=0;
    BYTE Green=0;
    BYTE Red=0;
    BYTE Alpha=0;


    void RGBA(BYTE R, BYTE G, BYTE B,...
  15. john.c...

    john.c correct me 1 thing: where i add the Alpha Value(between 0 and 255)?
    the 'MaxAlpha' it's 'BYTE' so it's 255 of max.
    but imagine that i need that the alpha be 120... where i add the 120?
  16. on 'RGBQUAD' the 'rgbReserved' can be used for...

    on 'RGBQUAD' the 'rgbReserved' can be used for Alpha value?
    RGBQUAD (wingdi.h) - Win32 apps | Microsoft Docs
    so the alpha blend math is:
    R = RTop + RBottom * (1 - Alpha)
    G = GTop + GBottom * (1...
  17. how, using Math from differents HBITMAP's, combine the pixels for effects?

    imagine that we have 2 pixels from differents HBITMAPS.
    (for transparent, i just avoid the pixel color... it's easy)
    using Math, how can i calculate the AlphaBlend?
    honestly i did several searchs...
  18. Replies
    7
    Views
    11,150

    that's true... i'm trying understand more 2...

    that's true... i'm trying understand more 2 functions then i can share some code and information..
  19. Replies
    7
    Views
    11,150

    why allways you get that conclusion????? true i...

    why allways you get that conclusion?????
    true i don't know, that's i'm asking, but tell me how i compare correctly is for make my work?????
  20. Replies
    7
    Views
    11,150

    maybe you have right, but i'm trying understand...

    maybe you have right, but i'm trying understand why i'm wrong.. i'm trying learning
    i'm trying adapt that code to my code
  21. Replies
    7
    Views
    11,150

    how read an image file?

    i'm trying reading a JPG\GIF file, it's a binary file true and i must see it's structure for it... now i have these link about JPG format image:
    JPEG File Layout and Format

    like we know the file...
  22. Replies
    10
    Views
    10,226

    yes, on gmail, i getted the notification mail:...

    yes, on gmail, i getted the notification mail:
    "Dear joaquim,

    Guest has just replied to a thread you have subscribed to entitled - why i don't receive mails notifications? - in the Tech Board...
  23. Replies
    10
    Views
    10,226

    i realy can't use hotmail, because i don't...

    i realy can't use hotmail, because i don't receive the confirmation mail. only on my gmail.
    what you can advice me?
    (i use much more hotmail and i don't know, for now, activate my gmail desktop...
  24. Replies
    10
    Views
    10,226

    thanks from you said, i changed the mail for my...

    thanks from you said, i changed the mail for my gmail and i recive the confirmation mail.
    now i will try go back aggain.
    in 20 minutes, please, try say something here for i test it
  25. Replies
    10
    Views
    10,226

    i'm sorry.. i don't want be rude or something.......

    i'm sorry.. i don't want be rude or something.... but why i don't get more help for resolve the problem?
    do you need more information or something?
Results 1 to 25 of 454
Page 1 of 19 1 2 3 4