pouët.net

Polydraw
[nfo]
screenshot added by Tigrou on 2010-01-02 21:10:30
platform :
type :
release date : january 2010
  • rulez 33
  • is ok 7
  • sucks 0
popularity : 1%
 1%
  • rulez 0.82
  • cdcs 1
alltime top: #1751
added on the 2010-01-02 21:10:30 by Tigrou Tigrou

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter google+ pinterest tumblr

comments

see readme.txt for details
and enjoy
added on the 2010-01-02 21:11:33 by Tigrou Tigrou
Wow nice!
Can you make everything in the same window with frames and all? I'm not a fan of loose windows.
rulez added on the 2010-01-02 21:22:17 by xernobyl xernobyl
...oh and geometry shaders could also be nice! ;D
added on the 2010-01-02 21:25:21 by xernobyl xernobyl
kickass tool !!1
rulez added on the 2010-01-02 21:47:04 by panic panic
nice one
excellent tool!
rulez added on the 2010-01-02 22:45:26 by martin martin
fascinating stuff! I like the instant feedback behaviour.
rulez added on the 2010-01-02 23:16:21 by loaderror loaderror
love this !
rulez added on the 2010-01-02 23:37:45 by MsK` MsK`
Very cool, quick iteration on effects is always important!
rulez added on the 2010-01-03 00:30:08 by 71M 71M
Killer app.
And works under wine!
I'd definitely love to see this developed into fullfledged app with all the bells and whistles.
rulez added on the 2010-01-03 03:49:06 by snoutmate snoutmate
would be more fun with a c/c++ interpreter ;)
wow
rulez added on the 2010-01-03 08:48:15 by chenmy! chenmy!
rulez added on the 2010-01-03 09:29:28 by PENETRATOR PENETRATOR
amazing work Tigrou :).
rulez added on the 2010-01-03 09:45:06 by decipher decipher
question: if i want to pass time variable to the shader what am i supposed to do :o ?
added on the 2010-01-03 10:12:40 by panic panic
Really cool app, atleast for OpenGL n00bs like me :)
rulez added on the 2010-01-03 12:44:57 by Zplex Zplex
just tried it. crashes on my windows 7
@panic
I always use some triangle properties that are not rendered to do that
ex : call glcolor(t,0,0) then get the value back in the shader using gl_Color.r
You can also pass it using gltextcoord() or glnormal() if you dont want to disturb the color.
I know they are is better ways to pass custom parameters in opengl, but this is not implemented in the tool, maybe i will add it if i have time...
added on the 2010-01-03 14:15:52 by Tigrou Tigrou
i see, thank you for the tip really interesting tool to toy with it :D
added on the 2010-01-03 14:28:38 by panic panic
nice tool. thanks.
rulez added on the 2010-01-03 15:53:40 by Skate Skate
to all : I just added a global array of 16 floats to pass values between shaders and code more easily. this array dont need to be declared and is shared in all sections (code, shaders and sound). see clock2 to see how it works.
added on the 2010-01-03 16:44:51 by Tigrou Tigrou
thx for the update :D!!
added on the 2010-01-03 16:51:37 by panic panic
nice tool, really)))
rulez added on the 2010-01-03 19:32:22 by FoxLis FoxLis
Nice toy! BB Image
rulez added on the 2010-01-03 19:39:45 by ham ham
Crash, BSOD, Restart... under Vista Home Premium + ATi Radeon Mobility x1200.
Thanks for the upload though!
added on the 2010-01-03 22:47:57 by -SP- -SP-
Do you want my 4 or 6 lines of code to add a midi controller? :D
added on the 2010-01-03 22:51:49 by xernobyl xernobyl
Quote:
would be more fun with a c/c++ interpreter ;)

seconded - that said, going that route makes way for a serious re-evaluation of what the scope of this tool is

funny thing btw.
added on the 2010-01-03 23:05:09 by superplek superplek
xernobyl: well i am not the author of this tool But go for it \o/ the tool is alrdy kickass more enhance in it = more kickassness !!11
it is so fun to see the results of your code instantly !!
added on the 2010-01-04 05:18:37 by panic panic
rulez added on the 2010-01-04 05:25:17 by wullon wullon
plek, well i guess one could simply include a c/c++ compiler and generate a dll on each iteration. that would also make it suitable for building real intros etc.
just tried it again, crashes on my windows xp machine.
@Sir Dancelot + @sp.gmflc :
I tested it on both XP SP3 + 7900GTO (my main computer) and Windows 7 + 8800GM without problems. I dont know what cause reboot or crash but i'm pretty sure it cames from video drivers. I experienced this with my previous ATI card were some opengl calls cause reboot or freeze. Will be hard to find out whats the problem, you should give more info about your machine + os.
added on the 2010-01-04 14:35:08 by Tigrou Tigrou
why does it make my soundcard hum static noise when i change things in the default pixelshader?
added on the 2010-01-04 15:05:17 by Maali Maali
nice tool and nice samples
rulez added on the 2010-01-04 15:43:22 by src src


Code: float wheel = 0.0; float knob[130]; HMIDIIN hmidiin; (...) // init goes somewhere... midiInOpen(&hmidiin, 0, (DWORD_PTR)hwnd, 0, CALLBACK_WINDOW); midiInStart(hmidiin); (...) // this goes on the message loop case MM_MIM_DATA: BYTE channel = lParam & 0x0f; BYTE message = (lParam>>4) & 0x0f; BYTE byte1 = (BYTE)(lParam>>8); BYTE byte2 = (BYTE)(lParam>>16); if(message==0x0B) // MIDI CC knob[byte1] = 1.0f/127.0f * byte2; if(message==0x0C) // MIDI Program knob[128] = 1.0f/127.0f * byte1; if(message==0x0D) // Aftertouch knob[129] = 1.0f/127.0f * byte1; if(message==0x0E) wheel = (float)(byte2<<7|byte1)/8191.5f-1.0f; return 0;


