7 thoughts on “Shake Plugin for TweenMax

  1. Hi there, afraid I’m getting this error ‘Property shake not found on flash.display.Sprite and there is no default value.’ Looking into your code I see you are trying to set properties such as: this.overwriteProps and this.propName, but in the class you extend (TweenPlugin) these exist as _overwriteProps and _propName. Just wondering how old your version of TweenMax is. Cheers, Andy.

  2. Great plugin, thanks for that!
    Just remember to activate the plugin using:
    TweenPlugin.activate([ShakeEffect]);

  3. Why can’t you just use the yoyo property combined with repeat property? U can achieve exactly that without need to write another plugin :)

    • I did this before. But I found it to be way less comfortable than using a plugin. And as I used this kind of motion very often, I wrote this plugin for it :)

Leave a Reply to Miran Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SwitchingColor Shader

Have you already seen the Nissan Juke webspecial? I came across this microsite on the Away3D showcase. Great artwork, neat programming. As I was playing a lot with shaders, I was immediately interested in the incredible shaderwork that was done here. Especially the “color switching” effect (when you click on a colored area of the car and select a new color), caught my attention. After some hours of tinkering I came up with a shader, which looks quite the same. Have a look! Just click on the block anywhere, to switch to a random color.

Continue reading

16 thoughts on “SwitchingColor Shader

  1. Hi, thanks for sharinh the awesome job. I am so impressed by this exellent shader programming.
    I have a few questions for this. Since I am a complete noob for shader, I am wondering that if there is a way to use a texture in this effect instead of color. Or may be we can use a mouse interaction with the vertex, something like dragging or changing the surface. I wil be glad that you would help
    me. I do want to learn much further in 3D programming.
    Best

  2. Hey Jason!

    Thanks :) I’m glad it is going to have some use.
    Of course it’s possible to use a texture. Instead of the color you could use a texture sample – do you have any examples?
    Interaction with the vertex could be done too, though most of the work must be done outside the shader, like getting the interaction vector from the mouse.
    What exactly are you looking for?

  3. Jonas, please do me a favour. I really need the same vertex effect within a texture filter. For example, there are a few bitmaps which are used for texture of a object. And I would like to change them in order to display each texture. The edges of each texture still blending with a color or the original texture pixels. Is it possible?
    Thanks in advance.

  4. Pingback: switching colour shader with alternativa3d 8 | David E Jones a web developer with a passion for problem solving

Leave a Reply to Miran Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Rim Shader V1

Recently I played a lot with the Flash 3D framework Flare3D, an awesome piece of work. Special with Flare3D is that they created an own shading language called FLSL, which has similarities with Adobes PixelBender pixelshader language. Thus making it easy to get into the language, if you are familiar with Pixelbender. I played with FLSL a lot and I will post here some of my FLSL shaders I wrote. First of all a simple fake rim shader.

Continue reading

4 thoughts on “Rim Shader V1

  1. Schön, aber könnte man es noch so machen, dass unten ein Glas ist, das man hin und her bewegen kann, um damit von oben herunterfallende Zutaten in der richtigen Kombination auffangen kann?

  2. I’m truly enjoying the design and layout of your site. It’s
    a very easy on the eyes which makes it much more pleasant for me
    to come here and visit more often. Did you hire out a developer
    to create your theme? Exceptional work!

    • Thank you, but it’s just a basic WordPress Theme, which I slightly configured, thats all! So this should go out to the original designer of the WordPress Team ;)

Leave a Reply to Miran Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Pattern Generator

Some time ago I tried to write a generator for random colorful textures for a 3D project. I was inspired by pictures from a video installation seen on TheCoolHunter.

For the original cause the code proved to be useless, though I thought the result to be quite appealing. But judge yourself!

Continue reading

Leave a Reply to Miran Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Hello Internet!

Happy new year all together!

New year, new objectives, new opportunities and – last but not least – new projects! After ending my commitment with Heye Digital Lab (the digital department of Heye & Partner) and working more freelance, I decided to finally start some blogging. Conveys a good network, some say. ;) From time to time I want to present to you some of my code fragments, libraries und projects I have been working on in the past, bringing them to use eventually.

Happy coding!

private function test():void
{
   trace("It works!"); // 10
   test(); //20 goto 10
}

Leave a Reply to Miran Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>