Search:

Type: Posts; User: reexre

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    Ok I was able to set the DX texture from a vb picturebox.

    Public Sub TextureFromPictureBox(PIC_hDC As Long, PIC_hWnd&, PIC_W As Long, PIC_H As Long)
    Dim tmpDC As Long
    Dim oldBmp ...
  2. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    thank you I will
  3. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    Can TheTrick or someone else please help me?

    I have searched the internet extensively but have not found any solutions.


    The 1st question is difficult and I think it has two ways of solution....
  4. Replies
    22
    Views
    1,389

    Re: [RESOLVED] Several questions about RC6

    hello, a curiosity:
    While I was making fonts created from lines 1 pixel thick. (rendered via cc.lineto cc.moveto cc.stroke) I noticed that in cairo rendering the coordinates are "shifted" by 0.5...
  5. Replies
    22
    Views
    1,389

    Re: [RESOLVED] Several questions about RC6

    @Olaf
    Hello I wanted to report a small lack of backward compatibility of the last version RC 6.0.0.3


    ' .SetSourceRGBA .DrawText
    ' .DrawText .SetSourceRGBA...
  6. Re: Getting the ball rolling. Which VB6 projects are you working on?

    I have been, for a few years, in my spare time, developing an image processing program.
    The program is called PhotoModularFX and it is portable. (donationware) [VBFORUM]
    It is unconventional in...
  7. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    Hi TheTrick, don't worry, I understand.

    Here is an example of Image Processing using HLSL.
    [ DOWNLOAD ALL ]

    This version is dynamic (uses timers), but that's just for this demo.
    I made some...
  8. Thread: Program Testers

    by reexre
    Replies
    168
    Views
    141,638

    Re: Program Testers

    UPDATED

    DOWNLOADS

    - SoftPedia ZIP (may take some days to be updated)
    - ZIP


    Update 0.3.3265 (09-feb-2021)
    [Modules]
  9. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    New Example:

    https://github.com/miorsoft/VB6-HLSL-RayMarching/tree/master/06%20%20DX9%20-%20Island

    https://www.vbforums.com/images/ieimages/2021/02/20.png
  10. Replies
    229
    Views
    7,339

    Re: Should i learn VB6?

    Certainly my Lord, I bow to the giver of truth :D


    EDIT
    Maybe I was a little harsh.
    I am liberal. Let everyone post what they want where they want.
    It's the "penumatic hammer" attitude that...
  11. Replies
    229
    Views
    7,339

    Re: Should i learn VB6?

    I'm very much on baka's side.
    I consider Niya really heavy with this continuous attitude.
    It's time to stop with these .Net fanatics who come on VB6 forums to promote their beloved .NET.
    Enough!...
  12. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    hi TheTrick
    As far as RayMarching is concerned I am now at a very good point.

    I would like to talk/develop the second topic here.
    Here is what it consists of:
    1) Load a texture or byteArray...
  13. Replies
    146
    Views
    17,316

    Re: Direct2D Typelib+ for VB6

    Hi,
    do you have something ready about it ?
    If yes ( or when you have it) please post it in this other thread (or a your own thread) (... not to be off topic here)
  14. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    About TheTrick DX9
    I have noticed that there are often problems compiling the HLSL shader, especially if it is complex.
    Sometimes it takes several minutes.
    To get around this problem I discovered...
  15. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    here's how I'm having fun :)


    https://www.youtube.com/watch?v=xVBy-xW0eeU

    this is the HLSL shader code used:

    // - Roberto Mior
    // - reexre
  16. Replies
    34
    Views
    2,174

    Re: RAYMARCHING HLSL/GLSL (DX/OpenGL)

    thanks!
    I was able to pass arrays too.
    But I was a little confused in regards to
    the second term of SetPixelShaderConstantF which should be a float4, instead your example passes a D3DVECTOR which...
  17. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    Here's a new example (with a rather dumb scene) [that uses Truevision3D]
    https://github.com/miorsoft/VB6-HLSL-RayMarching/tree/master/03.2%20%20TRUEVISION3D%20OK

    The main difference from the...
  18. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    Main Topic:
    1) How to have/manage multiple Variables ( the using of cPSConstTbl)
    and other types of variables such as Arrays and FLOAT3
    I'll show here a/some working shader examples as soon as I...
  19. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    Thanks TheTrick I am very grateful to you.

    I also really appreciate the ability to load pre-compiled Shaders, great!

    I created a class to do only this....
  20. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    do not work to me!
  21. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    Fantastic ! Thanks!
    Well, I'll study it!


    I'll point out two things:
    one is the oversight in the link. correct the last word of the link: Raymatching -> Raymarching

    The other one is more...
  22. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    This is done using my example above as a starting point.
    It runs at around 25 FPS
    ie it draws a frame in 1/25 of a second while using pure VB6 it took about 1.5 - 2 minutes per frame.

    Original...
  23. Replies
    146
    Views
    17,316

    Re: Direct2D Typelib+ for VB6

    Good to know!
    I have made progress using TrueVision3D to handle the shader.
    All in all, the TrueVision3D tool is of a unique simplicity. (also for passing variables from VB6 to the shader)

    I...
  24. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    Yes I have.
    I wrote them in HLSL.
    Here it is the code of the one I talked about in the previous post.

    To see it you have to instal TV3D (that uses DX9), and download the code as explained...
  25. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    I managed to add the variable time (essential.)

    After countless attempts using the DX11 TypeLib I gave up.
    I found an excellent solution: Using the free TV3D engine.
    Just Download and install...
  26. Replies
    146
    Views
    17,316

    Re: Direct2D Typelib+ for VB6

    seems that someone did it (HLSL image processing) 10 years ago:

    https://www.youtube.com/watch?v=UxuFidrukgQ
  27. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    Hi
    do you have same problems with "pure" DirectX 11 for VB6 1.0 Type Library ?
    I suppose so.
    I have no idea, try asking wqweto.
  28. Replies
    146
    Views
    17,316

    Re: Direct2D Typelib+ for VB6

    Thanks! Very interesting tutorials! (Lot to learn from)

    OpenGL Typelib for VB6 doesn't seem to have the key functions to do what I want.
    For example those functions found in this link...
  29. Replies
    146
    Views
    17,316

    Re: Direct2D Typelib+ for VB6

    About OpenGL could someone tell me where to find the latest version (for VB6, with some useful tutorial)
    I did some research and failed.
    I have OpenGL API 2.0 tbl but it seems to me it does not...
  30. Re: VB6: how can i speed up my draw pixel function DIB's?

    In addition to following wqweto's advice regarding bounds checking,
    Surely some speed can be gained by avoiding (reducing):
    - Power functions
    - and Divisions

    Steps = Math.Sqr(Math.Abs(Destiny.x...
  31. Replies
    33
    Views
    1,720

    Re: VB6 The line returned when it hit the wall

    You should be more specific about what's your final goal.
    Create something like billiards game ? or what ?
    Try to specify what goal you want to achieve.
    PS: maybe later I'll "upgrade" to...
  32. Replies
    33
    Views
    1,720

    Re: VB6 The line returned when it hit the wall

    I don't know if I understand well the question.

    If you want a circle to stay at a certain distance from one of the point of a line (along it):

    Let's assume line points are X1 Y1 - X2 Y2
    and...
  33. Replies
    33
    Views
    1,720

    Re: VB6 The line returned when it hit the wall

    To obtain something like the movie:

    - create an empty TXT file

    - copy and paste the code

    - rename the TEXT File to "filename.FRM" (and double click to open it)


    VERSION 5.00
  34. Replies
    34
    Views
    2,174

    Re: RAYMARCHING using wqweto DirectX 11 for VB6 Type Library

    EUREKA!!!! I SUCCEEDED!

    Download the Code and Take a look
    - Github Repo
    - ZIP


    As a starting point I used wqweto tutorial 03.
    (this uses a texture but I don't use it, but I started from...
  35. Replies
    34
    Views
    2,174

    RAYMARCHING HLSL/GLSL (DX/OpenGL)

    Hello
    I want to open this thread because I am very interested in this topic.
    Probably, however, as often happens to me I will not find interested people, but I try anyway.

    preamble.
    Some time...
  36. LINK.EXE - Benefit of using Newer Versions?

    Hello,
    There are many versions of Link.exe.
    I wanted to ask the experts if there can be any advantages in using newer versions.
    The Standard version of VB6 should be V6.
    I tried the V9 and I...
  37. Replies
    15
    Views
    2,415

    Re: Rotation using DOT product

    About Rotation along a direction I found something very interesting


    The proper way to do orientate a space/object [avoiding trigonometry]


    CODE: (not tested yet)


    Public Type tMatrix3x3
  38. Replies
    9
    Views
    1,406

    Re: [VB6] DirectX 11 for VB6 1.0 Type Library

    @wqweto
    Hi, I' don't know much about shaders.
    From what I can see, in these examples HLSL is used.
    From what I understand HLSL code is compiled and "executed by DX".
    What I'm wondering is if with...
  39. Thread: Program Testers

    by reexre
    Replies
    168
    Views
    141,638

    Re: Program Testers

    @Olaf Thank you! Good to know!

    I tested on CAIRO_ANTIALIAS_FAST on PhotoModularFX (Drawing Interface [Nodes and connections]) and it's faster and keeping good quality.
    Next update will have this...
  40. Thread: Program Testers

    by reexre
    Replies
    168
    Views
    141,638

    Re: Program Testers

    @Olaf

    BTW
    I updated this project (with RC6) which do an intensive use of Polygons ( PolygonSingle )

    to run it fast as it can, turn on the TURBO checkbox

    ( It seems faster, but not sure...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width