[Logo]
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
[Register] Register / 
[Login] Login 
MovieClipMaterial Bug?  XML
Forum Index » Alternativa3D 5
Author Message
JAC3085


Joined: 02/06/2008 19:35:57
Messages: 18
Offline

Hi All,

I've been using the new MovieClipMaterial texture in 5.6 and I've noticed that anytime I try to use it in any project on any surface, the movie clip imports squished and a white box fills the rest of the surface. I've tried to change it but I'm not sure exactly how to use the ClipRect or Matrix options. Any advice or is this an actual bug? I was using the typical bitmap draw method previously and it's great but interactive movie clips are preferable.

I'm using it like this now...



[Thumb - Original.jpg]
 Filename Original.jpg [Disk] Download
 Description
 Filesize 37 Kbytes
 Downloaded:  117 time(s)

[Thumb - 5-6Version.jpg]
 Filename 5-6Version.jpg [Disk] Download
 Description
 Filesize 28 Kbytes
 Downloaded:  107 time(s)

This message was edited 3 times. Last update was at 12/09/2009 01:49:37

mike


Joined: 01/06/2008 00:00:06
Messages: 786
Offline

Sorry for the late answer. It seems like there is a bug indeed. We'll fix it as soon as possible.
JAC3085


Joined: 02/06/2008 19:35:57
Messages: 18
Offline

It's good to know that I'm not crazy! I eagerly await a bug fix and thanks for getting back to me.
mike


Joined: 01/06/2008 00:00:06
Messages: 786
Offline

I don't know why I haven't mentioned it earlier, but there's a workaround for this issue. You can use it while the bug fix isn't out.
Note that it's important to specify width of the movie clip instead of height in the material's constructor. When the issue is fixed, you'll need to omit the matrix and replace width with height:
JAC3085


Joined: 02/06/2008 19:35:57
Messages: 18
Offline

Hi Mikhail,

I just tried the workaround you provided. Thanks for letting me know. But while the matrix does seem to stretch the clip visually to the correct dimensions, it leaves the interactivity in the same coordinates as before. So if I have a button on the bottom of the MovieClipMaterial clip, it appears in the right location but the listener is about 1/3 of the way up and is squished. I've attached a photo, the front of the box is mapped with the MovieClipMaterial texture...

Is there a workaround to this as well? If so, then you've saved the day!

[img]
[Thumb - MovieClipMaterial.jpg]
 Filename MovieClipMaterial.jpg [Disk] Download
 Description
 Filesize 40 Kbytes
 Downloaded:  117 time(s)

This message was edited 1 time. Last update was at 25/09/2009 20:45:22

mike


Joined: 01/06/2008 00:00:06
Messages: 786
Offline

Try to add scaling factor for the movie clip:
It seems like it does work.

This message was edited 1 time. Last update was at 29/09/2009 20:07:42

JAC3085


Joined: 02/06/2008 19:35:57
Messages: 18
Offline

Mikhail,
That totally works, I just tried it this morning.
Thank You!
 
Forum Index » Alternativa3D 5
Go to:   
Powered by JForum 2.1.8 © JForum Team