Questions tagged [molehill]

Molehill is the code name of Adobe Flash Player 11 3D drawing API.

Molehill is the code name of Adobe Flash Player 11 3D drawing API. It is created to enable hardware accelerated rendering in Flash applications.

28 questions
9
votes
1 answer

How do you combine X, Y, and Z rotations in a model's local space (not global)?

I am starting out on Molehill and am having a lot of problems grasping Matrix3D. My first problem is how to manage a Matrix3D that describes a single model's orientation. I use Matrix3D.appendRotation() to do this. But depending on the order I…
3
votes
2 answers

AGALMiniAssembler is missing

For some reason, after installing and configuring (I think) everything, the com.adobe.utils.AGALMiniAssembler is missing, everything else is ok. I think I did everything in order to get Incubator working properly, but obviously I missed a step. If u…
Artemix
  • 8,497
  • 14
  • 48
  • 75
3
votes
1 answer

Molehill Shader

I'm trying to understand molehill and would like to multiple a vertex by two matrices, say: output = theVertex * scaleMatrix * rotationMatrix Im guessing my vertex shader would look something like: "m44 vt0, va0, vc0\n" + "mul op, vt0, vc1\n"; And…
user346443
  • 4,672
  • 15
  • 57
  • 80
2
votes
1 answer

What's the low-level code required to render a texture (BitmapData) to a Stage3D in 2D space?

I've looked at the following website for some information on writing AGAL to render Textures / Bitmaps to the Stage3D object: http://iflash3d.com/shaders/my-name-is-agal-i-come-from-adobe-1/ But it seems to cover more about how to create objects in…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
2
votes
1 answer

Backface culling with Molehill

Using Flash 11 RC1 with the new Molehill API, I would like to enable backface culling. The beta documentation is pretty vague, but the example implies Molehill wants front-facing triangles to wind counter-clockwise, which is pretty normal. But when…
pjohansson
  • 17,796
  • 3
  • 17
  • 18
2
votes
2 answers

Problems with photoshop-like "lighten" fragment shader

I'm tagging this in OpenGL because I think it's relevant to that space (albeit a different naming). I'm trying to get photoshop-like blending to work in Flash 11 which uses OpenGL (ES2?). I'm having particular issues with lighten, which I believe…
ansiart
  • 2,563
  • 2
  • 23
  • 41
2
votes
1 answer

Getting started with Molehill, what api should I start learning?

I just read some basics about Molehill, and I understood that learning an API is essential to gain some speed in the development, so far seems like Away3D is the winner, but Flare3D has some potential too. I know that this is too soon to know, but,…
Artemix
  • 8,497
  • 14
  • 48
  • 75
2
votes
2 answers

Fast arithmetic using the flash 3d api?

Some computationally intensive software are now using the GPU to solve mathematical problems. Now that flash has GPU support, is it possible to use flash to crunch math problems? How would it be done. In other words, does flash expose sufficient low…
Anon21
  • 2,961
  • 6
  • 37
  • 46
2
votes
1 answer

AGAL: Calculating screen space position in fragment shader

Before I define my problem in more detail, I think I should begin by explaining how I've set everything up. Basically I have a simple plane mesh, defined as such (x, y, z, u, v): _vertices = Vector.([ -1, -1, 0, 0, 0, 1, -1, 0, 1,…
stalem
  • 219
  • 1
  • 13
1
vote
1 answer

How to define projection matrix in stage3d without using perspectiveFieldOfViewLH method

i did this tutorial: http://ltslashgt.com/2011/02/28/molehill-spinning-cube/ The interesting part is that he didn't use perspectiveFieldOfViewLH and instead he defined his own projection matrix. I'm new to the 3d programming, so after reading this…
1
vote
3 answers

Different code for different versions of Flash Player

I'm writing an universal graphics engine that will work on FP11 using molehill advantage and also works in FP10 using old software blitting. So, I'm woundering what is the best way to achive this? First I thought that if I will compile swf for FP11…
soulburner
  • 464
  • 1
  • 5
  • 10
1
vote
2 answers

Alternativa3D - Outlining 3D objects

I'm trying to make black-outlined objects using the Alternativa3D engine, I'm going for a cartoonish look. How can I do this?
James T
  • 3,292
  • 8
  • 40
  • 70
1
vote
1 answer

Getting started with stage3d in Flash CS5, and which framework to choose?

I have been off the stage 3d bandwagon and flash programming altogether this year, but I want to catch up on things and I need some tips. Here's what I know: FP11 features the low level GPU stage3d API, codenamed Molehill. There are a few frameworks…
Spectraljump
  • 4,189
  • 10
  • 40
  • 55
1
vote
1 answer

Cinema 4D .obj files do not import correctly

I have a parser written in ActionScript for importing .obj files. I then render them in Molehill, which is awesome. So far, I can import what I think are standard .obj files with vertices in the x, y, z order or the z, x, y order. However, any…
jpwrunyan
  • 530
  • 5
  • 22
1
vote
2 answers

Rendering a "sprite" in Away3D (molehill)

Turns out, that I need to be able to render something similar to sprites, but having all of the goodness from Molehill. Im new to Away3D and Molehill, and I was wondering how hard (if possible) would be to render a sprite (plain I guess) using…
Artemix
  • 8,497
  • 14
  • 48
  • 75
1
2