Search:
Type: Posts; User: reexre
Search:
Search took 0.04 seconds; generated 10 minute(s) ago.
-
I did something similar in my PhotoModularFX program.
That is: Having the image coordinates and pixel values as input, the user can enter a Formula with these variables to get the final image.
This...
-
2024 QuadTree class on Github
https://github.com/miorsoft/VB6-OpenStreetMap/blob/master/cQuadTree.cls
-
OpenStreetMap
I dusted off an old program from more than a decade ago. (An that time the OSM data was really very poor...)
If I remember correctly it was published on PlanetSourceCode. I...
-
UPDATED
DOWNLOADS
- SoftPedia ZIP (may take some days to be updated)
- ZIP
Update 0.3.4686 (24-jan-2024)
[Modules]
- NEW: xPainter3: 3rd version of painter effect.
-
Thank you Olaf
Yes, I thought about that.
I would have preferred a "Dashes reset instruction" though.
-
A pure question about SetDashes
I need to frequently to switch drawing of lines with dashes and lines without dashes,
How do I reset the dashes to "no dashes" ?
I tried this
...
-
Thank you! I (should) have resolved extracting from here
-
hi, reading files works, but I need to append data to a file using
Open FN For Append As 1
( Where FN is the (unicode Aware) full path and file name string read with your functions)
However,...
-
I'm working on a new Painter effect for the program PhotoModularFX
Almost done, I'd say.
https://www.youtube.com/watch?v=o2-wODsmKo8
...
-
Thank You
Here a Video of the Pictures Above
https://www.youtube.com/watch?v=o2-wODsmKo8
-
hi
I'm working on 3rd version of Painter Effect [ xPainter3 ]
https://www.vbforums.com/images/ieimages/2024/01/4.jpg
Download 2016x1520
...
-
I present the class I have named cCairoBrush.
It is not entirely complete, in fact initially I had thought of not posting it in CodeBank, but then I changed my mind because it seemed good enough and...
-
Line Distance:
Px,Py Point
Ax,Ay,Bx,By, Line segment
Private Function LineDistance(ByVal pX#, ByVal pY#, ByVal AX#, ByVal AY#, ByVal BX#, ByVal BY#) As Double
Dim PAx#, PAy#
Dim...
-
It's all OK, :thumb:
So, this way, can I deploy the Dll in RegFree mode? or are there any expedients to be taken?
and.. by the way
Is there some tool to automate the editing of Private Declare...
-
@TheTrick
Thank you very much! I'll try by following your guide too.
-
I found this tool to create SxS-manifest
Using my test Dll with cGlobal (GlobamMultiuse) and delegates etc.
It creates MyDll.sxs.manifest
- Manifest is placed it in the DLL folder.
- To test...
-
Thanks for the replies.
Using a cGlobal class (GlobalMultiuse) and "delegating from within Public Methods of a Public Class directly to the matching Public Method of a *.bas-routine." might be...
-
Hi, having little familiarity with DLLs, I ask for help with the following:
My intent is to group together in a single Ax-DLL all the UDTs, Classes (and constants) that I normally use frequently.
...
-
Hi Olaf
yes, it was among my assumptions
Thank you for the clarification
I tested this new RndEx on my code above (Drawing Random texture 256x256) and no "patterns" are noticeable.
a...
-
I noticed that this "strange" behavior is very visible when we plot random values in 2D.
In contrast, if we plot the numbers as a 1D graph this behavior escapes eyes view.
Private Sub DrawDots()...
-
I assume that RndEx function is a random number generator (possibly to be used instead of Rnd)
I noticed, however, that the generated numbers make up "patterns".
I assume this is an unwanted bug. (...
-
Hi
I wanted to ask a somewhat "strange" and off-topic question.
In my opinion it's still interesting and I think surely some others (maybe not here) have asked the same question.
Starting with...
-
Optimized IK "inverse kinematics" solver for 2 segments.
Here is the optimized solution to solve the inverse kinematics problem for 2 segments.
Explanation of the algorithm by the original...
-
I missed the requirement of orthogonality with respect to the plane of the triangle :-/ (I had probably read too fast or implicitly not considered the usefulness of this aspect).
Just out of...
-
made some edits on my post and added Inigo Quilez way.
RAW TESTS:
https://www.youtube.com/watch?v=SUeLfP_kMJU
-
After initial research, I found something.
So far I have only converted two algorithms to VB6.
In order not to clog the thread I think I will Edit /Update this post in case of future developments,...
-
For completeness I also post the VecSlerpPrecise function (without approximation) [Also translated from the initial link].
Private Function VecSlerpPrecise(v1_In As VecType, v2_In As VecType, T...
-
This is the algorithm converted to VB6.
Notes:
1) To Normalize the Vector I do only one division instead of 3.(avoid divisions as much as possible, I never get tired of saying that)
2) EDIT: Added...
-
I found this algorithm that does not use trigonometry. (So I assume it is faster).
It is not exact but approximate, however the error is really very small. (It seems to me at most 0.0222 degrees)....
-
UPDATED
DOWNLOADS
- SoftPedia ZIP (may take some days to be updated)
- ZIP
Update 0.3.4350 (03-Jul-2023)
[Modules]
-
These days I reviewed the "Stippling2" Module. I improved and modified the algorithm by providing the option to create images formed by points with fixed radius. (previously not available, as the...
-
I started to use RC5/6 for the interface, then I also adopt other useful things it provides.
Most of the Modules routines are written in pure VB6.
I wonder why you can't use dll, however it's...
-
Thank you!
Yes, it is the one I mention here, it's made in VB6 with the help of RC6.
It's in my signature.
-
cNeighborRed = lNeighbor And &HFF&
cNeighborGreen = (lNeighbor And &HFF00&) \ 256
cNeighborBlue = (lNeighbor And &HFF0000) \ 65536
You do this (at worst) 8 times per pixel.
Each time you process...
-
Try to never use Sqr and division.
So replace /3 with * 0.333333333333333
Remove the Sqr and do compare with >lThreshold*lThreshold (or precalculated value)
SQR(A) > B <---> A > B * B
Do...
-
In my opinion this is not (entirely) true:
By eye, having swapped FOR cycles on some of my image processing procedures, I had the feeling that I got a speed increase even on those that were supposed...
-
I also tested with a fully optimized EXE.
I have also encountered occasional inconsistency.
One thing I noticed is that the speed gain also depends on the size of the array and its aspect ratio....
-
Thank you very much Elroy and Niya!
Great! so the conversion time to 1D arrays should be negligible and the final speed gain is about 200% respct X,Y traversal and 141% respect Y,X traversal.
...
-
@Niya
Speaking of pre-fetch and optimization:
I swapped the "FOR" loops in most of my routines that perform image processing (they are numerous) and noticed that the exe file size decreased.
The...
-
You know?, here I asked questions specific to my use.
And apparently I didn't get a comprehensive answer with example code regarding my second question.
You mentioned SafeArray, but I admittedly...
|
Click Here to Expand Forum to Full Width
|