Skip to main content

Questions tagged [stage3d]

Stage3D is an API in Adobe Flash which allows developers to create hardware accelerated graphics.

2 votes
1 answer
190 views

Memory allocation issue in Haxe using Enum as Map key type

I follow a 2D GPU library and saw an issue someone was having with memory allocation. An Array<Map> of enums is called every frame via setBlendMode, ultimately calling Haxe's Type.enumParameters ...
dinorider's user avatar
  • 191
1 vote
0 answers
57 views

Hiding / clearing Stage3D on iOS hides 2D screen content - how can I get it to render 2D again?

After using and then switching back from Stage3D, is there a way to require AIR on iOS to recognize that the 2D stage is not empty and start displaying 2D again? My team's app has run well on Android ...
s1972's user avatar
  • 59
1 vote
0 answers
66 views

How to use Matrix3D.appendTranslation()?

With stage 3d I set up a basic triangle, and I can use append rotation and append scale and everything works, but using append translation on the z axis, the triangle will dissapear with the ...
mellow m's user avatar
0 votes
1 answer
236 views

How to convert Vector to z rotation angle

Please help. My camera orientation on 3D max is: 90 -30 0 When I export to X3D file it will have this orientation: 0, 0, -1, -0.524 And I can easily convert this to the angle of the camera on ...
danielkotzer's user avatar
0 votes
0 answers
72 views

Inverting texture color with AGAL

I've been using the Genome2D library and wanted to create a filter that inverts all color. After reading Adobe documentation, I can't seem to figure out what's going on with the alpha channel since ....
dinorider's user avatar
  • 191
0 votes
1 answer
1k views

Formula to convert Local coordinates to world coordinates

Can someone give me the formula? I have a vector3d which represents the position of a vertex in local coordinates, I have a Matrix3d that represents the rotation and position of the object which this ...
danielkotzer's user avatar
-1 votes
1 answer
209 views

AS3 Rotate 3D object around point in space

I use appendRotation(_Y, Vector3D.Y_AXIS); to rotate an object around its center. works fine. when I want the object to rotate around the center of scene, I use prependRotation( _Y, Vector3D....
danielkotzer's user avatar
0 votes
1 answer
268 views

function that detects if a ray is intersecting an object

I have a function that detects if a ray is intersecting an object, but it works with a radius around the center of the object, I want it to work with a bounding box, I want to give it 2 Vector3D of ...
danielkotzer's user avatar
0 votes
1 answer
68 views

Adobe AIR mobile applications unit testing integration tests test automations

We are developing mobile games based on Adobe AIR and stage3D technology. Is there any possibility to do unit tests, integrations tests, UI testing in such applications? Are there any continues ...
Daa's user avatar
  • 31
3 votes
1 answer
105 views

AGAL seq opcode works on hardware, but doesn't on software emulation (float number comparison is different on both?)

From docs: seq set-if-equal destination = source1 == source2 ? 1 : 0, component-wise I haven't yet tested it thoroughly, but so far my fragment shader worked on both machines (desktop pcs), where ...
Markus von Broady's user avatar
1 vote
1 answer
48 views

Stage3D iOS Antialiasing on AIR 24

With AIR 24 release we are able to set anti aliasing on Stage3D now, but there are some issues with it. Can anybody help how to use it in right way without changing entire project code ? The issue I ...
superbabicka's user avatar
0 votes
1 answer
18 views

How can I change the normals of my model so it will look less rounded

My AGAL code for creating the normals is this: "nrm ft1.xyz, v1.xyz\n" + // renormalize normal "dp3 ft1, fc2.xyz, ft1.xyz \n" + // directional light contribution but I get a very rounded ...
Shai Quantz's user avatar
0 votes
2 answers
92 views

Stage3D Error #3632: AGAL linkage: Varying 1 is read in the fragment shader but not written to by the vertex shader

I am a beginner in AGAL, I'm sure this is not complicated. I have a vertex and fragment shader, for simply drawing a box with a texture without light effect, here is the code: ...
Shai Quantz's user avatar
0 votes
1 answer
159 views

Stage3DProxy in a Worker

I'm attempting to put an Away3d in a worker to separate the 3D and the UI and reduce performance lag on mobile. As soon as the Away3D attempts to get a free proxy stage3DProxy = stage3DManager....
beek's user avatar
  • 3,690
0 votes
0 answers
466 views

Away3d - Error #3691: Resource limit for this resource type exceeded

I'm stuck on an error that I can't make go away. I'm using Away3d with a skybox as a panorama player, after changing the skybox texture a few times I sometimes get this error. I'm not sure if it's ...
beek's user avatar
  • 3,690

15 30 50 per page
1
2 3 4 5
13