Results 1 to 4 of 4

Thread: VB6 Ray Tracing?

  1. #1

    Thread Starter
    College Grad!!! Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,311

    VB6 Ray Tracing?

    Call me crazy, but after not using vb6 for quite sometime, I decided to go back to my roots and build a ray tracer from scratch. It's still in the works, however, as I have to build a 3d engine from the ground up. At the moment, it loads obj files built from Autodesk 3ds max, and texture maps everything per pixel. Its slow, but with some optimizations I should be able to speed things up. I believe the skysphere I am using is a 12k ultra HD texture. Once I have everything I need, such as lighting, is when I will implement the ray traced reflections and shadows. I just wanna hear your thoughts as none exists on the internet.
    Attached Images Attached Images  

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    37,551

    Re: VB6 Ray Tracing?

    You're crazy.

    Actually, I seem to remember the first ray tracing examples coming out back around the heyday of VB6. So, what are you looking for, exactly? I believe it can be done, and I believe you have the skill to do it, considering some of the other goofy (and awesome) graphics things you've done in the past. I guess I'm a bit curious as to why you are doing it? Hardware has advanced to the point that ray tracing is best done on the GPU, these days. I would think you could hand that off to the GPU using VB6, but it doesn't sound like that's what you are trying to do. It sounds like you are trying to write a CPU based ray tracing engine, which will perform far better than any in the 90s, but still won't measure up to a GPU based system, so what is the underlying objective?
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    College Grad!!! Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,311

    Re: VB6 Ray Tracing?

    My objective is to use a slow language such as VB6 and render ray tracing in almost pure vb (some API's were needed) with as much optimization as possible. And although you may have seen ray tracers on vb6 in the past, it is nearly impossible now to find them on the internet! But like I said earlier, I'm building the engine from the ground up before I implement the ray tracing parts. I just got done implementing z-buffering today. Just sort of an experiment to see if I can really pull it off on vb6 knowing full well I can build a mega fast one in C++ using DirectX12 through RTX cards.

    Path tracing would be interesting too if I can figure out how to denoise the graphics.

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    37,551

    Re: VB6 Ray Tracing?

    I don't remember ray tracing being anything more than a one-off oddity back in the 90s. It wasn't practical, so people would only do it to show that it could be done...as long as you were willing to wait.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width