The script cann't work?

harr999y

24-06-2010 10:02:53

Hi,Kreso,Thans your working about this plugin.It's very powerful~ :)

But today I get a strange problem that I cann't use the script just like:

material video_material1
{
technique
{
pass
{
cull_software none
cull_hardware none
lighting off
ambient 0 0 0
diffuse 1 1 1
texture_unit
{
texture_source ogg_video
{
filename a.ogg
precache 16
play_mode play
}
}

}
}
}

It shows black material,cann't play.And the Ogre.txt shows like:

.....
16:58:28: OgreVideo: Creating video from data source: a.ogg
16:58:28: OgreVideo: a.ogg: file duration is 32.520 seconds
.....
16:58:29: Mesh: Loading cube.mesh.
16:58:29: OgreVideo: Creating video from data source: a.ogg
16:58:29: OgreVideo: a.ogg: file duration is 32.520 seconds

----Next I close it.
16:58:30: DefaultWorkQueue('Root') shutting down on thread 002E3ED8.
16:58:30: DefaultWorkQueue('Root')::WorkerFunc - thread 002F7B08 stopped.
16:58:30: DefaultWorkQueue('Root')::WorkerFunc - thread 002F7AD8 stopped.

And I add the oggs into the resourcegroup,it's available.
So,I acctully don't know why it happens,can you help me?
Thanks ,Kreso. :)
Harry

Kreso

24-06-2010 10:21:59

yup, I mentioned this on several ocasions, script parsing is broken in the new plugin. create videos directly in code.

I'll try and fix the current issues but I'm always short on time :(

The current major isssues are:

1) Script parsing broken
2) Ogre 1.7 and 1.4 support (1.6 works fine)

harr999y

24-06-2010 12:06:01

yup, I mentioned this on several ocasions, script parsing is broken in the new plugin. create videos directly in code.

I'll try and fix the current issues but I'm always short on time :(

The current major isssues are:

1) Script parsing broken
2) Ogre 1.7 and 1.4 support (1.6 works fine)

Come on,man! And no hurry,wait for you return.~ :)
Thanks again for your work.
And in my application with Ogre 1.71,it runs OK.May it can be helpful for your work?

Kreso

24-06-2010 12:08:47

really? some users reported the plugin doesn't work on 1.7.x, I'll investigate :)