Jump to content

Search the Community

Showing results for tags 'calculations'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 2 results

  1. Hello. Here's a small project of mine. Early last year, AndyG wrote OpenCL headers for AutoIt, so you could use GPGPU on OpenCL supported devices. Now, there's a problem. There is some kind of battle going on between OpenCL and CUDA, the latter being NVIDIA exclusive. All of those highly polished GPGPU APIs are highly complex and hard to use in a real script. My goal is to eliminate the hurdle of "well, I don't really want to use this bloated API for this small project" and make GPGPU (not only) in AutoIt very feasible, even for beginners. So I started working on MiniCL. The idea is simple: has to run on AMD, NIVIDIA and Intel GPUshas to be self-contained, no other libraries requiredas user-friendly as possible, seperate the user completely from any kind of graphics work MiniCL 0.03 (CURRENT) Please download the attached zip and open Testing.au3Change the constant in line 75, try every constantIf the output is correct (~25), note that constantUse GPU-Z to determine your exact GPU modelCopy the compatibility chart at the start of the script and put in your GPU model and all working constantsYou should have something like this: ;---------------------------------------------------------------------------------------------------------------------------+ ; AMD Radeon(TM) R5 Graphics (Engineering Sample - WDDM v2.0) $GL_RGBA32F_ARB 32 bit 4 fpd | ; $GL_RGB32F_ARB 32 bit 3 fpd | ; $GL_INTENSITY32F_ARB 32 bit 1 fpd | ; $GL_RGBA16F_ARB 16 bit 4 fpd | ; $GL_RGB16F_ARB 16 bit 3 fpd | ; $GL_INTENSITY16F_ARB 16 bit 1 fpd | ; $GL_LUMINANCE_ALPHA16F_ARB 16 bit 1 fpd | ;---------------------------------------------------------------------------------------------------------------------------+ Please post it here in this thread. Don't do this if your GPU was already posted (some new AMD cards are just rebranded old cards...). Features: Compatible with all GPUsSelf-ContainedKernels are written in GLSL syntaxManipulates Arrays ByRef, no conversion has to be done by the userSmall, measuring 250kB ToDo (Features not yet implemented): Pass unlimited Input and Output structsautoconvert AutoIt ArraysPass multiple kernelPing-Pong support in a single MiniCL instanceAuto-Limit array size to the max the GPU can handleAdding debug optionswhatever will pop into my mad mind... Remarks Fancy graphs will be added later on. Downloads 0.03.zip
  2. Hello, I originally started writing these functions in autoit, because of how easy it was to debug my code (the algorithms are actually implemented in php, though the same functionality could be used without conversion by using aucgi). My original intended purpose for these functions was to allow my web server to calculate if a player was between two points(inside a "region") in a game(minecraft). Currently my functions can do the following: Calculate the absolute distance between two points Calculate the volume between two points(to the nearest whole number) Calculate all points between two points, including their volume(to the nearest whole numbers) Check is a point is between two points(to the nearest whole number) ‚Äč(Maybe more I haven't though of?) I then expanded on the code to add some additional functionality. This code could be used with little modification to create a voxel style game engine. (It could actually even be further modified to support decimal values, though this would significantly slow it's performance exponentially per decimal place, though this shouldn't be necessary, except in rare cases such precision collision detection[ex: detect if a bullet hit a player or npc]) I encourage everyone to submit your modifications/optimizations to my code so everyone can use them. I know my code isn't perfect, and it's functions could be expanded on with the right knowledge(things like collision detection, world generation, etc). If you use any of my code in your project, please link to this page! And while not required, I would like it if you please linked me to your project, I love to see my code in use! So finally here's the code(including examples of all functions being used): voxel.au3
  • Create New...