Viewlang is a 3d visualization web framework based on Qmlweb. It targets to WebGL for rendering.
http://viewlang.ru/code/c.html
http://viewlang.ru/code/scene.html
Step 1. Run as administrator
code/setup_vl_assoc.cmd
This will associate *.vl files with Chrome browser. Your chrome.exe
should be in PATH
.
Step 2. Configure your Chrome shortcut by adding command line flag --allow-file-access-from-files
.
Then restart chrome (if it was running).
After setup, you may run viewlang *.vl files by hitting Enter.
Sorry no instructions at the moment. Some ideas:
- Try to reproduce windows setup.
- Run local static webserver and open ./code/scene.html there.
Located in ./examples
Create file somename.vl
with scene content, for example:
Scene {
Points {
positions: [0,0,0, 1,1,1, 2,2,2 ]
}
}
and run that file by hitting enter key.
- Errors are written to developers console of the browser, Ctrl+Shift+J.
- If you changed scene file - then reload page in browser.
(с) 2015-2016 Pavel Vasev