Search:
Type: Posts; User: cyborg
Search:
Search took 0.28 seconds.
-
Here is a link to some code I wrote some time ago.
It enables you to draw Bezier curves with an unlimited amount of control points.
...
-
http://developers.slashdot.org/story/11/05/19/2338209/Confirmed-Microsoft-Says-It-Will-Open-Source-VB-6
Finally! :D
-
Wow!
That looks like a really good place to start! I love watching video tutorials!
Thanks a lot! :)
-
I just did, and have started playing around.
Looks like it's going to take quite some time before I get used to how it all works
-
Hi!
I've been programming classic VB since forever, but I was thinking about getting in to the whole new world of .NET...
I'd like to know how to get started..
What are the main differences...
-
Now you're talking! :)
It's very fast, but it still doesnt blur the same way my function does... Hmmm... Oh well. I think I'll add it anyway :) Thanks
-
But I was using the exact code you posted above and came up with the image in my previous post. It doesn't look like the distribution is even. Or did I miss something?
-
Here's a comparison.
It looks like the AlphaBlend code mainly blurs in the x-direction.
I would like both codes to do the same thing before I compare speeds.
-
My code blured an image in about 1.1secs while the AlphaBlend took 1.8secs (both compiled code).
However, they don't seem to blur in the same way...
My code samples color linearly from a 15x15 grid...
-
Thanks for the input. I had totally forgotten about the AlphaBlend API.
It's pretty fast, but it seems to be doing the same thing as the "BoxBlurScreen" function in my code (which is also pretty...
-
Hey there!
I've created a control that acts like a PictureBox but uses DMA to control the pixels instead, which greatly increases the speed. I've added a lot of functions to it like: Anti-Alias...
-
I think the problem is in these lines:
Dim X As Long
Dim Y As Long
X = CLng(100 / Transparency)
Y = CLng(100 / Transparency)
You are obviously calculating floating point...
-
First you will need to make a parser which reads the plain texts and makes sense out of it. For example: go line by line and add it as an event (define it however you like in the code). Then go word...
-
Look up BitBlt.
I'm sure there are tons of examples on how to use it.
-
Hi.
I recently started working on a bouncing ball project.
I'm not sure, but it might help if you have a look at it.
It's a work in progress, so the code might be a little messy...
Look in...
-
I got around the problem by running /SETUP/ACMSETUP.EXE instead.
I had to move around a couple of things to make the relative paths correct, and I also had to change the name of one file as well....
-
Then my problem might be due to SP1.
Or could it be something else? My windows installation is pretty clean...
-
I can't even run the installer.
First the "Program Compatibility Assistant" pops up saying that the program has known problems, but I click "Run Program" anyway.
When it's about to start...
-
Yeah...The Vista UI was nice to look at for like 2 seconds...
Mario for PC? Just kidding, right?
-
...So I bought a DX10 compatible gfx card and installed Vista... Now what?
Are there anything out there, that are available right now, that uses DX10? Games? Demos/showcase stuff?
-
Im always sending the keys to the same application (not my app), and it's probably always in focus.
Now that you mention it, SendMessage would probably be a good way to go. But I need to have the...
-
Works pretty nicely.
How about ALT+something...or Shift+something. Or Shift+mouseclick...
-
Hi!
I would like to know how to simulate a key press.
I've been searching for this and found alot of examples using the SetKeyboardState API, but none of them worked.
I managed to swith Caps...
-
You should probably do a pattern recognition program, or something like that... Not 3D.
Will the program look at and X-ray image or what?
-
Have a look at my tutorial on the subject.
It's in my signature.
-
Well... I just dont know where to start. I've been reading some about it, but I just don't understand how NNs work.
Btw, what work do you do at CERN?
-
Sounds intresting... I've always been curious about Neural Nets, but I've always been too confused when looking at tutorials I've found on the internet. I hope I can figure it out some day!
Any...
-
Hehe! Yeah, I really like there kinds of things!
I really want to learn how to do some pattern and object recognition (as that project is based on).
-
It's not 100% as you say, but it's very impressive!
-
Have you tried using DMA?
Here's a class module I made not so long ago. It's still a work in progress, but it can probably do what you are looking for pretty quick.
Some of the functions do...
-
Add a button.
Change its style to grahpical.
Load a picture on it.
-
Add this in the timer:
Dim i As Long
For i = shpBlocks.LBound To shpBlocks.UBound
If shpBlocks(i).Visible = True Then
If shpBall.Left <= shpBlocks(i).Left +...
-
You should only call the refresh function once each frame. Maybe you call it in between each blitting?
-
I'm no expert but I think that when using DIBs, you use an external array which you copy from the DIB using API.
Then you copy it to the place where the DIB is stored in the memory using API.
So...
-
1-bit images are monochrome. The pixels are either white or black. You could use a pallette if you'd like to use different colors than black/white.
-
Try using a loop.
Dim i As Long
For i = 0 To 100
'Do your stuff in here
Next
-
Yeah, that's a shame. If I could understand it better, I would add support for different bit-depths. That would also be good in photoshop-like programs, so the user can make 32/24/16/8/1-bit images....
-
Yeah, I forgot about that, thanks.
-
Yeah, of course, but this was just a simple example. It would be harder in large, more complex formulas.
-
Try this code. It shouldn't be a problem to run it since 128-129+1 = 0, but I get overflow error because at one point in the calculation, the sum is -1.
Is there an easy/fast way to go around this...
|
Click Here to Expand Forum to Full Width
|