Each pattern is associated with an image.
The mapping between pattern and image is found in
C:\ARToolkit\bin\data\vrml_data for simpleVRML.exe program
and C:\ARToolkit\bin\data\multi_vrml_data for the multiVRML.exe program.
For the simpleVRML.exe program, the patterns to be recognized and their associated models are specified in the Data/vrml_data file. In this file you will see a set of lines like this:
#pattern 1
VRML Wrl/bud_B.dat
Data/patt.hiro
80.0 0.0 0.0
In order to import your own model you will have to follow this pattern (Using your_file as example name):
1. Copy your_file.wrl into the Wrl directory
2. Make a your_file.dat file and associate it with your_file.wrl by typing Wrl/ your_file.wrl on the first line. (You may take a copy of one the existing .dat files and edit it to fit your wrl file). Place it in the Wrl directory.
3. Make a new marker (Se section 3.2) or use one that is not yet in use.
4. Edit the Data/vrml_data file by adding a new paragraph:
#pattern 3
VRML Wrl/ your_file.dat
Data/patt.sample1 -- Alternatively your new marker (See on How to make your own marker) 80.0
0.0 0.0
Start the simpleVRML.exe program. When the camera recognizes the pattern associated with your model, the model will be loaded and rendered.
The mapping between pattern and image is found in
C:\ARToolkit\bin\data\vrml_data for simpleVRML.exe program
and C:\ARToolkit\bin\data\multi_vrml_data for the multiVRML.exe program.
For the simpleVRML.exe program, the patterns to be recognized and their associated models are specified in the Data/vrml_data file. In this file you will see a set of lines like this:
#pattern 1
VRML Wrl/bud_B.dat
Data/patt.hiro
80.0 0.0 0.0
In order to import your own model you will have to follow this pattern (Using your_file as example name):
1. Copy your_file.wrl into the Wrl directory
2. Make a your_file.dat file and associate it with your_file.wrl by typing Wrl/ your_file.wrl on the first line. (You may take a copy of one the existing .dat files and edit it to fit your wrl file). Place it in the Wrl directory.
3. Make a new marker (Se section 3.2) or use one that is not yet in use.
4. Edit the Data/vrml_data file by adding a new paragraph:
#pattern 3
VRML Wrl/ your_file.dat
Data/patt.sample1 -- Alternatively your new marker (See on How to make your own marker) 80.0
0.0 0.0
Start the simpleVRML.exe program. When the camera recognizes the pattern associated with your model, the model will be loaded and rendered.







