Hey Justin! 2010/3/18 Justin Lawerance Mills <[email protected]>
> Hi > > I have been using the away3dlite haxe version. I have not downloaded from > the svn today but I think I downloaded it in the last couple of weeks or so, > I will try updating, but is the latest haXe away3Dlite online the most > recent ver that devs have? > There is an update to the latest AS3 trunk in production. But it might take a couple of weeks to finish it, as currently I'm in the middle of adjusting the haXe version to be able to target js also. > > But my main problem was if you try to put a plane into one of the example > files - "Basic_InteractiveObjects.hx" with a picture in it you will notice > the image is always upside down! > > I have resorted to rotating the whole scene by 180 degrees ( or rotating > each plane in previous attempt ), I am not sure I would have found this in > any tutorial, and I am using latest haXe version from the svn maybe I need > to add a handle to the camera but seem as though its default should be > different. > Have you tested this with the latest as3 trunk? On the version haXe is tested against (and in sync with), the same behavior is present. As I said before, I'm working on the update. > > Transparency on MovieMaterial does not seem to work for me ( ? ) so I am > using BitmapMaterial, but I really am not keen on manually modifying the > bitmapDataFill every frame so would be nice to get to the bottom of this... > but as I have found in other engines - if you know how to hack with the > basic 3D classes you don't need the fancy ones. > That one is pretty odd. I am able to work with MovieMaterial transparency just fine. Are you sure isn't the file you are working with? I tried with the SignatureSwf, and it works just fine. > > I do have a haXe specific issue remaining in regard to my Door class which > is nearly right now ( swapped Object3D for ContainerObject3D and mesh... > although not ideal that Plane does not derive from ContainerObject3D ) and > Door is very useful for connecting planes together for popup or limbs, but I > will post that on the haXe list as I have a problem defining Dynamic setter > getter properties in a way I can tween. > Since haXe's getters and setters aren't native, you won't be able to tween those properties with any standard tweening class. I have adapted the haXe way to do tweening on the away3dlite.animators.bones.Channel class, you can see how it's done there. Actually, quite surprisely, there is a performance gain on doing the way it's done on the Channel class. Apparently native getters and setters are very costly. Anyway, what I do is actually check if "set_" + variable is a function (or even present). if it is, the property gets added to a Hash<Dynamic->Dynamic> collection of setters. > Cheers > > ;j > --Cauê To unsubscribe from this group, send email to away3d-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
