DPO Oscilloscope MFC C++
- KVRAF
- 2569 posts since 4 Sep, 2006 from 127.0.0.1
no problem..
mine is neither optimized, nor "final"
i continue to tweak the stuff
mine is neither optimized, nor "final"
i continue to tweak the stuff
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
-
- KVRer
- Topic Starter
- 9 posts since 3 Apr, 2012
Hello Anto,
It has been a while ago I played with my oscilloscope. I want to add your code to my program but I don't know how to use it. Can you point me in the right direction?
At this moment I have a bitmap in memory and a setpixel and getpixel routine. I use BitBlt to copy the bitmap to the screenDC.
I want to remove my line drawing algo (Wu Antialiasing) and use your piece of code instead.
How can I draw a line using your code?
Thanks in advance!
Best regards,
Erwin.
It has been a while ago I played with my oscilloscope. I want to add your code to my program but I don't know how to use it. Can you point me in the right direction?
At this moment I have a bitmap in memory and a setpixel and getpixel routine. I use BitBlt to copy the bitmap to the screenDC.
I want to remove my line drawing algo (Wu Antialiasing) and use your piece of code instead.
How can I draw a line using your code?
Thanks in advance!
Best regards,
Erwin.
- KVRAF
- 2569 posts since 4 Sep, 2006 from 127.0.0.1
hi
well, remember, my function is for drawing single "dots" not entire lines
so for each line you wanna draw - chop it up in smaller steps (use interpolation) and draw dots instead, using my function:
setPS_AA(vx3 v, FCLR c, const float size) <-
so the position is in the "v" struct (x and y, iirc the "z" isn't used)
the color is "c" and the size is 1.0 for a 1pixel dot (diameter)
well, remember, my function is for drawing single "dots" not entire lines
so for each line you wanna draw - chop it up in smaller steps (use interpolation) and draw dots instead, using my function:
setPS_AA(vx3 v, FCLR c, const float size) <-
so the position is in the "v" struct (x and y, iirc the "z" isn't used)
the color is "c" and the size is 1.0 for a 1pixel dot (diameter)
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
- KVRAF
- 2569 posts since 4 Sep, 2006 from 127.0.0.1
i've explained in this very thread
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
-
- KVRist
- 63 posts since 22 May, 2002
I was asking about creating the oscillator shown in the video and not the oscilloscope. I somehow don't like the sound of perfect square oscs.antto wrote:i've explained in this very thread
- KVRAF
- 2569 posts since 4 Sep, 2006 from 127.0.0.1
oh, the input signal, sorry
that's my x0xb0x's VCO
that's my x0xb0x's VCO
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
