• Member Avatar for cambalinho
    cambalinho

    Began Watching VB6 - why the 'for' loop is so slow?

    see these 'for' loop: Public Function SetTransparentColor(color As Long) Dim X As Integer Dim Y As Integer Dim c As Long Dim h As Long Dim w As Long Dim …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in VB6: How draw an arc?

    heres the function updated: Const PI As Double = 3.14159265358979 Private Sub DrawCurve(Destiny As Control, PosX As Double, PosY As Double, Raio As Integer, Optional Color As ColorConstants = vbBlack, …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in VB6: How draw an arc?

    that's why i did these function: Private Sub DrawCurve(PosX As Double, PosY As Double, Raio As Integer, StartAngle As Single, EndAngle As Single) Dim Angulo As Single Dim Radians As …
  • Member Avatar for cambalinho
    cambalinho

    Created VB6: How draw an arc?

    using the Circle method and knowing the start angle(playerangle-30) and end angle (playerangle+30), in degrees, how can i draw the arc?
  • Member Avatar for cambalinho
    cambalinho

    Began Watching VB6: How draw an arc?

    using the Circle method and knowing the start angle(playerangle-30) and end angle (playerangle+30), in degrees, how can i draw the arc?
  • Member Avatar for cambalinho
    cambalinho

    Edited using pointers on VB6

    heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 …
  • Member Avatar for cambalinho
    cambalinho

    Edited using pointers on VB6

    heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 …
  • Member Avatar for cambalinho
    cambalinho

    Created using pointers on VB6

    heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching using pointers on VB6

    heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in VB6: how can i get rendering speed?

    finally i speed up my code severy: Friend Sub DrawImagePlanePoints(DestinationHDC As Long, Points() As Position3D, WorldSize As Size3D, Optional ByVal Opacity As Long = 255) 'Points(0) is the Upper-Left 'Points(1) …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in VB6: how we get an array size?

    "PS. If the discussion title is changed I must remove some of my answers as they would no longer apply. My vote is to leave the title as-is. My suggestion …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in VB6: how we get an array size?

    let me ask 2 things: 1 - i never used Directx, but it's best start 8 or 9 version?(yes i can use both on my VB6) yes Directx seems a …
  • Member Avatar for cambalinho
    cambalinho

    Created VB6: how can i get rendering speed?

    without use DirectX, how can i get rendering\graphics speed? i created an Image class that uses DIB's... but something seems wrong for i draw in a pixel way.. too slow, …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching VB6: how can i get rendering speed?

    without use DirectX, how can i get rendering\graphics speed? i created an Image class that uses DIB's... but something seems wrong for i draw in a pixel way.. too slow, …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in VB6: how we get an array size?

    my problem is graphics.. very slow, even using DIB's... i'm trying win more speed, but isn't easy :(
  • Member Avatar for cambalinho
    cambalinho

    Created VB6: how we get an array size?

    i have 1 function that give me an array of a line points... on these array, how can i get the array size without using the UBound() and LBound()?
  • Member Avatar for cambalinho
    cambalinho

    Began Watching VB6: how we get an array size?

    i have 1 function that give me an array of a line points... on these array, how can i get the array size without using the UBound() and LBound()?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in vectors: how add vectors with direction?

    i need ask more 2 things: 1 - imagine the line starts on X, Y and Z(10, 20, 40) and ends on X, Y and Z(20, 40, 80)... using the …
  • Member Avatar for cambalinho
    cambalinho

    Created vectors: how add vectors with direction?

    if i have X,Y(10,20) and the speed is 2, will be: X = X + 2 Y = Y + 2 ? same goes for Z or it depends on …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching vectors: how add vectors with direction?

    if i have X,Y(10,20) and the speed is 2, will be: X = X + 2 Y = Y + 2 ? same goes for Z or it depends on …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    thank you so much, but i was asking if is normal do it for planes(like floor)?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    thank you so much with sometime i will fix my function.. let me ask you 1 thing: the plane, on world 3D, is drawed using several triangles?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    yes some languages uses DirectX ou even OpenGL(or others)... the C\C++ have Directx, but OpenGL must be added... DirectX is for Windows, but OpenGL(i think) can be used on any …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    to be honest i'm sorry something... i did that by 1 reason, but not all agree with it :( i'm trying learning what i can about it, but isn't easy... …
  • Member Avatar for cambalinho
    cambalinho

    Gave Reputation to rproffitt in Math 3D: how avoid drawing hidden parts?

    Why? Remember you wrote this code (hope that you did since I can only grok it so much) and line 42 looks to use IsOnCamera() so that point would be …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    the floor, for exemple is more big than camera... so how can i show the floor using the camera position? here at least the Z is the same
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    i'm sorry, but why you said that?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    seen some tutorials i found the Z-order and test if i need draw the line or not: http://www.ece.ubc.ca/~saifz/eece478/course/hidden.pdf but i need more: imagine if the plane is more big than …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    rproffitt: the code is Visual Basic 6... so works fine with Visual Studio 6.0 thanks so much for all.. i will try more search
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Math 3D: how avoid drawing hidden parts?

    i'm sorry rproffitt, but is there a tutorial for i see more about it? even trying using keywords, on google, i'm getting trouble to find something about it :(
  • Member Avatar for cambalinho
    cambalinho

    Created Math 3D: how avoid drawing hidden parts?

    i'm learning Math for 3D... for now i can draw a plane and convert 3D to 2D(the screen is 2D): Private Function ConvertPositon3DTo2D(Position As Position3D, World3DSize As Size3D) As POINTAPI …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching Math 3D: how avoid drawing hidden parts?

    i'm learning Math for 3D... for now i can draw a plane and convert 3D to 2D(the screen is 2D): Private Function ConvertPositon3DTo2D(Position As Position3D, World3DSize As Size3D) As POINTAPI …
  • Member Avatar for cambalinho
    cambalinho

    Created C++: how can print in same column?

    how can i print 3 values(without knowing their string\number size) in same column using cout? i'm using these code: cout <<"\n" << "show tokens\n"; for(unsigned int i=0;i<Tokens.size(); i++) { cout …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching C++: how can print in same column?

    how can i print 3 values(without knowing their string\number size) in same column using cout? i'm using these code: cout <<"\n" << "show tokens\n"; for(unsigned int i=0;i<Tokens.size(); i++) { cout …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how can i create a program without Windows Defender problems?

    - i run my compiled program; - the program is executed without a problem.. - when i create(from my program) the text file, the WD delete my text file. the …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how can i create a program without Windows Defender problems?

    after i disable the folder protection, on WD, the file isn't deleted. is the only solution that i have now... but, like i said, isn't a solution on another computer.. …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how can i create a program without Windows Defender problems?

    thanks to you i have learned more... thank you so much for all
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how can i create a program without Windows Defender problems?

    seems that i get your point.. i'm trying search if GNU have that option... but i must search more(yes i don't use Visual Studio). thank you so much for all
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how can i create a program without Windows Defender problems?

    ok maybe you have right.. i'm using on my Documents folder... the text file is created close the exe file... and maybe you have right about it. just for test: …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in how can i create a program without Windows Defender problems?

    i'm using Code Blocks with GNU compiler... my program create a text file.. but the created file is deleted by Windows Defender... i can create an exception on Windows Defender …
  • Member Avatar for cambalinho
    cambalinho

    Created how can i create a program without Windows Defender problems?

    i'm creating a program using Code Blocks with GNU\GCC compiler. i'm using Windows 10 with Windows Defender. my program create a txt files(instead a text files, we can speak binary …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching how can i create a program without Windows Defender problems?

    i'm creating a program using Code Blocks with GNU\GCC compiler. i'm using Windows 10 with Windows Defender. my program create a txt files(instead a text files, we can speak binary …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in If-else showing weird results

    Husoski: "No, %s scanning stops on any whitespace, not just a newline. Use %255[^\n] to include any character except a newline." the '[^\n]' is ANSI or GNU compatible? and strange, …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in If-else showing weird results

    Husoski: using scanf("%255s", opinions); accept space\tab too?
  • Member Avatar for cambalinho
    cambalinho

    Began Watching If-else showing weird results

    Hi, I'm learning C and I was trying to print this program using if-else statement: void main() { char* opinions; printf("What do you think of me?"); scanf("%s",&opinions); if (opinions="Ugly") { …
  • Member Avatar for cambalinho
    cambalinho

    Marked Solved Status for Windows 10: how use it?

    why, on windows 10, some touchpad drivers(even updated by windows) don't activate the vertical\horizontal scrool move.... i have them activated, but don't work.... when i use the finger, instead scrool, …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 10: how use it?

    thank you sou much for all
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 10: how use it?

    about windows 10... is what i'm new... sorry i
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 10: how use it?

    thank you so much for alll.. thank you. next question: Windows Defender: a program can use more than 1 exe, that's normal... but imagine that program(even the next exe from …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 10: how use it?

    i installed a worked driver.... but the windows 10 update it automatic and now isn't working :(

The End.