On all away3d-samples am getting:
away3d-samples 5.0.1 (think it is the most recent.
This is on W10 while doing : lime test flash
Every single one of them from basic, intermediate and advanced directories.
What version of Flash Player are you using?
Flash Player 11 : flashplayer_11_sa_debug.exe
Edit: Still have some old flash compiles that use away3d and work with it.
I believe we target Flash Player 17 by default, you can try
<app swf-version="11" />, and perhaps there are a couple features we are using that should be disabled for older SWF versions
Added to the .xml and it now runs. Thanks will try and find a newer flash player debug version.
On TerrainDemo am getting:
Could this be because of my old player version ?
Edit: This happens when I maximize the player window, if it starts at 1024x800 all is well and nothing is thrown.
Moment I Ctrl+F or maximize it throws.
Edit 2: This happens on a 4k monitor.
Edit 3: Got the Flash Player projector content debugger 27 and the .xml player 11 limitation isn’t needed anymore.
Though TerrainDemo does bork up still.
You can get the standalone debug flashplayer from here:
You’re assumption is correct by the way - it has to do with the resolution of your monitor.
Obviously the demo is resizing it’s textures in relation to the stage size, which exceeds the
texture size limit given by the chosen Stage3D profile. (2048x2048 in your case)
Here’s some more information:
Got Flash Player projector content debugger 27.
Couldn’t manage to change the profile to baselineExtended though. That would support 4096x4096 or so it says in the link you provided.
Edit: Though compiling to windows runs stellar with no texture problems.
It looks like Away3d doesn’t really support different profiles.
You could try this though:
-find this code (should be 604,605):
if (profile == "baseline")
-change it to this:
if (profile == "baseline")
I think it’s a parameter in
_ViewContextMenu.customItems = _sourceURL!="" ? [_menu0, _menu1]:[_menu0];
_ViewContextMenu.customItems = ;
contextMenu = _ViewContextMenu;
public function new(scene:Scene3D = null, camera:Camera3D = null, renderer:RendererBase = null, forceSoftware:Bool = false, profile:String = "baseline", contextIndex:Int=-1)
_profile = profile;
_scene = scene != null ? scene:new Scene3D();
_camera = camera!=null ? camera:new Camera3D();
_renderer = renderer!=null ? renderer:new DefaultRenderer();
_depthRenderer = new DepthRenderer();
_forceSoftware = forceSoftware;
_contextIndex = contextIndex;
Altered the parameter in View3D and it scales up now.
Thanks, running like a charm.
Edit 1 : it goes up to 400 fps, this thing is a monster. Thought it was capped to 60 but that’s probably just for flash.