вторник, 1 января 2013 г.

Parallax Mapping with Stage3D

Hello and Happy New Year!!! Today I'm just put here my last experiment with AGAL - parallax mapping demo. Be sure that you have 11.6 beta player!


Use mouse to rotate object. Arrows to move light source. Slider to change mesostructure depth.

This is just test to ensure that it possible to do with AGAL. There're some visual bugs and shadow bugs. May be I'll fix that someday. Also I used normal mapping.

All I can say about writing shader code is... it's awful. Assembler is unmaintainable and ugly. And it will be really hard to someone to explore code. This is the reason I don't want to spend hours debugging this mess of opcodes. This is sad (.

 

Update: with official release of flash player 11.6 there's still no features required to run demo. Still works om flash player 11.6 beta.

4 комментария:

  1. Doesn't work. "Bad AGAL version for fragment program"
    Chrome, Flash 11.5 r502, Win7

    ОтветитьУдалить
  2. As I mentioned in the begining of the post: "Be sure that you have 11.6 beta player!"

    ОтветитьУдалить
  3. Sorry =]

    I switched to "11.6 r602"
    Now it throws "Parameter profile must be one of the accepted values."

    ОтветитьУдалить
  4. Be sure that you selected appropriate player in chrome settings: chrome://plugins/. Installing new player manually doesn't mean that it become default in chrome.

    ОтветитьУдалить