Results for "Author: almar joling"
Complete rebuild of my previous port of the C++ raytracer. This supports: Spheres, Triangles, Planes, Cylinders. Also supports shadows(!), reflections(!!), and multiple _colored_ light sources. Hence why it is so slow. You can now turn on/off options, so you can see everything nicely. Note that you MUST compile to get a bit decent framerate. With triangle support, it's in theory possible to load 3D models and raytrace them. I might optimize the code later (it's become a bit messy), but it really depends on your votes. Note that the rendered scene might look a bit chaotic. This is more because of the large "gaps" between every frame. Note that Raytracers are known for their slowness. That's why there aren't (m)any real-time raytraced programs yet.
This tutorial will learn you how to combine HTML Help with VB, so your applications can easily have functions like "Whats this help" and "context sensitive help". This tutorial is fully illustrated, (17 images), everything done nicely step by step. VB6 is REQUIRED. This will not work with older versions.
The code of DX Anywere retrieves the handle of the window/scrollbar/toolbar/textbox/clock/start button whatever under the mouse cursor. Now, with this handle you can start DirectX in that window/scrollbar/toolbar/textbox/clock/start button/whatever The DirectX window is automatically resized to match the required with and height. Really great code, to make an 'DirectX Accelerated Desktop"
This article shows various speed increasing methods, I've done tests myself, you can see the performance difference in a graph and in a table. This article is really worth your time. For example, it shows how one simple "\" instead of "/" will speed up your app with more than 400% percent!
Updated by Bill Soo... instead of 25 fps, it runs at 60 fps now! Which is an astonishing framerate for VB Again some pretty unique code from me. This program is a _realtime_ raytracer (not raycaster!). I ported it from C++ to VB, and it still runs pretty fast. It also shows you how to use SetDibbits to change all the bits in a picturebox with just one call. You can zoom in and out, add more spheres by changing a few variables/constants in the code. Light-positions can be set by the scroll bars and changes will be visible directly! Note: Please compile this program, or you will receive ~1-2 FPS from the IDE. I would appreciate some votes, people, so that I can still think my (unique) work is appreciated =-) Update: I've moved some math functions inline, and improved the code wherever it was possible. 10fps more now! Do not forget to compile the program though... Original source is also included. I'd really appreciate if you vote for this code guys.
Show how you can create your own console, and give it some purpose
Very unique code. This is the only Webserver on the internet that uses the Winsock api (and where the source code is downloadable!) I needed a simple webserver without the Winsock OCX for my game's server, for some easy remote-admin. That's why this code also has the Basic Authenticationscheme implented. The code is a bit messy, but it's been tough to get it working anyways. I hope you people enjoy this code and that you may learn something from it (That's why I put it online :) -Supports images -Checks if pages exists (does not return 404 though) -Has Basic Authentication functionality (run it and you'll see it) -Pretty secure I believe ("/../" won't work) -Accepts multiple connections! One drawback: The events are based on two command buttons. Yes, I'm sorry. but I just don't like AddressOfs, hooks, callbacks and whatever... they just are too crashy when you're beginning with something like this... I used someones 2 class modules found on this site... I forgot the author of it. if anyone knows it, let me kow. Credit where credit is due :) Anyway, enjoy!
CallByName can be used to call poperties/methods by their name (string). This article will learn you how to correctly use the "CallByName" function, using two example programs. It will show how you can Get and Let properties, and how to call methods. Great for scripting languages!
Complete rebuild of my previous port of the C++ raytracer. This supports: Spheres, Triangles, Planes, Cylinders. Also supports shadows(!), reflections(!!), and multiple _colored_ light sources. Hence why it is so slow. You can now turn on/off options, so you can see everything nicely. Note that you MUST compile to get a bit decent framerate. With triangle support, it's in theory possible to load 3D models and raytrace them. I might optimize the code later (it's become a bit messy), but it really depends on your votes. Note that the rendered scene might look a bit chaotic. This is more because of the large "gaps" between every frame. Note that Raytracers are known for their slowness. That's why there aren't (m)any real-time raytraced programs yet.
This tutorial will learn you how to combine HTML Help with VB, so your applications can easily have functions like "Whats this help" and "context sensitive help". This tutorial is fully illustrated, (17 images), everything done nicely step by step. VB6 is REQUIRED. This will not work with older versions.
The code of DX Anywere retrieves the handle of the window/scrollbar/toolbar/textbox/clock/start button whatever under the mouse cursor. Now, with this handle you can start DirectX in that window/scrollbar/toolbar/textbox/clock/start button/whatever The DirectX window is automatically resized to match the required with and height. Really great code, to make an 'DirectX Accelerated Desktop"
This article shows various speed increasing methods, I've done tests myself, you can see the performance difference in a graph and in a table. This article is really worth your time. For example, it shows how one simple "\" instead of "/" will speed up your app with more than 400% percent!
Updated by Bill Soo... instead of 25 fps, it runs at 60 fps now! Which is an astonishing framerate for VB Again some pretty unique code from me. This program is a _realtime_ raytracer (not raycaster!). I ported it from C++ to VB, and it still runs pretty fast. It also shows you how to use SetDibbits to change all the bits in a picturebox with just one call. You can zoom in and out, add more spheres by changing a few variables/constants in the code. Light-positions can be set by the scroll bars and changes will be visible directly! Note: Please compile this program, or you will receive ~1-2 FPS from the IDE. I would appreciate some votes, people, so that I can still think my (unique) work is appreciated =-) Update: I've moved some math functions inline, and improved the code wherever it was possible. 10fps more now! Do not forget to compile the program though... Original source is also included. I'd really appreciate if you vote for this code guys.
Show how you can create your own console, and give it some purpose
Very unique code. This is the only Webserver on the internet that uses the Winsock api (and where the source code is downloadable!) I needed a simple webserver without the Winsock OCX for my game's server, for some easy remote-admin. That's why this code also has the Basic Authenticationscheme implented. The code is a bit messy, but it's been tough to get it working anyways. I hope you people enjoy this code and that you may learn something from it (That's why I put it online :) -Supports images -Checks if pages exists (does not return 404 though) -Has Basic Authentication functionality (run it and you'll see it) -Pretty secure I believe ("/../" won't work) -Accepts multiple connections! One drawback: The events are based on two command buttons. Yes, I'm sorry. but I just don't like AddressOfs, hooks, callbacks and whatever... they just are too crashy when you're beginning with something like this... I used someones 2 class modules found on this site... I forgot the author of it. if anyone knows it, let me kow. Credit where credit is due :) Anyway, enjoy!
CallByName can be used to call poperties/methods by their name (string). This article will learn you how to correctly use the "CallByName" function, using two example programs. It will show how you can Get and Let properties, and how to call methods. Great for scripting languages!
Complete rebuild of my previous port of the C++ raytracer. This supports: Spheres, Triangles, Planes, Cylinders. Also supports shadows(!), reflections(!!), and multiple _colored_ light sources. Hence why it is so slow. You can now turn on/off options, so you can see everything nicely. Note that you MUST compile to get a bit decent framerate. With triangle support, it's in theory possible to load 3D models and raytrace them. I might optimize the code later (it's become a bit messy), but it really depends on your votes. Note that the rendered scene might look a bit chaotic. This is more because of the large "gaps" between every frame. Note that Raytracers are known for their slowness. That's why there aren't (m)any real-time raytraced programs yet.
This tutorial will learn you how to combine HTML Help with VB, so your applications can easily have functions like "Whats this help" and "context sensitive help". This tutorial is fully illustrated, (17 images), everything done nicely step by step. VB6 is REQUIRED. This will not work with older versions.
The code of DX Anywere retrieves the handle of the window/scrollbar/toolbar/textbox/clock/start button whatever under the mouse cursor. Now, with this handle you can start DirectX in that window/scrollbar/toolbar/textbox/clock/start button/whatever The DirectX window is automatically resized to match the required with and height. Really great code, to make an 'DirectX Accelerated Desktop"
This article shows various speed increasing methods, I've done tests myself, you can see the performance difference in a graph and in a table. This article is really worth your time. For example, it shows how one simple "\" instead of "/" will speed up your app with more than 400% percent!