Results for "Author: almar joling"
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.
This program will create like almost infinite worldmaps, at any dimension you wish. It will also return a planet (spherical map) if you wish. Note that the code is pretty fast This code is a port from an CGI version, the URL is included in the zip for the interested people. Note: I left all the variable names like they were in the CGI version, ditto for the comments, so the code isn't exactly in the right way.
This code is a configurable server query script *including map images!*. The screenshot is self-explaining. In the configuration file you can turn things like the input box, or playerlists, etc. on and off. A working example can be found on my site, right here: http://www.persistentrealities.com/utquery/ Please read the readme, so, for example you know which port to use for a server running on 8800. If you like it, please vote.
On my website I've got lots of tables. Normally updating the news just by editing the HTML/PHP file would be lots of work. That's why I normally used my ASP newsscript. But since my new provider does not have ASP, I've converted it to PHP. This script will read a textfile (no MySQL required!), and parse some command that define the subject,date, and the body. Makes your website far easier to maintain and to update. It's also possible to set a maximum of News items to show. For a working example, check my website: http://www.quadrantwars.com" Please note this is my first "venture" in PHP after all those years of ASP. If something could be better, please tell me. (also, don't forget to read the readme.txt)
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!
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"
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!
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!
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.
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.
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.
This program will create like almost infinite worldmaps, at any dimension you wish. It will also return a planet (spherical map) if you wish. Note that the code is pretty fast This code is a port from an CGI version, the URL is included in the zip for the interested people. Note: I left all the variable names like they were in the CGI version, ditto for the comments, so the code isn't exactly in the right way.
This code is a configurable server query script *including map images!*. The screenshot is self-explaining. In the configuration file you can turn things like the input box, or playerlists, etc. on and off. A working example can be found on my site, right here: http://www.persistentrealities.com/utquery/ Please read the readme, so, for example you know which port to use for a server running on 8800. If you like it, please vote.
On my website I've got lots of tables. Normally updating the news just by editing the HTML/PHP file would be lots of work. That's why I normally used my ASP newsscript. But since my new provider does not have ASP, I've converted it to PHP. This script will read a textfile (no MySQL required!), and parse some command that define the subject,date, and the body. Makes your website far easier to maintain and to update. It's also possible to set a maximum of News items to show. For a working example, check my website: http://www.quadrantwars.com" Please note this is my first "venture" in PHP after all those years of ASP. If something could be better, please tell me. (also, don't forget to read the readme.txt)
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!
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"
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!
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!