upscaling smaller stage to larger fullscreen viewport AIR/mobile

Software: Away3D 4.x

MacShrike, Newbie
Posted: 25 August 2015 08:13 PM   Total Posts: 12

Ls,

I’m a bit confused about this, so here is my question:

I’m trying to have away3d render a full stage to a very low resolution say 128x128 but then upscale it to the device’s full resolution.

Say; set the swf width/height 128/128. (now stage3d.width/height also 128x128? right?)

scalemode.NO_SCALE
Viewport.width = 1280 (or device.cap..phsx…)
Viewport.height = 960

The idea is to have a low res render that gets upscaled to fullscreen and thus get pixelated.

Is this possible with a view/stage setting and scalemode?
Or, if not, could I render small stage to texture and then, in say starling, scale texture to fullscreen display?

I’ve been trying the viewport size thing but I always get a smaller window than the screen or fullscreen but that, judging by the stats size, is still the max resolution.


Highest regards,

Mac

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X