Caue

Thanks for getting back on these. I am fine with rotating the scene, I don't really want to get side tracked with testing as3 versions till the projects finished and while the rotation thing is a biggy for the engine as it will put new users off as its very confusing, now that I have a simple workround changing it is not a priority.

The transparency issue maybe I missed a trick.....

I load a flash IDE movie into the same application domain, create a layout linkage movieclip from the lib. From the layout I get an instance ( which has linkage ) off layouts stage by name and that is used as my moviematerial. Inside this instance I have a movieclip with a transparent png without linkage, I did try scaling it but had issues with away3dlite getting correct sizes ( maybe need another layer of movies and some cacheAsBitmapData ). Interestingly MovieMaterial is supposed to have Sprite... I was unsure how that would work with animated MovieClip? But maybe for now I will just go with manually updating Material every frame, for blur/tint I have already been pre-calculating bitmapDatas on another project so its not really a problem, but on that project I need to work out optimum tint/blur levels so that transition is smooth but the image gallery does not take too long.. or just create the ones needed and have a rounding. blur/tint work still required on.. http://www.justinfront.net/clients/studyo54/studyo54mainPrev.swf ( click to fix positions, drag vert for fun ). Current project is more interesting than this one.

Your Channel class sounds interesting will look it over tomorrow... if need be I will just limit my door class to 'bottom' as that is all I currently am using, but seemed a shame.

Again many thanks

;j



I can send you source files if you want. The transparency maybe just my abuse of the c


On 18 Mar 2010, at 23:39, Cauê Waneck wrote:

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.

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.

Reply via email to