effective way to copy outlines from a drawing

effective way to copy outlines from a drawing

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

Post Reply
User avatar
Sleksa
Posts: 1604
Joined: 04 Feb 2006, 20:58

effective way to copy outlines from a drawing

Post by Sleksa »

Hello, I need a way to copy outlines from a drawing, such as a building's outlines from a structural map. Is there any way to do this in a effective way on ms paint?
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: effective way to copy outlines from a drawing

Post by Das Bruce »

Try some photo software that allows you to have layers?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: effective way to copy outlines from a drawing

Post by Forboding Angel »

If you don't wanna "acquire" PS, grab GIMP. It should be able to do this pretty easily.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: effective way to copy outlines from a drawing

Post by Silentwings »

And if you don't like using gimp, Paint.net can also use layers and probably has a plug-in for finding outlines.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: effective way to copy outlines from a drawing

Post by PicassoCT »

What exactly do you mean with outlines? Silouettes, contours?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: effective way to copy outlines from a drawing

Post by smoth »

Silentwings wrote:And if you don't like using gimp, Paint.net
but no brush feathering >:S
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: effective way to copy outlines from a drawing

Post by Silentwings »

Sadly not :(.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: effective way to copy outlines from a drawing

Post by knorke »

scan/photograph it, put as layer in inkscape and trace the outlines.
There is also automagic "convert bitmap to vector" function, maybe its good enough. inkscape is free and not that confusing.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: effective way to copy outlines from a drawing

Post by Beherith »

Filter->high pass
levels->normalize
threshold

Or use a sobel kernel.
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: effective way to copy outlines from a drawing

Post by KaiserJ »

fireworks : marquee to paths
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: effective way to copy outlines from a drawing

Post by zwzsg »

Lua it!

Code: Select all

local function FindOutline(map,level)
	local px,pz={},{}
	local zout
	for z=0,128 do
		if map:Get(0,level,z) then
			zout=true
		elseif zout then
			zout=z
			break
		end
	end
	local xo,yo,zo=0,level,zout
	local x,y,z=xo,yo,zo
	local dx,dz=1,0
	local it=0
	repeat
		it=it+1
		if it>9999 then
			error("Too many iterations!")
		end
		if not map:Get(x+dx,y,z+dz) then
			x,z=x+dx,z+dz
			px[1+#px],pz[1+#pz]=x,z
			if not map:Get(x+dz,y,z-dx) then
				dx,dz=dz,-dx
			end
		else
			dx,dz=-dz,dx
		end
	until x==xo and z==zo
	return px,pz
end
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: effective way to copy outlines from a drawing

Post by rattle »

pirate photoshop, paint the outlines on a new layer and be a happy pup
Post Reply

Return to “Off Topic Discussion”