Questions tagged [stage3d]

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

198 questions
2
votes
3 answers

Stage3D iOS Antialiasing

Can someone confirm if it's possible to get anti-aliasing to work in a AIR for iOS project displaying stage3D content? I did not get it to work, neither the debug-simulator nor on the device anti-aliasing is performed. If it's possible, are there…
Mat
  • 3,819
  • 9
  • 41
  • 66
2
votes
1 answer

Is it to early to start using Stage3D?

I'm beginning to code a new app in AS3, and I'm hoping for mobile and desktop support. I've looked at several Stage3D frameworks such as Starling, and I understand that there are great performance benefits for mobile devices and desktops that…
Kevinatclutr
  • 86
  • 2
  • 8
1
vote
1 answer

Reading STL files in Flash

Has a library been released to read .STL files in AS3? It seems to be a common 3d file and i have yet to find any hope in outputting an .STL file in Stage3d.
tripskeet
  • 176
  • 1
  • 12
1
vote
1 answer

Any *normal* way to use direct rendermode for mobile application in Flash Builder 4.6?

I tried to make a mobile app (air 3.2) utilising Stage3D in Flash Builder 4.6, but whenever I tried to debug the application I got an error saying Stage3D is unavailable. I had to manually edit bin-debug/MyApp.xml and set…
DataGreed
  • 11,155
  • 8
  • 41
  • 60
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
2 answers

Can Matrices exist on vertex registers other than vertex constants in AGAL?

I've mostly seen examples where a Matrix3D object is passed as a vertex constant register in AS3 to the Context3D object. But never seen a matrix in any other types of registers (temporary or attribute). Would there be any way to copy a Matrix…
bigp
  • 3,913
  • 3
  • 27
  • 52
1
vote
2 answers

Stage3D and AIR 3

How does one get a project setup in Flash Builder 4 with Adobe AIR 3 that uses Stage3D? Whenever I add "-swf-version=13" to the compiler options, I get the following error: Process terminated unexpectedly. error while loading initial…
Sensei James
  • 2,345
  • 25
  • 33
1
vote
1 answer

When using Context3DVertexBufferFormat.BYTES_4, what is the value range of one field?

If I populate a vertex-buffer by using the byte-array method: //Example: var ba:ByteArray = new ByteArray(); //Write vertex #0: ba.writeFloat(-.5); ba.writeFloat(-.5); ba.writeUnsignedInt(0); ba.writeUnsignedInt(0); //Write vertex…
bigp
  • 3,913
  • 3
  • 27
  • 52
1
vote
3 answers

Can I use Adobe's "Stage3D" to improve the performance of my 2D applications and games?

I've been doing a little bit of reading about Stage3D, which will be a new API used with Flash Player 11. Will this API improve the performance of 2D rendering (Vector) in any way, or will the library be used primarily for rendering 3D? Any…
Marty
  • 37,476
  • 18
  • 87
  • 159
1
vote
1 answer

In an AGAL Vertex Shader, what is the 'w' component used for in the output shader?

I understand the 'xyz' components of a vertex's position, but what does 'w' do? Could it be left as the same constant value all the time? Example: mov op.xyz, va0.xyz mov op.w vc0.w
bigp
  • 3,913
  • 3
  • 27
  • 52
1
vote
1 answer

How to use VertexBuffer3D to manipulate objects in a hierarchical display structure?

To better explain what I'm trying to achieve, here's a simple example: Scenario 1: Within some 3D container object, I would like to add two Cubes: one without any transformation, and one with small position, rotation and scale adjustments. After…
bigp
  • 3,913
  • 3
  • 27
  • 52
1
vote
1 answer

How to toggle Stage3D between Fullscreen and Standard-screen mode?

I'm testing a few things with the ND2D library (made by NullDesign, engine's source available at github). What I've encountered, is that if I toggle my Flash application to Fullscreen mode, the World2D (or Stage3D / Context3D buried inside it)…
bigp
  • 3,913
  • 3
  • 27
  • 52
1
vote
1 answer

Can numbers be hardcoded in an AGAL operation?

If I try to simply add 1.0 to one color-channel of a register, can I: Write it directly with some float-number syntax I'm not aware of, or... Do I have to pass in the number to a constant first, and use that constant register there? Example of…
bigp
  • 3,913
  • 3
  • 27
  • 52
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
  • 3,527
  • 10
  • 36
  • 47
1
vote
1 answer

Adobe Flex & Stage3D

A few weeks ago I started with Adobe Flex and RIAs. After reading a lot of tuts and articles about this amazing technology I discovered Stage3D. I searched for integration of Flex and Stage3D but it seems that this piece of technology is not very…
Kr0e
  • 2,009
  • 2
  • 21
  • 37
1 2
3
13 14