Sie sind auf Seite 1von 6

DVD-Lab Pro

Using the Condition Splitter


Lesson #1
Page 1 of 6

DVD-Lab Pro (DLP) has a built-in object type called a condition splitter. It will allow
the DVD author to check the contents of a GPMR register and perform a certain action
based on a comparison.

To demonstrate this object, this lesson will create a simple single VTS with three menus.
Two of the menus will be called parent1 (P1) and parent2 (P2). The third menu will be
called child3 (C3).

Both P1 and P2 will link to C3. In C3, we will have a ‘back’ button for returning to the
calling menu. Using the condition splitter obect, we will be able to know which menu to
return to.

Step DLP Output


Create a single VTS with
three menus in DLP. Add a
condition splitter to the VTS

Turn on the object’s node


numbers display.
DVD-Lab Pro
Using the Condition Splitter
Lesson #1
Page 2 of 6

Step DLP Output


Create Parent/child network
as shown. The back button
in the Child3 menu is linked
to the condition splitter 1.

I created the links using the


button routing tool.

The red arrows show the


node numbers for parents
one and two.

P1 2
P2 6

Right click on child 3 and


select ‘Edit VM
Commands’.
DVD-Lab Pro
Using the Condition Splitter
Lesson #1
Page 3 of 6

Step DLP Output


Add this VM command and
save it (OK).

What you are doing is


saving the parents node
number (DLP uses
GPRM11 as the node
number) into GPRM0 for
safe keeping.

Double click on the


condition splitter and edit as
shown. Store down.

We are defining a
comparison to determine
which parent menu called
the child menu. We used
the inbound node number
of the parent (2 or 6) to set
the comparison.

Since we authored this


DVD we know only parent
1 or 2 could call this menu.
DVD-Lab Pro
Using the Condition Splitter
Lesson #1
Page 4 of 6

Step DLP Output


Additional links after
defining the splitter. These
were added by DLP.

Add a movie asset to


movie1. A title must exist
for you to compile your
project.
DVD-Lab Pro
Using the Condition Splitter
Lesson #1
Page 5 of 6

Step DLP Output


Compile your project to test
it. To save time you can use
DLP’s compile function of
inserting dummy movies
into all movie objects.
Saves time for testing your
navigation.

Try out your condition


splitter!

If you noticed, each object added in DLP will have an inbound and outbound
node number. In this example the inbound is #2. The outbound is #3. Both
use the same GPRM11 register.

In our example, we designed the splitter to use the inbound node and NOT the
outbound node. Why? The reason is this:
DLP will only use the outbound node number (3 in this case) if the menu times
out. In our design all of our menus are no timeouts. When a user pushes one of
the buttons DLP immediate navigates to the link defined by the DVD authorer.
The post VM commands in the menu are NEVER executed in DLP with a
button press.
DVD-Lab Pro
Using the Condition Splitter
Lesson #1
Page 6 of 6

Step DLP Output


The next question should be is why store down the value in the node number
(MOV …..) in the step above?

Well, if we didn’t do that G11 would be set to the inbound node # of the
condition splitter, something that we are not interested in.

I hope this brief lesson will show you the power within DLP. Take this lesson and
expand it. Instead of two menus, try it with three parent menus. How will the
network and comparison(s) change?

Das könnte Ihnen auch gefallen