Support - Forum aa
« Back to Support» New version 2.0.47
Posted on 01.04.2012 by Nehmad, Ariel
As always, same links or here.
There are a few important changes on this build, please take a quick look at the changelog.
The most important thing of this build are the new layer sorting algorithms and several core optimizations.
Sorting can be enabled per layer, that means you can sort specific layers separately in different ways.
This is very useful specially for objects with alpha that needs to be sorted before draw.
Included in this release there is a new short example (35) that shows how to use this new functionality and the scene.setLayerSortMode method.
Next to come is the new FLSL compiler, that will bring the engine to the next level in quality and performance!
This version has several internal changes, so, if something isn't working as expected, please let us know.
Enjoy!.
The most important thing of this build are the new layer sorting algorithms and several core optimizations.
Sorting can be enabled per layer, that means you can sort specific layers separately in different ways.
This is very useful specially for objects with alpha that needs to be sorted before draw.
Included in this release there is a new short example (35) that shows how to use this new functionality and the scene.setLayerSortMode method.
Next to come is the new FLSL compiler, that will bring the engine to the next level in quality and performance!
This version has several internal changes, so, if something isn't working as expected, please let us know.
Enjoy!.
Reply By Davey, Jon 01.04.2012
I'm getting an compiler error after I replaced 2.046 with 2.047
Exception fault: VerifyError: Error #1053: Illegal override of inView in flare.core.Light3D.
Exception fault: VerifyError: Error #1053: Illegal override of inView in flare.core.Light3D.
Reply By VM, Duc 01.04.2012
@Jon. delete lib/Flare3D_2046.swc and try again!
skinning and bone in new version very great!
skinning and bone in new version very great!
Reply By Davey, Jon 01.04.2012
Thanks Duc, I removed Flare3D_2046.swc from my libs folder completely and added Flare3D_2047.swc but I'm still getting the Override error.
Reply By Ressia, Jose Luis 01.04.2012
@Jon. Please verify that you are not referencing the old libray in the global settings in your IDE. What are you using to test? Flash PRO, Flash Develop, Builder?
Regards
Regards
Reply By Davey, Jon 01.04.2012
Thanks Jose, I use FDT but apparently I had too much time off this holiday because I completely forgot about about an asset SWF that gets imported into my main application that needed to be recompiled with the new Flare swc. Now that I have everything is great. Cheers!
Reply By Davey, Jon 01.04.2012
I'm running into some problems with MouseCollisions using 2.047. I'll paste the code below. It causes flash player to crash when calling the MouseCollision.test(x,y) method. I'm running OSX 10.6 with Flash Player 11.0.1.152
package {
import flare.core.Camera3D;
import flare.system.Input3D;
import flash.events.Event;
import flare.collisions.MouseCollision;
import flare.materials.filters.ColorFilter;
import flare.materials.Shader3D;
import flare.primitives.Plane;
import flare.basic.Scene3D;
import flash.display.MovieClip;
[SWF(frameRate = 60, width = 900, height = 650, backgroundColor = 0x000000)]
public class MouseCollisionTest extends MovieClip {
private var plane : Plane;
private var scene : Scene3D;
private var mouseTracker : MouseCollision;
public function MouseCollisionTest() {
scene = new Scene3D(this);
scene.camera = new Camera3D();
scene.camera.setPosition(200, 100, -200);
scene.camera.lookAt(0, 0, 0);
scene.antialias = 2;
var mat : Shader3D = new Shader3D("plane", [new ColorFilter(0xffffff)]);
mat.twoSided = true;
plane = new Plane("", 100, 100, 1, mat);
plane.parent = scene;
mouseTracker = new MouseCollision();
mouseTracker.addCollisionWith(plane);
scene.addEventListener(Scene3D.UPDATE_EVENT, updateEvent);
}
private function updateEvent(e : Event) : void {
mouseTracker.test(Input3D.mouseX, Input3D.mouseY);
if (mouseTracker.data.length > 0)
trace(mouseTracker.data[0]);
}
}
}
Reply By wei, daiwei 01.05.2012
I also encountered the problem that MouseCollision.test() call will cause the FlashPlayer crash. Even the example http://wiki.flare3d.com/index.php/Custom_Mouse_Collision cannot run normally.
Reply By Nehmad, Ariel 01.05.2012
Hi guys, I tried to reproduce the mouse issue here with no luck, but we did a quick fix on something we think that was causing the error.
The new version is already uploaded (2.0.47b), can you try it?
Please let us know!.
The new version is already uploaded (2.0.47b), can you try it?
Please let us know!.
Popular
- 1. Question of Alpha sorting system
- 2. Rndering issue on AIR Mobile build
- 3. Problems with bone position?
- 4. Is it possible to make a primitive...
- 5. Messed up textures in Flare 3d Studio
- 6. Moving "by hand" the corners of a Plane
- 7. Shapes, splines and knots
- 8. Diferencia entre Flare3D Studio y...
- 9. Transform between two states
- 10. ReferenceError: Error #1074
