Jump to content

Ghost_ARCHER

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0

About Ghost_ARCHER

  • Birthday 01/01/1970
  1. replace the rgb (I think hsv's v is better) value with the minimum inside a 3*3 or 5*5 or 7*7 box. Run thru the image. Normal medium is used to get rid of spikes. I happened to see the effect of minimum looks like watercolor for me. it in fact do two things, reduces the number of colors in an area, and made the thin line wider, something like using a brush. Yeah, the median, the minimum and the maxium filters belong to the same group. The effect are all blurring. The median is logically more complex than a local minimum or maximum. I would guess an erosion or expansion of morpholog
  2. sorry for that, I forget to copy the tb link. and the thumbs look same to me. Next time I will use smaller images. What is that? Another control parameter is added to make the interface between water and sky more distinctive. strong effect is x-direction distortion, its power factor y-direction distortion is not significant. This is a game of mathematics !!
  3. I am studying .not now, that is the first reason. I like computer graphics, that is the second reason. I installed it on another computer, and wish sometimes later I will not need to pivate paintshop pro, therefore I support all good free paint programs (paint.net start slow on this one, therefore I use artweaver, as a comparison, some good freeware painter including: paint.net photobie.net --- not tried yet. paintstar artweaver deep paint -- large gimp photoplus Studioline -- large and the huge ms acrylic preview and graphic designer (not tried) pixia graphicgale photoclinic ph
  4. My water reflection effect. Implement with lua script on artweaver, not with .net code yet -- Honestly, I have not install paint.dot on this computer, and still have trouble to write the whole thing from loading to save. I have not apply distortion on y direction. Working on it now, but first want to see if it is necessary. Right now I got 10 control parameters, have not figure out which is more important yet, still need to try to get rid something not important. As I feel, it is one of the fastest filter in lua on artweaver, because it just has one loop thru. Effect with different paramt
  5. Wow! You makes it looks very pro. I am coming up with a new idea, a plugin to make gears -- in fact, it should be generally to be a multiple folded center point symmetric, with the target curve represents by bezier curve (therefore we are dealing with points in fact and finally connect them by bezier curve) --- need some restriction to prevent it looks stupid. BTW, I am sorry the vector operation is not flawless -- even it is fast to calculate a 3000 vertex star, the end can't be closed because of the round off error. Only cos and sin can survive. Dim n As Integer = 7 Dim
  6. For me, a simple minimum filter looks like a water color paint very much.
  7. A conceptional star: vb code illustrates Imports System.Drawing Imports System.Drawing.Drawing2D Imports System.Drawing.Imaging Imports System.Text 'option strict off Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose
  8. Yes, only if we drawing a polygon with over 1000 vertex, the difference might be seen, but the polygon will became a circle anyway:) OK, I figured out my Javascript is disabled for this site, but I still can't find out how to attach a file. Do I need a webspace? Following code is wat you posted before. I am not sure it is latest but I think the looping part is a little overlapped with each other, as I noted down in the code. I am not quite sure what you are trying to do in the loop from left to right, from top to bottom. using Polygones.Properties; ..... using System.Windows.Forms;
  9. Now here is a link on the rotation matrix http://mathworld.wolfram.com/RotationMatrix.html I am glad I have nothing wrongly explained. They express vector as a column vector and use right multiplication (matrix on left), I use row vector and left multiply the rotation matrix. Therefore the -sinx location is different. The idea lies in the fact that the new side can be acquired by rotating the last side. Moreover, it might be reasonable to draw the last side by connecting back to the first point. Otherwise, we might have an open at the end. One more idea to create the hollow star: use
  10. Hi, Madjik: I must agree that the idea lies in the polygon plugin is great. It might need no change if there is no more PII. My computer is not not PII, it runs opengl with no problem, but paint.net seems starting slow on it. Now because nearly every program is written in a way that requires more system resources, I really need a new computer for the tendency. To use the vector operation is just a suggestion. In most of 3D calculation, including optical ray tracing, vector operation is widely applied for the calculation efficiency. For your listed answers. 1. cos and sin might ret
  11. Hi, I am new here. I am also new to the .net programming, but I can read it. What I want to suggest are: for staris parameter, it need only start from 1 to (int)((double)n/2 - 0.5), because staris = k and staris = n-k is same thing. For the computation efficiency, I think using vector and rotation is a faster way than call cos and sin all the times. For example, center point o, first point A, then vector oA is the Radius*(cos(offset), sin(offset)) where offset is the rotation I think. Calculate the angle AoB by anglestep = 2*pi/n, then create the 2D rotation matrix. The oB can be calcul
×
×
  • Create New...