That's about it I think.
added on the 2010-01-04 17:01:40 by xernobyl xernobyl
yes
rulez added on the 2010-01-04 18:26:24 by pera pera
tigrou, erhm. i'd say it would be easier if you turned on debug info or such :)
well you could recompile/check the source code which is included in the zip file.
added on the 2010-01-04 21:35:51 by panic panic
Tigrou: Haha, this reminds me of the beginnings of my scriptengine project. It started out (in 2oo1) as a demo-tool that recompiled the script when the window was alt-tabbed to the front (was quite handy to tweak fx and try out OGL code..) ! nowadays it's more like python/php or whatever :-)
rulez added on the 2010-01-05 01:06:52 by xyz xyz
Nice one. Now please do a HLSL version ;-)
rulez added on the 2010-01-06 09:59:56 by Hopper/SquoQuo Hopper/SquoQuo
love it!
rulezcdc added on the 2010-01-08 19:55:14 by Rubicante Rubicante
yum.
rulez added on the 2010-01-14 21:46:47 by iks iks
Don't understand.
added on the 2010-01-16 16:17:40 by Scooter Scooter
Excellent tool =)
I also get the soundcard static thing...with this prog running I get static through my soundcard when min/maximising windows.
rulez added on the 2010-01-21 20:21:36 by madeyes madeyes
useful as a start
rulez added on the 2010-01-24 22:48:21 by T$ T$
Quote:
plek, well i guess one could simply include a c/c++ compiler and generate a dll on each iteration. that would also make it suitable for building real intros etc.


im having a hard time figuring if you're either that stupid or just making a joke here :)
added on the 2010-01-24 22:49:59 by superplek superplek
Very interesting !
rulez added on the 2010-01-27 04:00:09 by jikoo jikoo
FYI.. I happened to check Ken Silverman's (author of the EVALDRAW mentioned in the readme.txt) page today and found that a new version got released a couple days ago. It runs on Windows now (I believe it used to be DOS only), has support for a new script, and has a decent internal windowing capability if you can figure out how to use it. For those who are interested in writing shaders, I guess the main drawback would be that it doesn't seem to support shaders.
added on the 2010-02-01 16:56:36 by bigcheese bigcheese
forgot my thumb.. I had some fun with this. (it could certainly use a few updates for the text editor, a better way to abort, etc.. but I should blame myself for being too lazy to fix it)
added on the 2010-02-01 16:58:00 by bigcheese bigcheese
apparently evaldraw has been a Windows app for a long time (or perhaps it always was). In any case, it's a lot better than the last time I tried it.
added on the 2010-02-01 17:16:43 by bigcheese bigcheese
thx for the info. new and faster compiler, structure support,... really huge update this time (there was no one since nearly 6 months...)
and yep, evaldraw doesnt support shaders or direct opengl/directx support, it was first created for texture generation and manipulating voxels, this is the reason i have decided to write polydraw.
Also, i have noticed most shaders I included as samples doesnt run on my intel GMA laptop, the reason being the intel shader compiler to be more strict than nvidia one (eg : some casts must be declared, constants have to be written with floating point and so). Thats certainly explain problems on ATI cards. I believe there was more or less a standard for shaders but it seems all brands interpret them as they want. (is there any official documentation about this ?)
If i have time i will try to fix these problems.
added on the 2010-02-01 18:12:07 by Tigrou Tigrou
err.. my thumb. I think I've got it this time..
rulez added on the 2010-02-02 05:52:57 by bigcheese bigcheese
Looking forward to try it...
rulez added on the 2010-08-05 21:39:00 by jack-3d jack-3d
That's not bad! Useful at least!
rulez added on the 2010-08-18 15:02:06 by closed closed
Someone should to a javascript version of this.
added on the 2011-03-24 19:43:03 by xernobyl xernobyl
.
rulez added on the 2011-06-02 16:13:59 by las las
To all : a new version of Polydraw have been released.

Ken Silverman, the creator of Eval script compiler, have decided to bring it back to life and to continue development. It's almost a new version right now and has nothing to do with previous version (some kind of "Polydraw 2.0").

From my side, I cleaned and fixed all of my old scripts, and made some new ones to take advantages of the latest features.

See POLYDRAW.TXT for more details.
added on the 2011-06-02 17:23:37 by Tigrou Tigrou
i <3 your tools =)
added on the 2011-06-02 17:31:05 by panic panic
could use 'simple' examples for noobs like me :)
rulez added on the 2011-08-31 03:15:03 by ileaardbei ileaardbei
Definitely, the best live editor :)
rulez added on the 2011-12-04 02:15:59 by kaoD kaoD
OMG!

First I tried myself some stuff on the the live editor, got something working.

But then, I tried the examples available, and the balls2k.pss just blew my balls away! This is awesome live-code-test-tools etc.

A very big thanks for creating and sharing something so awesome as this!
rulez added on the 2011-12-27 08:04:29 by deepr deepr
Bravo Tigrou and Ken!
rulez added on the 2013-02-28 21:08:47 by Pirx Pirx
Thanks! very fast & powerful!
rulez added on the 2013-07-31 13:49:11 by JaK JaK

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment