Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, juanex, Grant), 1,018 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
drawIt + question #177594
01/12/08 10:13
01/12/08 10:13
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hello there,
I started yesterday afternoon with a little project. A paint-programm in 3dgs.



the features till now are:
  • paint with smooth brush
  • set paint-transparence
  • set brushsize
  • set paint-color
  • preview window with paintcolor/alpha
  • brush painting is distance based
  • by painting the cursor shows brush-size by a cycle
  • create a new image
  • save image
  • works in a great speed (no lags)


There are a lot of features planned for it(as open images,zoom,a color picker,customizable brushes,filters,undo/redo funktion, maybe a funktion alá instantDraw), but I don't know how long i am interested in that project so we'll see what is really implemented.

And as i wrote in the title I also have a question to all of you.
To xmas i got a great..great drawpad and it also works pretty good with my program. But the point is that it is touch sensitive and it can detect if you use the pen or the "rubber" from it. Is there
a) a way to get this values in gamestudio(a bit unlikely...) or
b) someone who would be so kind and write a small plugin 4 me?

Re: drawIt + question [Re: Scorpion] #177595
01/12/08 12:53
01/12/08 12:53
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
it's a wacom setting, every tablet has a different set of keys, for example i cant use a intuos pan on a graphire tablet, so a simple DLL, to make it compatible with everything will need to contain EVERY tablet's instructions, thus making it kind of complex...

anyway, great job on the program, might i ask, what's the resolution your drawing to, and how does the drawing handle? i mean, what functions are used to do this ?

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: drawIt + question [Re: Helghast] #177596
01/12/08 13:42
01/12/08 13:42
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
every resolution you want, but standart i just create a bmap in screensize. for painting i use all in all just the pixel_ functions.
I would like to share this programms exe but something is wrong with my publishing. If i start the published exe it give me an D3D error

whether here i found a faq to wacom tablets...i'll see what i can do with it:
http://www.wacomeng.com/devsupport/ibmpc/wacomwindevfaq.html

edit: ok, i see there is something called wintab and there is also sdk to download..

Last edited by Scorpion; 01/12/08 13:50.
Re: drawIt + question [Re: Scorpion] #177597
01/12/08 15:56
01/12/08 15:56
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Looks pretty nice, can't wait to play around with the colours
Btw, I guess your intention is to keep this quite simple like MSPaint which include most of the features you summed or are you trying to implant some options like normalmaps, heightmaps, layers and so on ?? Would be nice though
About your question, I'm afraid I can't help you out on that one.

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: drawIt + question [Re: frazzle] #177598
01/12/08 16:02
01/12/08 16:02
Joined: Apr 2007
Posts: 582
Germany
Poison Offline
User
Poison  Offline
User

Joined: Apr 2007
Posts: 582
Germany
Really AWESOME WORK!!
It looks awesome, this yould be one of the best tools in Gamestudio.
Can´t wait ... want to see more..

Cheers

Toni


Everything is possible, just Do it!
Re: drawIt + question [Re: Poison] #177599
01/12/08 16:22
01/12/08 16:22
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
@frazzle
you can play around with it as soon I can publish it (without mysterious errors).
I think layers are senseful for such a tool and not a big deal 2 do. Ofc I try to keep it simple, but I am frightened that it won't...
Because of the normalmap and hightmap: I will offer a folder where you can add your filter(-file), a simple function that is called for every pixel.

@Posion
STRIKE! (ofc you will see more)

I got it to make a plugin for gs( the square function^^) and now I'm looking through the examples 2 find out how to use wintab (but it looks quiet simple...)

edit: it is _not_ simple...and the manual is horrible in my oppinion

Last edited by Scorpion; 01/12/08 18:05.
Re: drawIt + question [Re: Scorpion] #177600
01/12/08 18:56
01/12/08 18:56
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
great tool, although i doubt you could make a paint program better than paint.net very interesting though


- aka Manslayer101
Re: drawIt + question [Re: mpdeveloper_B] #177601
01/12/08 19:14
01/12/08 19:14
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
Interesting stuff, i wanted to create something similar long ago Keep it up!

Re: drawIt + question [Re: Shadow969] #177602
01/12/08 23:10
01/12/08 23:10
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
@mpdeveloper_B
There is no intention 2 b better then something. only because it's in a window it got some deficits already. Whatever I am doing that just4fun.

And here is the interface for the color-picker:

(I will delete the r/g/b sliders from the toolbox then)

Re: drawIt + question [Re: Scorpion] #177603
01/18/08 14:58
01/18/08 14:58
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline OP
Serious User
Scorpion  Offline OP
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
Finally! I got the new beta...and now the publishing works property.
So as announced, here is a demo.

Download

Keys:

mouse_left: Paint
mouse_wheel: change brushsize
N: New Image
S: Save Image

PS: I worked already on some other functions but they are not the way i would like to show you.

edit: I am so sorry, I swear that the save function worked before...with the new beta it writes confusing stripes!


Last edited by Scorpion; 01/18/08 15:02.
Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1