Virtual Reality Toolbox | ![]() ![]() |
Setting the Default Editor of Virtual Scenes
You can edit virtual scenes with a VRML authoring tool, such as V-Realm Builder, or with any text editor, as the VRML language is written in text files. You determine the editor that is used to edit your scene by using the vrsetpref
and vrgetpref
commands.
The following procedure demonstrates how to change your editor from V-Realm Builder to a text editor. It assumes that you are working on a PC platform:
The viewer and editor are installed. If the editor is not installed, see Installing VRML Editor (Windows).
a = DefaultFigurePosition: [5 25 400 320] DefaultPanelMode: 'halfbar' DefaultViewer: 'web' Editor: [1x60 char] HttpPort: 8123 TransportBuffer: 5 VrPort: 8124
The variable a
is a structure array. You need to index into it to determine the Editor
property.
This is the path to the V-Realm Builder executable file. V-Realm Builder is the current VRML editor.
![]() | VRML Editor (UNIX/Linux) | Removing Components | ![]() |