SketchFX Test
Community Forums/Showcase/SketchFX Test
| ||
Just a little test of some sketch fx. It's a pretty simple effect to do, just parent a textured quad to the camera and wiggle it. Just a little bit. http://www.zen25248.zen.co.uk/SketchFX.zip |
| ||
Hey, that's freaking cool! How'd you do that? I understand the phrase "parent a textured quad to the camera and wiggle it", but I have no idea how it would do that. |
| ||
You just need a greyscale texture that roughly looks like pencil sketching, you could even scan the real thing I suppose. You then texture the quad mesh with it and set it to blend mode 3 (add), fx mode 1 (fullbright) and entityorder it to draw it over everything. You then need to setup the lighting. Set ambient light to 0 and add a directional light parented to the camera, but rotated slightly. To wiggle the texture use PositionTexture texture,Rnd(1),Rnd(1) |
| ||
I agree, that is freakin cool :) |
| ||
That looks awesome! :D |
| ||
Inventive and very cool! |
| ||
Oh my... ...it's like an a-ha video. :/ oh no! Am I really that old. |
| ||
I get a MAV. |
| ||
Very nice :] |
| ||
I love it when someone does something really different like this -- very cool. |
| ||
Very nice. :) |
| ||
Really clever idea Alg - nice one :) |
| ||
Arrghh !!! Awesome !!! - the effect of the month - |
| ||
Yeah! Very nice. Can the lesser coders (well, me, I mean) get a little code snippet? :) M |
| ||
Excellent, besides very novel you managed to make the most perfect setting for such an effect, a childs sketchbook. That really makes it work. |
| ||
WOW awesome effect :D Almost like those sketch pixel shaders - maybe even better, without even using shaders. |
| ||
yeah like almoste like a interactive childrens book or a childrens adventure game can be made with this amazing FX |
| ||
Once again, an example of how DX7 technology can easily achieve effects people associate with pixel shaders if you just get a little creative. Between the negative light trick, Mustang's spherical environment effect, and this, Blitz users are building up quite a bag of graphical FX tricks. |
| ||
That is superb! But yes ModestyBCatt... Taaaaaaakeee ooooooonn meeeeeeee... |
| ||
Awesome! I love the way that looks. |
| ||
Cool effect! |
| ||
:( Memory Access Violation Maybe its because this vid card doesnt support it (its an onboard dell/intel vid card - rubbish in other words) A |
| ||
Those getting MAVs -- did you unarchive it first? Even though it's a single file, running direct from the zip might fail as I assume it extracts some media files first... (?) |
| ||
It's moleboxed so that may be why some people are having problems. I'll post the source after I've tidied it up a bit. |
| ||
very neat |
| ||
I see so many problems with molebox packed programs not working, I have no idea why people keep recommending molebox. |
| ||
I'm begining to think the same thing. OK here's the code. http://www.zen25248.zen.co.uk/SketchFX.zip |
| ||
This looks lovely. It's amazing the bunch of things that show up from this community :) Great effect Algo! Paolo. |
| ||
Beautiful! IPete2. |
| ||
cool. Tiny mod: line 112: ExtractAnimSeq p\mesh,1,50 |
| ||
Algo, Thanks for sharing the source - I haven't played with surfaces much so I'm sure to learn something from looking at it! M |
| ||
Very Nice! Looks like a shader :) |
| ||
You know, I never really thought about it before, but the initials of "Take On Me" are Tom.(I noticed the abbrev in the code) Hmmmm...Ok, so some things mean different things to different people. |
| ||
Very cool effect. Just out of curiosity...what's the license on that source code, should some of us feel like using it in a project? Cheers, Ragnar |
| ||
MAV :( |
| ||
John-Robin, I hope you're running the moleboxed exe, try running the code. Ragtag, sure you can use the code how you like. You can also make do a nice variation of this effect using one of the black outline methods, which I'm sure are on this forum somewhere. Anyone got any ideas on the type of game this could be used for? |
| ||
Amazing! And fast to! Even on my 8mb card. Keep up the awesome work! |
| ||
Well, obviously it would be good for some sort of children's game but I'm picturing an FPS ;) There are probably other rendering effects you could achieve doing this sort of process. Add in outlines, different textures (cross-hatch, stipple, that sort of thing), who knows. I think whatever game you made with it you'd want to keep simple geometry. I like your minimalist scene in the demo. M |
| ||
I did a quick test earlier with a more detailed model I made (1200 or so polys if I remember correctly), and that worked great too. I think you can use this effect with both simple and complex games. It would be very cool to use it for a game were drawing or sketching was somehow a part of the game, though I don't really have any idea for one. :-) Ragnar |
| ||
I tried this using one of Psionic's new soldier models and it looked great...like a colored pencil sketch. Any ideas how I could get that 'white-out' look to it though? I tried setting the model to full-bright but that just lightened all of the colors. Maybe increase the shininess of the model? I mean, basically you just want the color to go away in the highlighted areas, right? M |
| ||
Pretty cool results...I 'washed' the textures in Photoshop. Check the video... http://home.comcast.net/~mearrin69/linked/walk.avi 634k video |
| ||
That looks excellent. Yeah the less contrast in the textures the more natural it will look. |
| ||
These are the textures I used (hope Si won't mind - they're changed beyond recognition and reduced in size by 33%). | | I started out by trying to just remove the saturation and adjust the brightness/contrast until it was mostly white and black. Didn't work well so I adjusted the levels to make black a medium-dark grey. Nice, but just black and white. So, I overlaid the original color maps, desaturated them, and played with the layer blending options. It looks like you could achieve an awful lot of different styles with this technique - thanks for sharing Algo! M |
| ||
mearin, your link seems to be broken. |
| ||
really cool code algo. |
| ||
Mr. Picklesworth, Give it another go. I just tried it and it seems to be working. My ISP is sometimes unreliable (gasp...can you believe it?) M |
| ||
oh, cool. I still couldn't open the page directly, but I opened the url in windows media player and it worked fine. |
| ||
Anyone got the code for this effect - looks cool but none of the links are working. Cheers Stevie |
| ||
I assumed the thread was dead, I've temporarily put the link back up. |
| ||
that is awesome |
| ||
Very Nice - thanks |
| ||
Sorry to drag this thread back up again, but lost my version of the code. Anybody got it lying around that can email it to me? paul at twistedslug dot co dot uk Would be very much appreciated. |
| ||
Er....the link at the top of the page contains the full source matey, just grab it :) |
| ||
Just saw this in the newsletter... I cannot believe that I didn't see amazing code before. >Anyone got any ideas on the type of game this could be >used for? I think it would seriously rock if used to a limit in an FPS... Kind of like in the A-Ha video, where people cross from the real world into this sketchy cartoon world! Think of a few rooms with the music playing in the background and when you enter, you and everything else appear to be drawn... For it to work, you need to be able to combine it with regular 3D in a scene. Andy |
| ||
For it to work, you need to be able to combine it with regular 3D in a scene. I think if you check the source code you'll realize this isn't possible. It uses a filter that covers the entire screen, if I remember correctly. |
| ||
nice stuff adam |
| ||
I like this alot. It actually worked on my computer. You could be a kid who has stumbled upon a magic pencil and gets sucked into the paper and is in drawing land. All the drawings from his past are there and from all the books he has read. |
| ||
Very impressive :) |
| ||
most excellent. |