• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Getting rid of AGAL limits

Community Beginner ,
Nov 14, 2013 Nov 14, 2013

Copy link to clipboard

Copied

Dear Adobe team,

I've written a lot of shader in AGAL.

Basically, this feature is great. I love it.

But, I have unhappiness in AGAL.

AGAL have a limit of number of opcodes.

In one shader, we can not have over 200 lines.

This is too short to write modern shader effects.

As my opinion, limit of 2048 lines is better.

You showed us in FP 11.6 beta.

Do you have any plans for this feature?

- -

ssao.png

(Attached image is my current SSAO result.)

For example,

as fragment shader, popular SSAO, we can have low num of kernel. Only 6-8.

In other frameworks, use 64-128 kernels in the shader.

I've devided my SSAO shader as multipass, but it does not lead to satisfactory results.

And I had to have more textures for each passes. That's not so good for performance too.

As vertex shader, we can't have GPU noise in 200 lines.

Like these:

http://www.clicktorelease.com/blog/vertex-displacement-noise-3d-webgl-glsl-three-js

http://machinesdontcare.wordpress.com/2009/06/25/3d-perlin-noise-sphere-vertex-shader-sourcecode/

Maybe we can run the noise function only once.

But in many case, we have to run the function a few more times for calculating vertex normals.

Views

4.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Sep 11, 2014 Sep 11, 2014

Stage3D Standard Profile, which we released a few months back introduces AGAL2 and significantly increases the limits available to pixel shaders.

Votes

Translate

Translate
Community Beginner ,
Nov 19, 2013 Nov 19, 2013

Copy link to clipboard

Copied

Today, I converted this GLSL noise2d function to AGAL.

https://github.com/ashima/webgl-noise/blob/master/src/noise2D.glsl#L19

This is a shortest 2d noise function.

And a length of converted AGAL code is 84 lines.

So, we can't have over 2 octaves in vertex shader.(with no normal calculation)

This limitation is too severe.

Of course, we can't run 3d noise function.

I know that you have to consider for security.

But I hope that you will get rid of this limitation.

Regards,

Goro

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 20, 2013 Nov 20, 2013

Copy link to clipboard

Copied

Thanks, I've passed your suggestion on to the product management team.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 22, 2013 Nov 22, 2013

Copy link to clipboard

Copied

Thanks, Jeromie.

I hope that the team consider for reborning of 11.6 beta...

(Attached image rendered with 11.6 beta.)

Cheers!

ssao116.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 23, 2013 Nov 23, 2013

Copy link to clipboard

Copied

Any way to get that old AIR SDK 3.6 beta with features that have been removed with newer releases? I could only find archive page for old non-beta versions but those features are only included in a beta one.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

@Varnius

I found it in my Download folder.

Try to seach it in yours. (Around Dec 2012.)

But you can request the features to Adobe by the bugbase.

https://bugbase.adobe.com/

If many people request same features, they start to consider about it.

We want to use the features as release version

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

You found it in your Downloads folder probably because you downloaded it in there year ago. I didn`t, though, so I`m trying to find where I could get it as it seems that Adobe don`t host it anymore. By the way, feature request for extended AGAL feature set is already in the bugbase.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

Thanks. I have not found the request.

That's nice

If it will come, that's very exciting.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

By the way, could you host a zip with AIR SDK 3.6 beta you are using somewhere for me to download (dropbox or mediafire would do)? Because after whole day of searching I couldn`t find it anywhere.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

Here you are.

https://www.dropbox.com/s/3np86m1e5e0w6at/fp11_6beta.zip

Honestly, this version is very interesting.

Have a fun!

Dear Adobe team,

If sharing this is a problem, tell me please.

I remove it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

Too bad I`m on Windows, not Mac. But still - thanks a lot.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 31, 2015 Jul 31, 2015

Copy link to clipboard

Copied

LATEST

Below article is updated. It might be helpful to you.

http://www.adobe.com/devnet/flashplayer/articles/what-is-agal.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 11, 2014 Sep 11, 2014

Copy link to clipboard

Copied

Stage3D Standard Profile, which we released a few months back introduces AGAL2 and significantly increases the limits available to pixel shaders.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines