mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-29 15:00:20 +02:00
Merge pull request #278 from kasenvr/fix/other-renamings
Docs + QML updates
This commit is contained in:
commit
1c1a24e89f
58 changed files with 149 additions and 118 deletions
44
BUILD.md
44
BUILD.md
|
@ -1,6 +1,6 @@
|
||||||
# General Build Information
|
# General Build Information
|
||||||
|
|
||||||
*Last Updated on December 21, 2019*
|
*Last Updated on May 17, 2020*
|
||||||
|
|
||||||
### OS Specific Build Guides
|
### OS Specific Build Guides
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ These dependencies need not be installed manually. They are automatically downlo
|
||||||
- [Bullet Physics Engine](https://github.com/bulletphysics/bullet3/releases): 2.83
|
- [Bullet Physics Engine](https://github.com/bulletphysics/bullet3/releases): 2.83
|
||||||
- [glm](https://glm.g-truc.net/0.9.8/index.html): 0.9.8
|
- [glm](https://glm.g-truc.net/0.9.8/index.html): 0.9.8
|
||||||
- [Oculus SDK](https://developer.oculus.com/downloads/): 1.11 (Win32) / 0.5 (Mac)
|
- [Oculus SDK](https://developer.oculus.com/downloads/): 1.11 (Win32) / 0.5 (Mac)
|
||||||
- [OpenVR](https://github.com/ValveSoftware/openvr): 1.0.6 (Win32 only)
|
- [OpenVR](https://github.com/ValveSoftware/openvr): 1.11.11 (Win32 only)
|
||||||
- [Polyvox](http://www.volumesoffun.com/): 0.2.1
|
- [Polyvox](http://www.volumesoffun.com/): 0.2.1
|
||||||
- [QuaZip](https://sourceforge.net/projects/quazip/files/quazip/): 0.7.3
|
- [QuaZip](https://sourceforge.net/projects/quazip/files/quazip/): 0.7.3
|
||||||
- [SDL2](https://www.libsdl.org/download-2.0.php): 2.0.3
|
- [SDL2](https://www.libsdl.org/download-2.0.php): 2.0.3
|
||||||
|
@ -38,7 +38,7 @@ These are not placed in your normal build tree when doing an out of source build
|
||||||
|
|
||||||
#### CMake
|
#### CMake
|
||||||
|
|
||||||
Athena uses CMake to generate build files and project files for your platform.
|
Vircadia uses CMake to generate build files and project files for your platform.
|
||||||
|
|
||||||
#### Qt
|
#### Qt
|
||||||
CMake will download Qt 5.12.3 using vcpkg.
|
CMake will download Qt 5.12.3 using vcpkg.
|
||||||
|
@ -51,9 +51,9 @@ This can either be entered directly into your shell session before you build or
|
||||||
export QT_CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.12.3/lib/cmake
|
export QT_CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.12.3/lib/cmake
|
||||||
export QT_CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake
|
export QT_CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake
|
||||||
|
|
||||||
#### Vcpkg
|
#### VCPKG
|
||||||
|
|
||||||
Athena uses vcpkg to download and build dependencies.
|
Vircadia uses vcpkg to download and build dependencies.
|
||||||
You do not need to install vcpkg.
|
You do not need to install vcpkg.
|
||||||
|
|
||||||
Building the dependencies can be lengthy and the resulting files will be stored in your OS temp directory.
|
Building the dependencies can be lengthy and the resulting files will be stored in your OS temp directory.
|
||||||
|
@ -63,7 +63,33 @@ export HIFI_VCPKG_BASE=/path/to/directory
|
||||||
|
|
||||||
Where /path/to/directory is the path to a directory where you wish the build files to get stored.
|
Where /path/to/directory is the path to a directory where you wish the build files to get stored.
|
||||||
|
|
||||||
#### Generating build files
|
#### Generating Build Files
|
||||||
|
|
||||||
|
##### Possible Environment Variables
|
||||||
|
|
||||||
|
// The URL to post the dump to.
|
||||||
|
CMAKE_BACKTRACE_URL
|
||||||
|
// The identifying tag of the release.
|
||||||
|
CMAKE_BACKTRACE_TOKEN
|
||||||
|
|
||||||
|
// The release version.
|
||||||
|
RELEASE_NUMBER
|
||||||
|
// The build commit.
|
||||||
|
BUILD_NUMBER
|
||||||
|
|
||||||
|
// The type of release.
|
||||||
|
RELEASE_TYPE=PRODUCTION|PR
|
||||||
|
RELEASE_BUILD=PRODUCTION|PR
|
||||||
|
|
||||||
|
// TODO: What do these do?
|
||||||
|
PRODUCTION_BUILD=0|1
|
||||||
|
STABLE_BUILD=0|1
|
||||||
|
|
||||||
|
// TODO: What do these do?
|
||||||
|
USE_STABLE_GLOBAL_SERVICES=1
|
||||||
|
BUILD_GLOBAL_SERVICES=STABLE
|
||||||
|
|
||||||
|
##### Generate Files
|
||||||
|
|
||||||
Create a build directory in the root of your checkout and then run the CMake build from there. This will keep the rest of the directory clean.
|
Create a build directory in the root of your checkout and then run the CMake build from there. This will keep the rest of the directory clean.
|
||||||
|
|
||||||
|
@ -71,7 +97,7 @@ Create a build directory in the root of your checkout and then run the CMake bui
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
|
|
||||||
If cmake gives you the same error message repeatedly after the build fails, try removing `CMakeCache.txt`.
|
If CMake gives you the same error message repeatedly after the build fails, try removing `CMakeCache.txt`.
|
||||||
|
|
||||||
##### Generating a release/debug only vcpkg build
|
##### Generating a release/debug only vcpkg build
|
||||||
|
|
||||||
|
@ -97,13 +123,13 @@ For example, to pass the QT_CMAKE_PREFIX_PATH variable (if not using the vcpkg'e
|
||||||
|
|
||||||
The following applies for dependencies we do not grab via CMake ExternalProject (OpenSSL is an example), or for dependencies you have opted not to grab as a CMake ExternalProject (via -DUSE_LOCAL_$NAME=0). The list of dependencies we grab by default as external projects can be found in [the CMake External Project Dependencies section](#cmake-external-project-dependencies).
|
The following applies for dependencies we do not grab via CMake ExternalProject (OpenSSL is an example), or for dependencies you have opted not to grab as a CMake ExternalProject (via -DUSE_LOCAL_$NAME=0). The list of dependencies we grab by default as external projects can be found in [the CMake External Project Dependencies section](#cmake-external-project-dependencies).
|
||||||
|
|
||||||
You can point our [Cmake find modules](cmake/modules/) to the correct version of dependencies by setting one of the three following variables to the location of the correct version of the dependency.
|
You can point our [CMake find modules](cmake/modules/) to the correct version of dependencies by setting one of the three following variables to the location of the correct version of the dependency.
|
||||||
|
|
||||||
In the examples below the variable $NAME would be replaced by the name of the dependency in uppercase, and $name would be replaced by the name of the dependency in lowercase (ex: OPENSSL_ROOT_DIR, openssl).
|
In the examples below the variable $NAME would be replaced by the name of the dependency in uppercase, and $name would be replaced by the name of the dependency in lowercase (ex: OPENSSL_ROOT_DIR, openssl).
|
||||||
|
|
||||||
* $NAME_ROOT_DIR - pass this variable to Cmake with the -DNAME_ROOT_DIR= flag when running Cmake to generate build files
|
* $NAME_ROOT_DIR - pass this variable to Cmake with the -DNAME_ROOT_DIR= flag when running Cmake to generate build files
|
||||||
* $NAME_ROOT_DIR - set this variable in your ENV
|
* $NAME_ROOT_DIR - set this variable in your ENV
|
||||||
* HIFI_LIB_DIR - set this variable in your ENV to your High Fidelity lib folder, should contain a folder '$name'
|
* HIFI_LIB_DIR - set this variable in your ENV to your Vircadia lib folder, should contain a folder '$name'
|
||||||
|
|
||||||
### Optional Components
|
### Optional Components
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
## This guide is specific to Ubuntu 16.04.
|
## This guide is specific to Ubuntu 16.04.
|
||||||
|
|
||||||
|
THIS DOCUMENT IS OUTDATED.
|
||||||
|
|
||||||
Deb packages of High Fidelity domain server and assignment client are stored on debian.highfidelity.com
|
Deb packages of High Fidelity domain server and assignment client are stored on debian.highfidelity.com
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -6,7 +6,7 @@ Please read the [general build guide](BUILD.md) for information on dependencies
|
||||||
|
|
||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
||||||
[Homebrew](https://brew.sh/) is an excellent package manager for macOS. It makes install of some High Fidelity dependencies very simple.
|
[Homebrew](https://brew.sh/) is an excellent package manager for macOS. It makes install of some Vircadia dependencies very simple.
|
||||||
|
|
||||||
brew install cmake openssl
|
brew install cmake openssl
|
||||||
|
|
||||||
|
|
20
BUILD_WIN.md
20
BUILD_WIN.md
|
@ -1,6 +1,6 @@
|
||||||
# Build Windows
|
# Build Windows
|
||||||
|
|
||||||
*Last Updated on January 13, 2020*
|
*Last Updated on May 17, 2020*
|
||||||
|
|
||||||
This is a stand-alone guide for creating your first Vircadia build for Windows 64-bit.
|
This is a stand-alone guide for creating your first Vircadia build for Windows 64-bit.
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ Download and install the latest version of CMake 3.15.
|
||||||
Download the file named win64-x64 Installer from the [CMake Website](https://cmake.org/download/). You can access the installer on this [3.15 Version page](https://cmake.org/files/v3.15/). During installation, make sure to check "Add CMake to system PATH for all users" when prompted.
|
Download the file named win64-x64 Installer from the [CMake Website](https://cmake.org/download/). You can access the installer on this [3.15 Version page](https://cmake.org/files/v3.15/). During installation, make sure to check "Add CMake to system PATH for all users" when prompted.
|
||||||
|
|
||||||
### Step 4. Create VCPKG environment variable
|
### Step 4. Create VCPKG environment variable
|
||||||
In the next step, you will use CMake to build Project Athena. By default, the CMake process builds dependency files in Windows' `%TEMP%` directory, which is periodically cleared by the operating system. To prevent you from having to re-build the dependencies in the event that Windows clears that directory, we recommend that you create a `HIFI_VCPKG_BASE` environment variable linked to a directory somewhere on your machine. That directory will contain all dependency files until you manually remove them.
|
In the next step, you will use CMake to build Vircadia. By default, the CMake process builds dependency files in Windows' `%TEMP%` directory, which is periodically cleared by the operating system. To prevent you from having to re-build the dependencies in the event that Windows clears that directory, we recommend that you create a `HIFI_VCPKG_BASE` environment variable linked to a directory somewhere on your machine. That directory will contain all dependency files until you manually remove them.
|
||||||
|
|
||||||
To create this variable:
|
To create this variable:
|
||||||
* Naviagte to 'Edit the System Environment Variables' Through the start menu.
|
* Naviagte to 'Edit the System Environment Variables' Through the start menu.
|
||||||
|
@ -68,7 +68,7 @@ To create this variable:
|
||||||
### Step 5. Running CMake to Generate Build Files
|
### Step 5. Running CMake to Generate Build Files
|
||||||
|
|
||||||
Run Command Prompt from Start and run the following commands:
|
Run Command Prompt from Start and run the following commands:
|
||||||
`cd "%HIFI_DIR%"`
|
`cd "%VIRCADIA_DIR%"`
|
||||||
`mkdir build`
|
`mkdir build`
|
||||||
`cd build`
|
`cd build`
|
||||||
|
|
||||||
|
@ -78,11 +78,11 @@ Run `cmake .. -G "Visual Studio 15 Win64"`.
|
||||||
#### If you're using Visual Studio 2019,
|
#### If you're using Visual Studio 2019,
|
||||||
Run `cmake .. -G "Visual Studio 16 2019" -A x64`.
|
Run `cmake .. -G "Visual Studio 16 2019" -A x64`.
|
||||||
|
|
||||||
Where `%HIFI_DIR%` is the directory for the highfidelity repository.
|
Where `%VIRCADIA_DIR%` is the directory for the Vircadia repository.
|
||||||
|
|
||||||
### Step 6. Making a Build
|
### Step 6. Making a Build
|
||||||
|
|
||||||
Open `%HIFI_DIR%\build\athena.sln` using Visual Studio.
|
Open `%VIRCADIA_DIR%\build\vircadia.sln` using Visual Studio.
|
||||||
|
|
||||||
Change the Solution Configuration (menu ribbon under the menu bar, next to the green play button) from "Debug" to "Release" for best performance.
|
Change the Solution Configuration (menu ribbon under the menu bar, next to the green play button) from "Debug" to "Release" for best performance.
|
||||||
|
|
||||||
|
@ -98,22 +98,22 @@ Restart Visual Studio again.
|
||||||
|
|
||||||
In Visual Studio, right+click "interface" under the Apps folder in Solution Explorer and select "Set as Startup Project". Run from the menu bar `Debug > Start Debugging`.
|
In Visual Studio, right+click "interface" under the Apps folder in Solution Explorer and select "Set as Startup Project". Run from the menu bar `Debug > Start Debugging`.
|
||||||
|
|
||||||
Now, you should have a full build of Project Athena and be able to run the Interface using Visual Studio. Please check our [Docs](https://wiki.highfidelity.com/wiki/Main_Page) for more information regarding the programming workflow.
|
Now, you should have a full build of Vircadia and be able to run the Interface using Visual Studio.
|
||||||
|
|
||||||
Note: You can also run Interface by launching it from command line or File Explorer from `%HIFI_DIR%\build\interface\Release\interface.exe`
|
Note: You can also run Interface by launching it from command line or File Explorer from `%VIRCADIA_DIR%\build\interface\Release\interface.exe`
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
For any problems after Step #6, first try this:
|
For any problems after Step #6, first try this:
|
||||||
* Delete your locally cloned copy of the highfidelity repository
|
* Delete your locally cloned copy of the Vircadia repository
|
||||||
* Restart your computer
|
* Restart your computer
|
||||||
* Redownload the [repository](https://github.com/kasenvr/project-athena)
|
* Redownload the [repository](https://github.com/kasenvr/project-athena)
|
||||||
* Restart directions from Step #6
|
* Restart directions from Step #6
|
||||||
|
|
||||||
#### CMake gives you the same error message repeatedly after the build fails
|
#### CMake gives you the same error message repeatedly after the build fails
|
||||||
|
|
||||||
Remove `CMakeCache.txt` found in the `%HIFI_DIR%\build` directory.
|
Remove `CMakeCache.txt` found in the `%VIRCADIA_DIR%\build` directory.
|
||||||
|
|
||||||
#### CMake can't find OpenSSL
|
#### CMake can't find OpenSSL
|
||||||
|
|
||||||
Remove `CMakeCache.txt` found in the `%HIFI_DIR%\build` directory. Verify that your HIFI_VCPKG_BASE environment variable is set and pointing to the correct location. Verify that the file `${HIFI_VCPKG_BASE}/installed/x64-windows/include/openssl/ssl.h` exists.
|
Remove `CMakeCache.txt` found in the `%VIRCADIA_DIR%\build` directory. Verify that your HIFI_VCPKG_BASE environment variable is set and pointing to the correct location. Verify that the file `${HIFI_VCPKG_BASE}/installed/x64-windows/include/openssl/ssl.h` exists.
|
||||||
|
|
|
@ -976,9 +976,9 @@ while (true) {
|
||||||
|
|
||||||
#### [4.3.4] Source files (header and implementation) must include a boilerplate.
|
#### [4.3.4] Source files (header and implementation) must include a boilerplate.
|
||||||
|
|
||||||
Boilerplates should include the filename, location, creator, copyright Project Athena contributors, and Apache 2.0 License
|
Boilerplates should include the filename, location, creator, copyright Vircadia contributors, and Apache 2.0 License
|
||||||
information. This should be placed at the top of the file. If editing an existing file that is copyright High Fidelity, add a
|
information. This should be placed at the top of the file. If editing an existing file that is copyright High Fidelity, add a
|
||||||
second copyright line, copyright Project Athena contributors.
|
second copyright line, copyright Vircadia contributors.
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
//
|
//
|
||||||
|
@ -987,7 +987,7 @@ second copyright line, copyright Project Athena contributors.
|
||||||
//
|
//
|
||||||
// Created by Stephen Birarda on 15 Feb 2013.
|
// Created by Stephen Birarda on 15 Feb 2013.
|
||||||
// Copyright 2013 High Fidelity, Inc.
|
// Copyright 2013 High Fidelity, Inc.
|
||||||
// Copyright 2020 Project Athena contributors.
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// This is where you could place an optional one line comment about the file.
|
// This is where you could place an optional one line comment about the file.
|
||||||
//
|
//
|
||||||
|
|
|
@ -21,7 +21,7 @@ Contributing
|
||||||
|
|
||||||
```
|
```
|
||||||
git remote add upstream https://github.com/kasenvr/project-athena
|
git remote add upstream https://github.com/kasenvr/project-athena
|
||||||
git pull upstream kasen/core
|
git pull upstream master
|
||||||
```
|
```
|
||||||
|
|
||||||
Resolve any conflicts that arise with this step.
|
Resolve any conflicts that arise with this step.
|
||||||
|
@ -29,7 +29,7 @@ Contributing
|
||||||
7. Push to your fork
|
7. Push to your fork
|
||||||
|
|
||||||
```
|
```
|
||||||
git push origin kasen/core
|
git push origin new_branch_name
|
||||||
```
|
```
|
||||||
8. Submit a pull request
|
8. Submit a pull request
|
||||||
|
|
||||||
|
|
4
LICENSE
4
LICENSE
|
@ -1,7 +1,7 @@
|
||||||
Copyright (c) 2013-2019, High Fidelity, Inc.
|
Copyright (c) 2013-2019, High Fidelity, Inc.
|
||||||
Copyright (c) 2019-2020, Project Athena Contributors.
|
Copyright (c) 2019-2020, Vircadia contributors.
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
https://projectathena.io
|
https://vircadia.com
|
||||||
|
|
||||||
Licensed under the Apache License version 2.0 (the "License");
|
Licensed under the Apache License version 2.0 (the "License");
|
||||||
You may not use this software except in compliance with the License.
|
You may not use this software except in compliance with the License.
|
||||||
|
|
|
@ -12,11 +12,11 @@ Vircadia is a 3D social software project seeking to incrementally bring about a
|
||||||
|
|
||||||
### How to build the Interface
|
### How to build the Interface
|
||||||
|
|
||||||
[For Windows](https://github.com/kasenvr/project-athena/blob/kasen/core/BUILD_WIN.md)
|
[For Windows](https://github.com/kasenvr/project-athena/blob/master/BUILD_WIN.md)
|
||||||
|
|
||||||
[For Linux](https://github.com/kasenvr/project-athena/blob/kasen/core/BUILD_LINUX.md)
|
[For Linux](https://github.com/kasenvr/project-athena/blob/master/BUILD_LINUX.md)
|
||||||
|
|
||||||
[For Linux - Athena Builder](https://github.com/daleglass/athena-builder)
|
[For Linux - Athena Builder](https://github.com/kasenvr/vircadia-builder)
|
||||||
|
|
||||||
### How to deploy a Server
|
### How to deploy a Server
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Vircadia is a 3D social software project seeking to incrementally bring about a
|
||||||
|
|
||||||
### How to build a Server
|
### How to build a Server
|
||||||
|
|
||||||
[For Linux - Athena Builder](https://github.com/daleglass/athena-builder)
|
[For Linux - Athena Builder](https://github.com/kasenvr/vircadia-builder)
|
||||||
|
|
||||||
### Boot to Metaverse: The Goal
|
### Boot to Metaverse: The Goal
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# THIS DOCUMENT IS OUTDATED
|
||||||
|
|
||||||
High Fidelity (hifi) is an early-stage technology lab experimenting with Virtual Worlds and VR.
|
High Fidelity (hifi) is an early-stage technology lab experimenting with Virtual Worlds and VR.
|
||||||
|
|
||||||
This repository contains the source to many of the components in our
|
This repository contains the source to many of the components in our
|
||||||
|
@ -15,7 +17,7 @@ Come chat with us in [our Gitter](https://gitter.im/highfidelity/hifi) if you ha
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
=========
|
=========
|
||||||
Documentation is available at [docs.highfidelity.com](https://docs.highfidelity.com), if something is missing, please suggest it via a new job on Worklist (add to the hifi-docs project).
|
Documentation is available at [docs.highfidelity.com](https://docs.highfidelity.com/), if something is missing, please suggest it via a new job on Worklist (add to the hifi-docs project).
|
||||||
|
|
||||||
There is also detailed [documentation on our coding standards](CODING_STANDARD.md).
|
There is also detailed [documentation on our coding standards](CODING_STANDARD.md).
|
||||||
|
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
<string name="online">Online</string>
|
<string name="online">Online</string>
|
||||||
<string name="signup">Sign Up</string>
|
<string name="signup">Sign Up</string>
|
||||||
<string name="signup_uppercase">SIGN UP</string>
|
<string name="signup_uppercase">SIGN UP</string>
|
||||||
<string name="creating_account">Creating your High Fidelity account</string>
|
<string name="creating_account">Creating your Vircadia account</string>
|
||||||
<string name="signup_email_username_or_password_incorrect">Email, username or password incorrect.</string>
|
<string name="signup_email_username_or_password_incorrect">Email, username or password incorrect.</string>
|
||||||
<string name="signedin_welcome">You are now signed into High Fidelity</string>
|
<string name="signedin_welcome">You are now signed into Vircadia</string>
|
||||||
<string name="logged_in_welcome">You are now logged in!</string>
|
<string name="logged_in_welcome">You are now logged in!</string>
|
||||||
<string name="welcome">Welcome</string>
|
<string name="welcome">Welcome</string>
|
||||||
<string name="cancel">Cancel</string>
|
<string name="cancel">Cancel</string>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<span class='step-description'>
|
<span class='step-description'>
|
||||||
<a target='_blank' href='https://docs.highfidelity.com/create-and-explore/start-working-in-your-sandbox/place-names'>Place names</a> are similar to web addresses. Users who want to visit your domain can
|
<a target='_blank' href='https://docs.vircadia.dev/create-and-explore/start-working-in-your-sandbox/place-names'>Place names</a> are similar to web addresses. Users who want to visit your domain can
|
||||||
enter its Place Name in High Fidelity's Interface. You can choose a Place Name for your domain.</br>
|
enter its Place Name in High Fidelity's Interface. You can choose a Place Name for your domain.</br>
|
||||||
Your domain may also be reachable by <b>IP address</b>.
|
Your domain may also be reachable by <b>IP address</b>.
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -596,7 +596,7 @@
|
||||||
|
|
||||||
<h2>Want to learn more?</h2>
|
<h2>Want to learn more?</h2>
|
||||||
<p>You can find out much more about the blockchain and about commerce in High Fidelity by visiting our Docs site:</p>
|
<p>You can find out much more about the blockchain and about commerce in High Fidelity by visiting our Docs site:</p>
|
||||||
<p><a href="http://docs.highfidelity.com" class="btn">Visit High Fidelity's Docs</a></p>
|
<p><a href="http://docs.vircadia.dev" class="btn">Visit High Fidelity's Docs</a></p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -77,9 +77,9 @@
|
||||||
var handControllerImageURL = null;
|
var handControllerImageURL = null;
|
||||||
var index = 0;
|
var index = 0;
|
||||||
var count = 3;
|
var count = 3;
|
||||||
var handControllerRefURL = "https://docs.projectathena.dev/explore/get-started/vr-controls.html#vr-controls";
|
var handControllerRefURL = "https://docs.vircadia.dev/explore/get-started/vr-controls.html#vr-controls";
|
||||||
var keyboardRefURL = "https://docs.projectathena.dev/explore/get-started/desktop.html#movement-controls";
|
var keyboardRefURL = "https://docs.vircadia.dev/explore/get-started/desktop.html#movement-controls";
|
||||||
var gamepadRefURL = "https://docs.projectathena.dev/explore/get-started/vr-controls.html#gamepad";
|
var gamepadRefURL = "https://docs.vircadia.dev/explore/get-started/vr-controls.html#gamepad";
|
||||||
|
|
||||||
function showKbm() {
|
function showKbm() {
|
||||||
document.getElementById("main_image").setAttribute("src", "img/tablet-help-keyboard.jpg");
|
document.getElementById("main_image").setAttribute("src", "img/tablet-help-keyboard.jpg");
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
<a href="#" id="right_button" onmousedown="cycleRight()"></a>
|
<a href="#" id="right_button" onmousedown="cycleRight()"></a>
|
||||||
<a href="#" id="image_button"></a>
|
<a href="#" id="image_button"></a>
|
||||||
</div>
|
</div>
|
||||||
<a href="mailto:support@projectathena.io" id="report_problem">Report Problem</a>
|
<a href="mailto:support@vircadia.com" id="report_problem">Report Problem</a>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,7 +6,7 @@ import controlsUit 1.0
|
||||||
|
|
||||||
WebView {
|
WebView {
|
||||||
id: webview
|
id: webview
|
||||||
url: "https://projectathena.io/"
|
url: "https://vircadia.com/"
|
||||||
profile: FileTypeProfile;
|
profile: FileTypeProfile;
|
||||||
|
|
||||||
property var parentRoot: null
|
property var parentRoot: null
|
||||||
|
|
|
@ -402,7 +402,7 @@ Item {
|
||||||
font.pixelSize: linkAccountBody.textFieldFontSize
|
font.pixelSize: linkAccountBody.textFieldFontSize
|
||||||
font.bold: linkAccountBody.fontBold
|
font.bold: linkAccountBody.fontBold
|
||||||
|
|
||||||
text: "<a href='metaverse.projectathena.io/users/password/new'> Can't access your account?</a>"
|
text: "<a href='metaverse.vircadia.com/users/password/new'> Can't access your account?</a>"
|
||||||
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
@ -527,7 +527,7 @@ Item {
|
||||||
leftMargin: hifi.dimensions.contentSpacing.x
|
leftMargin: hifi.dimensions.contentSpacing.x
|
||||||
}
|
}
|
||||||
|
|
||||||
text: "<a href='metaverse.projectathena.io/users/register'>Sign Up</a>"
|
text: "<a href='metaverse.vircadia.com/users/register'>Sign Up</a>"
|
||||||
|
|
||||||
linkColor: hifi.colors.blueAccent
|
linkColor: hifi.colors.blueAccent
|
||||||
onLinkActivated: {
|
onLinkActivated: {
|
||||||
|
|
|
@ -395,7 +395,7 @@ Item {
|
||||||
text: signUpBody.termsContainerText
|
text: signUpBody.termsContainerText
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
// with the link.
|
// with the link.
|
||||||
termsText.text = qsTr("By signing up, you agree to <a href='https://projectathena.io/termsofservice'>Project Athena's Terms of Service</a>")
|
termsText.text = qsTr("By signing up, you agree to <a href='https://vircadia.com/termsofservice'>Vircadia's Terms of Service</a>")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,7 @@ Item {
|
||||||
text: usernameCollisionBody.termsContainerText
|
text: usernameCollisionBody.termsContainerText
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
// with the link.
|
// with the link.
|
||||||
termsText.text = qsTr("By creating this user profile, you agree to <a href='https://projectathena.io/termsofservice'>Project Athena's Terms of Service</a>")
|
termsText.text = qsTr("By creating this user profile, you agree to <a href='https://vircadia.com/termsofservice'>Vircadia's Terms of Service</a>")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
function openDocs() {
|
function openDocs() {
|
||||||
Qt.openUrlExternally("https://docs.projectathena.dev/create/avatars/package-avatar.html");
|
Qt.openUrlExternally("https://docs.vircadia.dev/create/avatars/package-avatar.html");
|
||||||
}
|
}
|
||||||
|
|
||||||
function openVideo() {
|
function openVideo() {
|
||||||
|
|
|
@ -318,7 +318,7 @@ Item {
|
||||||
text: "This item is not for sale yet, <a href='#'>learn more</a>."
|
text: "This item is not for sale yet, <a href='#'>learn more</a>."
|
||||||
|
|
||||||
onLinkActivated: {
|
onLinkActivated: {
|
||||||
Qt.openUrlExternally("https://docs.projectathena.dev/sell/add-item/upload-avatar.html");
|
Qt.openUrlExternally("https://docs.vircadia.dev/sell/add-item/upload-avatar.html");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ MessageBox {
|
||||||
popup.onButton2Clicked = callback;
|
popup.onButton2Clicked = callback;
|
||||||
popup.titleText = 'Specify Avatar URL'
|
popup.titleText = 'Specify Avatar URL'
|
||||||
popup.bodyText = 'This will not overwrite your existing favorite if you are wearing one.<br>' +
|
popup.bodyText = 'This will not overwrite your existing favorite if you are wearing one.<br>' +
|
||||||
'<a href="https://docs.vircadia.dev/create/avatars.html">' +
|
'<a href="https://docs.vircadia.dev/create/avatars/create-avatars.html">' +
|
||||||
'Learn to make a custom avatar by opening this link on your desktop.' +
|
'Learn to make a custom avatar by opening this link on your desktop.' +
|
||||||
'</a>'
|
'</a>'
|
||||||
popup.inputText.visible = true;
|
popup.inputText.visible = true;
|
||||||
|
|
|
@ -778,7 +778,7 @@ Rectangle {
|
||||||
lightboxPopup.bodyText = "Rezzing this content set will replace the existing environment and all of the items in this domain. " +
|
lightboxPopup.bodyText = "Rezzing this content set will replace the existing environment and all of the items in this domain. " +
|
||||||
"If you want to save the state of the content in this domain, create a backup before proceeding.<br><br>" +
|
"If you want to save the state of the content in this domain, create a backup before proceeding.<br><br>" +
|
||||||
"For more information about backing up and restoring content, " +
|
"For more information about backing up and restoring content, " +
|
||||||
"<a href='https://docs.projectathena.dev/host/maintain-domain/backup-domain.html'>" +
|
"<a href='https://docs.vircadia.dev/host/maintain-domain/backup-domain.html'>" +
|
||||||
"click here to open info on your desktop browser.";
|
"click here to open info on your desktop browser.";
|
||||||
lightboxPopup.button1text = "CANCEL";
|
lightboxPopup.button1text = "CANCEL";
|
||||||
lightboxPopup.button1method = function() {
|
lightboxPopup.button1method = function() {
|
||||||
|
|
|
@ -602,7 +602,7 @@ Rectangle {
|
||||||
lightboxPopup.bodyText = "Rezzing this content set will replace the existing environment and all of the items in this domain. " +
|
lightboxPopup.bodyText = "Rezzing this content set will replace the existing environment and all of the items in this domain. " +
|
||||||
"If you want to save the state of the content in this domain, create a backup before proceeding.<br><br>" +
|
"If you want to save the state of the content in this domain, create a backup before proceeding.<br><br>" +
|
||||||
"For more information about backing up and restoring content, " +
|
"For more information about backing up and restoring content, " +
|
||||||
"<a href='https://docs.projectathena.dev/host/maintain-domain/backup-domain.html'>" +
|
"<a href='https://docs.vircadia.dev/host/maintain-domain/backup-domain.html'>" +
|
||||||
"click here to open info on your desktop browser.";
|
"click here to open info on your desktop browser.";
|
||||||
lightboxPopup.button1text = "CANCEL";
|
lightboxPopup.button1text = "CANCEL";
|
||||||
lightboxPopup.button1method = function() {
|
lightboxPopup.button1method = function() {
|
||||||
|
|
|
@ -207,7 +207,7 @@ At the moment, there is currently no way to convert HFC to other currencies. Sta
|
||||||
if (link === "#privateKeyPath") {
|
if (link === "#privateKeyPath") {
|
||||||
Qt.openUrlExternally("file:///" + root.keyFilePath.substring(0, root.keyFilePath.lastIndexOf('/')));
|
Qt.openUrlExternally("file:///" + root.keyFilePath.substring(0, root.keyFilePath.lastIndexOf('/')));
|
||||||
} else if (link === "#blockchain") {
|
} else if (link === "#blockchain") {
|
||||||
Qt.openUrlExternally("https://docs.projectathena.dev/explore/shop.html");
|
Qt.openUrlExternally("https://docs.vircadia.dev/explore/shop.html");
|
||||||
} else if (link === "#bank") {
|
} else if (link === "#bank") {
|
||||||
if ((Account.metaverseServerURL).toString().indexOf("staging") >= 0) {
|
if ((Account.metaverseServerURL).toString().indexOf("staging") >= 0) {
|
||||||
Qt.openUrlExternally("hifi://hifiqa-master-metaverse-staging"); // So that we can test in staging.
|
Qt.openUrlExternally("hifi://hifiqa-master-metaverse-staging"); // So that we can test in staging.
|
||||||
|
|
|
@ -53,7 +53,7 @@ Rectangle {
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
linkColor: "#00B4EF"
|
linkColor: "#00B4EF"
|
||||||
color: "white"
|
color: "white"
|
||||||
text: "<a href=\"https:/github.com/kasenvr/hifi-community\">Project Athena Github</a>."
|
text: "<a href=\"https:/github.com/kasenvr/project-athena\">Vircadia Github</a>."
|
||||||
size: 20
|
size: 20
|
||||||
onLinkActivated: {
|
onLinkActivated: {
|
||||||
HiFiAbout.openUrl("https:/github.com/kasenvr/project-athena");
|
HiFiAbout.openUrl("https:/github.com/kasenvr/project-athena");
|
||||||
|
@ -116,7 +116,7 @@ Rectangle {
|
||||||
Item { height: 20; width: 1 }
|
Item { height: 20; width: 1 }
|
||||||
RalewayRegular {
|
RalewayRegular {
|
||||||
color: "white"
|
color: "white"
|
||||||
text: "© 2019 - 2020 Project Athena Contributors."
|
text: "© 2019-2020 Vircadia contributors."
|
||||||
size: 14
|
size: 14
|
||||||
}
|
}
|
||||||
RalewayRegular {
|
RalewayRegular {
|
||||||
|
|
|
@ -1139,7 +1139,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
||||||
QFontDatabase::addApplicationFont(PathUtils::resourcesPath() + "fonts/Graphik-SemiBold.ttf");
|
QFontDatabase::addApplicationFont(PathUtils::resourcesPath() + "fonts/Graphik-SemiBold.ttf");
|
||||||
QFontDatabase::addApplicationFont(PathUtils::resourcesPath() + "fonts/Graphik-Regular.ttf");
|
QFontDatabase::addApplicationFont(PathUtils::resourcesPath() + "fonts/Graphik-Regular.ttf");
|
||||||
QFontDatabase::addApplicationFont(PathUtils::resourcesPath() + "fonts/Graphik-Medium.ttf");
|
QFontDatabase::addApplicationFont(PathUtils::resourcesPath() + "fonts/Graphik-Medium.ttf");
|
||||||
_window->setWindowTitle("Project Athena");
|
_window->setWindowTitle("Vircadia");
|
||||||
|
|
||||||
Model::setAbstractViewStateInterface(this); // The model class will sometimes need to know view state details from us
|
Model::setAbstractViewStateInterface(this); // The model class will sometimes need to know view state details from us
|
||||||
|
|
||||||
|
@ -3166,7 +3166,7 @@ void Application::showLoginScreen() {
|
||||||
QJsonObject loginData = {};
|
QJsonObject loginData = {};
|
||||||
loginData["action"] = "login dialog popped up";
|
loginData["action"] = "login dialog popped up";
|
||||||
UserActivityLogger::getInstance().logAction("encourageLoginDialog", loginData);
|
UserActivityLogger::getInstance().logAction("encourageLoginDialog", loginData);
|
||||||
_window->setWindowTitle("Project Athena");
|
_window->setWindowTitle("Vircadia");
|
||||||
} else {
|
} else {
|
||||||
resumeAfterLoginDialogActionTaken();
|
resumeAfterLoginDialogActionTaken();
|
||||||
}
|
}
|
||||||
|
@ -7063,7 +7063,7 @@ void Application::updateWindowTitle() const {
|
||||||
auto accountManager = DependencyManager::get<AccountManager>();
|
auto accountManager = DependencyManager::get<AccountManager>();
|
||||||
auto isInErrorState = nodeList->getDomainHandler().isInErrorState();
|
auto isInErrorState = nodeList->getDomainHandler().isInErrorState();
|
||||||
|
|
||||||
QString buildVersion = " - Project Athena v0.86.0 K2 - "
|
QString buildVersion = " - Vircadia - "
|
||||||
+ (BuildInfo::BUILD_TYPE == BuildInfo::BuildType::Stable ? QString("Version") : QString("Build"))
|
+ (BuildInfo::BUILD_TYPE == BuildInfo::BuildType::Stable ? QString("Version") : QString("Build"))
|
||||||
+ " " + applicationVersion();
|
+ " " + applicationVersion();
|
||||||
|
|
||||||
|
@ -7747,7 +7747,7 @@ bool Application::askToReplaceDomainContent(const QString& url) {
|
||||||
static const QString infoText = simpleWordWrap("Your domain's content will be replaced with a new content set. "
|
static const QString infoText = simpleWordWrap("Your domain's content will be replaced with a new content set. "
|
||||||
"If you want to save what you have now, create a backup before proceeding. For more information about backing up "
|
"If you want to save what you have now, create a backup before proceeding. For more information about backing up "
|
||||||
"and restoring content, visit the documentation page at: ", MAX_CHARACTERS_PER_LINE) +
|
"and restoring content, visit the documentation page at: ", MAX_CHARACTERS_PER_LINE) +
|
||||||
"\nhttps://docs.projectathena.dev/host/maintain-domain/backup-domain.html";
|
"\nhttps://docs.vircadia.dev/host/maintain-domain/backup-domain.html";
|
||||||
|
|
||||||
ModalDialogListener* dig = OffscreenUi::asyncQuestion("Are you sure you want to replace this domain's content set?",
|
ModalDialogListener* dig = OffscreenUi::asyncQuestion("Are you sure you want to replace this domain's content set?",
|
||||||
infoText, QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
infoText, QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
||||||
|
|
|
@ -20,7 +20,7 @@ class FancyCamera : public Camera {
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* The <code>Camera</code> API provides access to the "camera" that defines your view in desktop and HMD display modes.
|
* The <code>Camera</code> API provides access to the "camera" that defines your view in desktop and HMD display modes.
|
||||||
* The High Fidelity camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
* The Vircadia camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
||||||
*
|
*
|
||||||
* @namespace Camera
|
* @namespace Camera
|
||||||
*
|
*
|
||||||
|
|
|
@ -782,8 +782,8 @@ Menu::Menu() {
|
||||||
// Help/Application menu ----------------------------------
|
// Help/Application menu ----------------------------------
|
||||||
MenuWrapper * helpMenu = addMenu("Help");
|
MenuWrapper * helpMenu = addMenu("Help");
|
||||||
|
|
||||||
// Help > About Project Athena
|
// Help > About Vircadia
|
||||||
action = addActionToQMenuAndActionHash(helpMenu, "About Project Athena");
|
action = addActionToQMenuAndActionHash(helpMenu, "About Vircadia");
|
||||||
connect(action, &QAction::triggered, [] {
|
connect(action, &QAction::triggered, [] {
|
||||||
qApp->showDialog(QString("hifi/dialogs/AboutDialog.qml"),
|
qApp->showDialog(QString("hifi/dialogs/AboutDialog.qml"),
|
||||||
QString("hifi/dialogs/TabletAboutDialog.qml"), "AboutDialog");
|
QString("hifi/dialogs/TabletAboutDialog.qml"), "AboutDialog");
|
||||||
|
@ -793,7 +793,7 @@ Menu::Menu() {
|
||||||
// Help > Athena Docs
|
// Help > Athena Docs
|
||||||
action = addActionToQMenuAndActionHash(helpMenu, "Online Documentation");
|
action = addActionToQMenuAndActionHash(helpMenu, "Online Documentation");
|
||||||
connect(action, &QAction::triggered, qApp, [] {
|
connect(action, &QAction::triggered, qApp, [] {
|
||||||
QDesktopServices::openUrl(QUrl("https://docs.projectathena.dev/"));
|
QDesktopServices::openUrl(QUrl("https://docs.vircadia.dev/"));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Help > Athena Forum
|
// Help > Athena Forum
|
||||||
|
@ -805,7 +805,7 @@ Menu::Menu() {
|
||||||
// Help > Scripting Reference
|
// Help > Scripting Reference
|
||||||
action = addActionToQMenuAndActionHash(helpMenu, "Online Script Reference");
|
action = addActionToQMenuAndActionHash(helpMenu, "Online Script Reference");
|
||||||
connect(action, &QAction::triggered, qApp, [] {
|
connect(action, &QAction::triggered, qApp, [] {
|
||||||
QDesktopServices::openUrl(QUrl("https://apidocs.projectathena.dev/"));
|
QDesktopServices::openUrl(QUrl("https://apidocs.vircadia.dev/"));
|
||||||
});
|
});
|
||||||
|
|
||||||
addActionToQMenuAndActionHash(helpMenu, "Controls Reference", 0, qApp, SLOT(showHelp()));
|
addActionToQMenuAndActionHash(helpMenu, "Controls Reference", 0, qApp, SLOT(showHelp()));
|
||||||
|
@ -815,7 +815,7 @@ Menu::Menu() {
|
||||||
// Help > Release Notes
|
// Help > Release Notes
|
||||||
action = addActionToQMenuAndActionHash(helpMenu, "Release Notes");
|
action = addActionToQMenuAndActionHash(helpMenu, "Release Notes");
|
||||||
connect(action, &QAction::triggered, qApp, [] {
|
connect(action, &QAction::triggered, qApp, [] {
|
||||||
QDesktopServices::openUrl(QUrl("https://docs.projectathena.dev/release-notes.html"));
|
QDesktopServices::openUrl(QUrl("https://docs.vircadia.dev/release-notes.html"));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Help > Report a Bug!
|
// Help > Report a Bug!
|
||||||
|
|
|
@ -55,7 +55,7 @@ static QStringList HAND_MAPPING_SUFFIXES = {
|
||||||
"HandThumb1",
|
"HandThumb1",
|
||||||
};
|
};
|
||||||
|
|
||||||
const QUrl PACKAGE_AVATAR_DOCS_BASE_URL = QUrl("https://docs.projectathena.dev/create/avatars/package-avatar.html");
|
const QUrl PACKAGE_AVATAR_DOCS_BASE_URL = QUrl("https://docs.vircadia.dev/create/avatars/package-avatar.html");
|
||||||
|
|
||||||
AvatarDoctor::AvatarDoctor(const QUrl& avatarFSTFileUrl) :
|
AvatarDoctor::AvatarDoctor(const QUrl& avatarFSTFileUrl) :
|
||||||
_avatarFSTFileUrl(avatarFSTFileUrl) {
|
_avatarFSTFileUrl(avatarFSTFileUrl) {
|
||||||
|
|
|
@ -762,7 +762,7 @@ public:
|
||||||
* <p>Note: When using pre-built animation data, it's critical that the joint orientation of the source animation and target
|
* <p>Note: When using pre-built animation data, it's critical that the joint orientation of the source animation and target
|
||||||
* rig are equivalent, since the animation data applies absolute values onto the joints. If the orientations are different,
|
* rig are equivalent, since the animation data applies absolute values onto the joints. If the orientations are different,
|
||||||
* the avatar will move in unpredictable ways. For more information about avatar joint orientation standards, see
|
* the avatar will move in unpredictable ways. For more information about avatar joint orientation standards, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.
|
||||||
* @function MyAvatar.overrideRoleAnimation
|
* @function MyAvatar.overrideRoleAnimation
|
||||||
* @param {string} role - The animation role to override
|
* @param {string} role - The animation role to override
|
||||||
* @param {string} url - The URL to the animation file. Animation files need to be in glTF or FBX format, but only need to
|
* @param {string} url - The URL to the animation file. Animation files need to be in glTF or FBX format, but only need to
|
||||||
|
@ -1920,7 +1920,7 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Enables and disables flow simulation of physics on the avatar's hair, clothes, and body parts. See
|
* Enables and disables flow simulation of physics on the avatar's hair, clothes, and body parts. See
|
||||||
* {@link https://docs.projectathena.dev/create/avatars/add-flow.html|Add Flow to Your Avatar} for more
|
* {@link https://docs.vircadia.dev/create/avatars/add-flow.html|Add Flow to Your Avatar} for more
|
||||||
* information.
|
* information.
|
||||||
* @function MyAvatar.useFlow
|
* @function MyAvatar.useFlow
|
||||||
* @param {boolean} isActive - <code>true</code> if flow simulation is enabled on the joint, <code>false</code> if it isn't.
|
* @param {boolean} isActive - <code>true</code> if flow simulation is enabled on the joint, <code>false</code> if it isn't.
|
||||||
|
@ -2285,7 +2285,7 @@ public slots:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the URL of the override animation graph.
|
* Gets the URL of the override animation graph.
|
||||||
* <p>See {@link https://docs.projectathena.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
* <p>See {@link https://docs.vircadia.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
||||||
* information on animation graphs.</p>
|
* information on animation graphs.</p>
|
||||||
* @function MyAvatar.getAnimGraphOverrideUrl
|
* @function MyAvatar.getAnimGraphOverrideUrl
|
||||||
* @returns {string} The URL of the override animation graph JSON file. <code>""</code> if there is no override animation
|
* @returns {string} The URL of the override animation graph JSON file. <code>""</code> if there is no override animation
|
||||||
|
@ -2295,7 +2295,7 @@ public slots:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Sets the animation graph to use in preference to the default animation graph.
|
* Sets the animation graph to use in preference to the default animation graph.
|
||||||
* <p>See {@link https://docs.projectathena.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
* <p>See {@link https://docs.vircadia.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
||||||
* information on animation graphs.</p>
|
* information on animation graphs.</p>
|
||||||
* @function MyAvatar.setAnimGraphOverrideUrl
|
* @function MyAvatar.setAnimGraphOverrideUrl
|
||||||
* @param {string} url - The URL of the animation graph JSON file to use. Set to <code>""</code> to clear an override.
|
* @param {string} url - The URL of the animation graph JSON file to use. Set to <code>""</code> to clear an override.
|
||||||
|
@ -2304,7 +2304,7 @@ public slots:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the URL of animation graph (i.e., the avatar animation JSON) that's currently being used for avatar animations.
|
* Gets the URL of animation graph (i.e., the avatar animation JSON) that's currently being used for avatar animations.
|
||||||
* <p>See {@link https://docs.projectathena.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
* <p>See {@link https://docs.vircadia.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
||||||
* information on animation graphs.</p>
|
* information on animation graphs.</p>
|
||||||
* @function MyAvatar.getAnimGraphUrl
|
* @function MyAvatar.getAnimGraphUrl
|
||||||
* @returns {string} The URL of the current animation graph JSON file.
|
* @returns {string} The URL of the current animation graph JSON file.
|
||||||
|
@ -2315,7 +2315,7 @@ public slots:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Sets the current animation graph (i.e., the avatar animation JSON) to use for avatar animations and makes it the default.
|
* Sets the current animation graph (i.e., the avatar animation JSON) to use for avatar animations and makes it the default.
|
||||||
* <p>See {@link https://docs.projectathena.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
* <p>See {@link https://docs.vircadia.dev/create/avatars/custom-animations.html|Custom Avatar Animations} for
|
||||||
* information on animation graphs.</p>
|
* information on animation graphs.</p>
|
||||||
* @function MyAvatar.setAnimGraphUrl
|
* @function MyAvatar.setAnimGraphUrl
|
||||||
* @param {string} url - The URL of the animation graph JSON file to use.
|
* @param {string} url - The URL of the animation graph JSON file to use.
|
||||||
|
|
|
@ -72,7 +72,7 @@ int main(int argc, const char* argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.setApplicationDescription("High Fidelity");
|
parser.setApplicationDescription("Vircadia");
|
||||||
QCommandLineOption versionOption = parser.addVersionOption();
|
QCommandLineOption versionOption = parser.addVersionOption();
|
||||||
QCommandLineOption helpOption = parser.addHelpOption();
|
QCommandLineOption helpOption = parser.addHelpOption();
|
||||||
|
|
||||||
|
|
|
@ -207,7 +207,7 @@ public:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the default rotation of a joint (in the current avatar) relative to its parent.
|
* Gets the default rotation of a joint (in the current avatar) relative to its parent.
|
||||||
* <p>For information on the joint hierarchy used, see
|
* <p>For information on the joint hierarchy used, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
||||||
* @function MyAvatar.getDefaultJointRotation
|
* @function MyAvatar.getDefaultJointRotation
|
||||||
* @param {number} index - The joint index.
|
* @param {number} index - The joint index.
|
||||||
* @returns {Quat} The default rotation of the joint if the joint index is valid, otherwise {@link Quat(0)|Quat.IDENTITY}.
|
* @returns {Quat} The default rotation of the joint if the joint index is valid, otherwise {@link Quat(0)|Quat.IDENTITY}.
|
||||||
|
@ -218,7 +218,7 @@ public:
|
||||||
* Gets the default translation of a joint (in the current avatar) relative to its parent, in model coordinates.
|
* Gets the default translation of a joint (in the current avatar) relative to its parent, in model coordinates.
|
||||||
* <p><strong>Warning:</strong> These coordinates are not necessarily in meters.</p>
|
* <p><strong>Warning:</strong> These coordinates are not necessarily in meters.</p>
|
||||||
* <p>For information on the joint hierarchy used, see
|
* <p>For information on the joint hierarchy used, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
||||||
* @function MyAvatar.getDefaultJointTranslation
|
* @function MyAvatar.getDefaultJointTranslation
|
||||||
* @param {number} index - The joint index.
|
* @param {number} index - The joint index.
|
||||||
* @returns {Vec3} The default translation of the joint (in model coordinates) if the joint index is valid, otherwise
|
* @returns {Vec3} The default translation of the joint (in model coordinates) if the joint index is valid, otherwise
|
||||||
|
|
|
@ -796,7 +796,7 @@ public:
|
||||||
* @param {Quat} rotation - The rotation of the joint relative to its parent.
|
* @param {Quat} rotation - The rotation of the joint relative to its parent.
|
||||||
* @param {Vec3} translation - The translation of the joint relative to its parent, in model coordinates.
|
* @param {Vec3} translation - The translation of the joint relative to its parent, in model coordinates.
|
||||||
* @example <caption>Set your avatar to it's default T-pose for a while.<br />
|
* @example <caption>Set your avatar to it's default T-pose for a while.<br />
|
||||||
* <img alt="Avatar in T-pose" src="https://apidocs.projectathena.dev/images/t-pose.png" /></caption>
|
* <img alt="Avatar in T-pose" src="https://apidocs.vircadia.dev/images/t-pose.png" /></caption>
|
||||||
* // Set all joint translations and rotations to defaults.
|
* // Set all joint translations and rotations to defaults.
|
||||||
* var i, length, rotation, translation;
|
* var i, length, rotation, translation;
|
||||||
* for (i = 0, length = MyAvatar.getJointNames().length; i < length; i++) {
|
* for (i = 0, length = MyAvatar.getJointNames().length; i < length; i++) {
|
||||||
|
@ -860,7 +860,7 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the rotation of a joint relative to its parent. For information on the joint hierarchy used, see
|
* Gets the rotation of a joint relative to its parent. For information on the joint hierarchy used, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.
|
||||||
* @function Avatar.getJointRotation
|
* @function Avatar.getJointRotation
|
||||||
* @param {number} index - The index of the joint.
|
* @param {number} index - The index of the joint.
|
||||||
* @returns {Quat} The rotation of the joint relative to its parent.
|
* @returns {Quat} The rotation of the joint relative to its parent.
|
||||||
|
@ -871,7 +871,7 @@ public:
|
||||||
* Gets the translation of a joint relative to its parent, in model coordinates.
|
* Gets the translation of a joint relative to its parent, in model coordinates.
|
||||||
* <p><strong>Warning:</strong> These coordinates are not necessarily in meters.</p>
|
* <p><strong>Warning:</strong> These coordinates are not necessarily in meters.</p>
|
||||||
* <p>For information on the joint hierarchy used, see
|
* <p>For information on the joint hierarchy used, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
||||||
* @function Avatar.getJointTranslation
|
* @function Avatar.getJointTranslation
|
||||||
* @param {number} index - The index of the joint.
|
* @param {number} index - The index of the joint.
|
||||||
* @returns {Vec3} The translation of the joint relative to its parent, in model coordinates.
|
* @returns {Vec3} The translation of the joint relative to its parent, in model coordinates.
|
||||||
|
@ -904,7 +904,7 @@ public:
|
||||||
* @param {string} name - The name of the joint.
|
* @param {string} name - The name of the joint.
|
||||||
* @param {Quat} rotation - The rotation of the joint relative to its parent.
|
* @param {Quat} rotation - The rotation of the joint relative to its parent.
|
||||||
* @example <caption>Set your avatar to its default T-pose then rotate its right arm.<br />
|
* @example <caption>Set your avatar to its default T-pose then rotate its right arm.<br />
|
||||||
* <img alt="Avatar in T-pose with arm rotated" src="https://apidocs.projectathena.dev/images/armpose.png" /></caption>
|
* <img alt="Avatar in T-pose with arm rotated" src="https://apidocs.vircadia.dev/images/armpose.png" /></caption>
|
||||||
* // Set all joint translations and rotations to defaults.
|
* // Set all joint translations and rotations to defaults.
|
||||||
* var i, length, rotation, translation;
|
* var i, length, rotation, translation;
|
||||||
* for (i = 0, length = MyAvatar.getJointNames().length; i < length; i++) {
|
* for (i = 0, length = MyAvatar.getJointNames().length; i < length; i++) {
|
||||||
|
@ -939,7 +939,7 @@ public:
|
||||||
* @param {Vec3} translation - The translation of the joint relative to its parent, in model coordinates.
|
* @param {Vec3} translation - The translation of the joint relative to its parent, in model coordinates.
|
||||||
* @example <caption>Stretch your avatar's neck. Depending on the avatar you are using, you will either see a gap between
|
* @example <caption>Stretch your avatar's neck. Depending on the avatar you are using, you will either see a gap between
|
||||||
* the head and body or you will see the neck stretched.<br />
|
* the head and body or you will see the neck stretched.<br />
|
||||||
* <img alt="Avatar with neck stretched" src="https://apidocs.projectathena.dev/images/stretched-neck.png" /></caption>
|
* <img alt="Avatar with neck stretched" src="https://apidocs.vircadia.dev/images/stretched-neck.png" /></caption>
|
||||||
* // Stretch your avatar's neck.
|
* // Stretch your avatar's neck.
|
||||||
* MyAvatar.setJointTranslation("Neck", Vec3.multiply(2, MyAvatar.getJointTranslation("Neck")));
|
* MyAvatar.setJointTranslation("Neck", Vec3.multiply(2, MyAvatar.getJointTranslation("Neck")));
|
||||||
*
|
*
|
||||||
|
@ -981,7 +981,7 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the rotation of a joint relative to its parent. For information on the joint hierarchy used, see
|
* Gets the rotation of a joint relative to its parent. For information on the joint hierarchy used, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.
|
||||||
* @function Avatar.getJointRotation
|
* @function Avatar.getJointRotation
|
||||||
* @param {string} name - The name of the joint.
|
* @param {string} name - The name of the joint.
|
||||||
* @returns {Quat} The rotation of the joint relative to its parent.
|
* @returns {Quat} The rotation of the joint relative to its parent.
|
||||||
|
@ -996,7 +996,7 @@ public:
|
||||||
* Gets the translation of a joint relative to its parent, in model coordinates.
|
* Gets the translation of a joint relative to its parent, in model coordinates.
|
||||||
* <p><strong>Warning:</strong> These coordinates are not necessarily in meters.</p>
|
* <p><strong>Warning:</strong> These coordinates are not necessarily in meters.</p>
|
||||||
* <p>For information on the joint hierarchy used, see
|
* <p>For information on the joint hierarchy used, see
|
||||||
* <a href="https://docs.projectathena.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
* <a href="https://docs.vircadia.dev/create/avatars/avatar-standards.html">Avatar Standards</a>.</p>
|
||||||
* @function Avatar.getJointTranslation
|
* @function Avatar.getJointTranslation
|
||||||
* @param {number} name - The name of the joint.
|
* @param {number} name - The name of the joint.
|
||||||
* @returns {Vec3} The translation of the joint relative to its parent, in model coordinates.
|
* @returns {Vec3} The translation of the joint relative to its parent, in model coordinates.
|
||||||
|
@ -1041,7 +1041,7 @@ public:
|
||||||
* @param {Quat[]} jointRotations - The rotations for all joints in the avatar. The values are in the same order as the
|
* @param {Quat[]} jointRotations - The rotations for all joints in the avatar. The values are in the same order as the
|
||||||
* array returned by {@link MyAvatar.getJointNames}, or {@link Avatar.getJointNames} if using the <code>Avatar</code> API.
|
* array returned by {@link MyAvatar.getJointNames}, or {@link Avatar.getJointNames} if using the <code>Avatar</code> API.
|
||||||
* @example <caption>Set your avatar to its default T-pose then rotate its right arm.<br />
|
* @example <caption>Set your avatar to its default T-pose then rotate its right arm.<br />
|
||||||
* <img alt="Avatar in T-pose" src="https://apidocs.projectathena.dev/images/armpose.png" /></caption>
|
* <img alt="Avatar in T-pose" src="https://apidocs.vircadia.dev/images/armpose.png" /></caption>
|
||||||
* // Set all joint translations and rotations to defaults.
|
* // Set all joint translations and rotations to defaults.
|
||||||
* var i, length, rotation, translation;
|
* var i, length, rotation, translation;
|
||||||
* for (i = 0, length = MyAvatar.getJointNames().length; i < length; i++) {
|
* for (i = 0, length = MyAvatar.getJointNames().length; i < length; i++) {
|
||||||
|
@ -1138,7 +1138,7 @@ public:
|
||||||
* set <code>hasScriptedBlendshapes</code> back to <code>false</code> when the animation is complete.
|
* set <code>hasScriptedBlendshapes</code> back to <code>false</code> when the animation is complete.
|
||||||
* @function Avatar.setBlendshape
|
* @function Avatar.setBlendshape
|
||||||
* @param {string} name - The name of the blendshape, per the
|
* @param {string} name - The name of the blendshape, per the
|
||||||
* {@link https://docs.projectathena.dev/create/avatars/avatar-standards.html#blendshapes Avatar Standards}.
|
* {@link https://docs.vircadia.dev/create/avatars/avatar-standards.html#blendshapes Avatar Standards}.
|
||||||
* @param {number} value - A value between <code>0.0</code> and <code>1.0</code>.
|
* @param {number} value - A value between <code>0.0</code> and <code>1.0</code>.
|
||||||
* @example <caption>Open your avatar's mouth wide.</caption>
|
* @example <caption>Open your avatar's mouth wide.</caption>
|
||||||
* MyAvatar.hasScriptedBlendshapes = true;
|
* MyAvatar.hasScriptedBlendshapes = true;
|
||||||
|
|
|
@ -790,7 +790,7 @@ EntityPropertyFlags EntityItemProperties::getChangedProperties() const {
|
||||||
* @property {string} actionData="" - Base-64 encoded compressed dump of the actions associated with the entity. This property
|
* @property {string} actionData="" - Base-64 encoded compressed dump of the actions associated with the entity. This property
|
||||||
* is typically not used in scripts directly; rather, functions that manipulate an entity's actions update it, e.g.,
|
* is typically not used in scripts directly; rather, functions that manipulate an entity's actions update it, e.g.,
|
||||||
* {@link Entities.addAction}. The size of this property increases with the number of actions. Because this property value
|
* {@link Entities.addAction}. The size of this property increases with the number of actions. Because this property value
|
||||||
* has to fit within a High Fidelity datagram packet, there is a limit to the number of actions that an entity can have;
|
* has to fit within a Vircadia datagram packet, there is a limit to the number of actions that an entity can have;
|
||||||
* edits which would result in overflow are rejected. <em>Read-only.</em>
|
* edits which would result in overflow are rejected. <em>Read-only.</em>
|
||||||
* @property {Entities.RenderInfo} renderInfo - Information on the cost of rendering the entity. Currently information is only
|
* @property {Entities.RenderInfo} renderInfo - Information on the cost of rendering the entity. Currently information is only
|
||||||
* provided for <code>Model</code> entities. <em>Read-only.</em>
|
* provided for <code>Model</code> entities. <em>Read-only.</em>
|
||||||
|
@ -1231,7 +1231,7 @@ EntityPropertyFlags EntityItemProperties::getChangedProperties() const {
|
||||||
* the PolyVox data. This property is typically not used in scripts directly; rather, functions that manipulate a PolyVox
|
* the PolyVox data. This property is typically not used in scripts directly; rather, functions that manipulate a PolyVox
|
||||||
* entity update it.
|
* entity update it.
|
||||||
* <p>The size of this property increases with the size and complexity of the PolyVox entity, with the size depending on how
|
* <p>The size of this property increases with the size and complexity of the PolyVox entity, with the size depending on how
|
||||||
* the particular entity's voxels compress. Because this property value has to fit within a High Fidelity datagram packet,
|
* the particular entity's voxels compress. Because this property value has to fit within a Vircadia datagram packet,
|
||||||
* there is a limit to the size and complexity of a PolyVox entity; edits which would result in an overflow are rejected.</p>
|
* there is a limit to the size and complexity of a PolyVox entity; edits which would result in an overflow are rejected.</p>
|
||||||
* @property {Entities.PolyVoxSurfaceStyle} voxelSurfaceStyle=2 - The style of rendering the voxels' surface and how
|
* @property {Entities.PolyVoxSurfaceStyle} voxelSurfaceStyle=2 - The style of rendering the voxels' surface and how
|
||||||
* neighboring PolyVox entities are joined.
|
* neighboring PolyVox entities are joined.
|
||||||
|
@ -1382,7 +1382,7 @@ EntityPropertyFlags EntityItemProperties::getChangedProperties() const {
|
||||||
* var METERS_TO_INCHES = 39.3701;
|
* var METERS_TO_INCHES = 39.3701;
|
||||||
* var entity = Entities.addEntity({
|
* var entity = Entities.addEntity({
|
||||||
* type: "Web",
|
* type: "Web",
|
||||||
* sourceUrl: "https://projectathena.io/",
|
* sourceUrl: "https://vircadia.com/",
|
||||||
* position: Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0.75, z: -4 })),
|
* position: Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0.75, z: -4 })),
|
||||||
* rotation: MyAvatar.orientation,
|
* rotation: MyAvatar.orientation,
|
||||||
* dimensions: {
|
* dimensions: {
|
||||||
|
@ -5091,7 +5091,7 @@ bool EntityItemProperties::verifySignature(const QString& publicKey, const QByte
|
||||||
|
|
||||||
bool EntityItemProperties::verifyStaticCertificateProperties() {
|
bool EntityItemProperties::verifyStaticCertificateProperties() {
|
||||||
// True IFF a non-empty certificateID matches the static certificate json.
|
// True IFF a non-empty certificateID matches the static certificate json.
|
||||||
// I.e., if we can verify that the certificateID was produced by High Fidelity signing the static certificate hash.
|
// I.e., if we can verify that the certificateID was produced by Vircadia signing the static certificate hash.
|
||||||
return verifySignature(EntityItem::_marketplacePublicKey, getStaticCertificateHash(), QByteArray::fromBase64(getCertificateID().toUtf8()));
|
return verifySignature(EntityItem::_marketplacePublicKey, getStaticCertificateHash(), QByteArray::fromBase64(getCertificateID().toUtf8()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace TextureUsage {
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* <p>Describes the type of texture.</p>
|
* <p>Describes the type of texture.</p>
|
||||||
* <p>See also: {@link Material} and
|
* <p>See also: {@link Material} and
|
||||||
* {@link https://docs.projectathena.dev/create/3d-models/pbr-materials-guide.html|PBR Materials Guide}.</p>
|
* {@link https://docs.vircadia.dev/create/3d-models/pbr-materials-guide.html|PBR Materials Guide}.</p>
|
||||||
* <table>
|
* <table>
|
||||||
* <thead>
|
* <thead>
|
||||||
* <tr><th>Value</th><th>Name</th><th>Description</th></tr>
|
* <tr><th>Value</th><th>Name</th><th>Description</th></tr>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* The <code>Midi</code> API provides the ability to connect Interface with musical instruments and other external or virtual
|
* The <code>Midi</code> API provides the ability to connect Interface with musical instruments and other external or virtual
|
||||||
* devices via the MIDI protocol. For further information and examples, see the tutorial:
|
* devices via the MIDI protocol. For further information and examples, see the tutorial:
|
||||||
* <a href="https://docs.projectathena.dev/script/midi-tutorial.html">Use MIDI to Control Your Environment</a>.
|
* <a href="https://docs.vircadia.dev/script/midi-tutorial.html">Use MIDI to Control Your Environment</a>.
|
||||||
*
|
*
|
||||||
* <p><strong>Note:</strong> Only works on Windows.</p>
|
* <p><strong>Note:</strong> Only works on Windows.</p>
|
||||||
*
|
*
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace NetworkingConstants {
|
||||||
// at https://staging.highfidelity.com/user/tokens/new?for_domain_server=true
|
// at https://staging.highfidelity.com/user/tokens/new?for_domain_server=true
|
||||||
|
|
||||||
const QUrl METAVERSE_SERVER_URL_STABLE { "https://metaverse.highfidelity.com" };
|
const QUrl METAVERSE_SERVER_URL_STABLE { "https://metaverse.highfidelity.com" };
|
||||||
const QUrl METAVERSE_SERVER_URL_STAGING { "https://staging.projectathena.io" };
|
const QUrl METAVERSE_SERVER_URL_STAGING { "https://staging-metaverse.vircadia.com" };
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString HIFI_URL_SCHEME_ABOUT = "about";
|
const QString HIFI_URL_SCHEME_ABOUT = "about";
|
||||||
|
|
|
@ -73,7 +73,7 @@ public slots:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Opens Steam's "Choose Friends to invite" dialog if Interface is running under Steam.
|
* Opens Steam's "Choose Friends to invite" dialog if Interface is running under Steam.
|
||||||
* @function Steam.openInviteOverlay
|
* @function Steam.openInviteOverlay
|
||||||
* @example <caption>Invite Steam friends to join you in High Fidelity.</caption>
|
* @example <caption>Invite Steam friends to join you in Vircadia.</caption>
|
||||||
* if (Steam.running) {
|
* if (Steam.running) {
|
||||||
* print("Invite Steam friends to joint you...");
|
* print("Invite Steam friends to joint you...");
|
||||||
* Steam.openInviteOverlay();
|
* Steam.openInviteOverlay();
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// libraries/render-utils/src
|
// libraries/render-utils/src
|
||||||
//
|
//
|
||||||
// Created by HifiExperiments on 4/16/2020.
|
// Created by HifiExperiments on 4/16/2020.
|
||||||
// Copyright 2020 Vircadia
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -223,7 +223,7 @@ public slots:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the "front" direction that the camera would face if its orientation was set to the quaternion value.
|
* Gets the "front" direction that the camera would face if its orientation was set to the quaternion value.
|
||||||
* This is a synonym for {@link Quat(0).getForward|Quat.getForward}.
|
* This is a synonym for {@link Quat(0).getForward|Quat.getForward}.
|
||||||
* The High Fidelity camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
* The Vircadia camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
||||||
* @function Quat(0).getFront
|
* @function Quat(0).getFront
|
||||||
* @param {Quat} orientation - A quaternion representing an orientation.
|
* @param {Quat} orientation - A quaternion representing an orientation.
|
||||||
* @returns {Vec3} The negative z-axis rotated by <code>orientation</code>.
|
* @returns {Vec3} The negative z-axis rotated by <code>orientation</code>.
|
||||||
|
@ -233,7 +233,7 @@ public slots:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the "forward" direction that the camera would face if its orientation was set to the quaternion value.
|
* Gets the "forward" direction that the camera would face if its orientation was set to the quaternion value.
|
||||||
* This is a synonym for {@link Quat(0).getFront|Quat.getFront}.
|
* This is a synonym for {@link Quat(0).getFront|Quat.getFront}.
|
||||||
* The High Fidelity camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
* The Vircadia camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
||||||
* @function Quat(0).getForward
|
* @function Quat(0).getForward
|
||||||
* @param {Quat} orientation - A quaternion representing an orientation.
|
* @param {Quat} orientation - A quaternion representing an orientation.
|
||||||
* @returns {Vec3} The negative z-axis rotated by <code>orientation</code>.
|
* @returns {Vec3} The negative z-axis rotated by <code>orientation</code>.
|
||||||
|
@ -245,7 +245,7 @@ public slots:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the "right" direction that the camera would have if its orientation was set to the quaternion value.
|
* Gets the "right" direction that the camera would have if its orientation was set to the quaternion value.
|
||||||
* The High Fidelity camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
* The Vircadia camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
||||||
* @function Quat(0).getRight
|
* @function Quat(0).getRight
|
||||||
* @param {Quat} orientation - A quaternion representing an orientation.
|
* @param {Quat} orientation - A quaternion representing an orientation.
|
||||||
* @returns {Vec3} The x-axis rotated by <code>orientation</code>.
|
* @returns {Vec3} The x-axis rotated by <code>orientation</code>.
|
||||||
|
@ -254,7 +254,7 @@ public slots:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the "up" direction that the camera would have if its orientation was set to the quaternion value.
|
* Gets the "up" direction that the camera would have if its orientation was set to the quaternion value.
|
||||||
* The High Fidelity camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
* The Vircadia camera has axes <code>x</code> = right, <code>y</code> = up, <code>-z</code> = forward.
|
||||||
* @function Quat(0).getUp
|
* @function Quat(0).getUp
|
||||||
* @param {Quat} orientation - A quaternion representing an orientation.
|
* @param {Quat} orientation - A quaternion representing an orientation.
|
||||||
* @returns {Vec3} The y-axis rotated by <code>orientation</code>.
|
* @returns {Vec3} The y-axis rotated by <code>orientation</code>.
|
||||||
|
|
|
@ -417,7 +417,7 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Provides access to methods or objects provided in an external JavaScript or JSON file.
|
* Provides access to methods or objects provided in an external JavaScript or JSON file.
|
||||||
* See {@link https://docs.projectathena.dev/script/js-tips.html} for further details.
|
* See {@link https://docs.vircadia.dev/script/js-tips.html} for further details.
|
||||||
* @function Script.require
|
* @function Script.require
|
||||||
* @param {string} module - The module to use. May be a JavaScript file, a JSON file, or the name of a system module such
|
* @param {string} module - The module to use. May be a JavaScript file, a JSON file, or the name of a system module such
|
||||||
* as <code>"appUi"</code> (i.e., the "appUi.js" system module JavaScript file).
|
* as <code>"appUi"</code> (i.e., the "appUi.js" system module JavaScript file).
|
||||||
|
@ -528,7 +528,7 @@ public:
|
||||||
Q_INVOKABLE QUrl resourcesPath() const;
|
Q_INVOKABLE QUrl resourcesPath() const;
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Starts timing a section of code in order to send usage data about it to High Fidelity. Shouldn't be used outside of the
|
* Starts timing a section of code in order to send usage data about it to Vircadia. Shouldn't be used outside of the
|
||||||
* standard scripts.
|
* standard scripts.
|
||||||
* @function Script.beginProfileRange
|
* @function Script.beginProfileRange
|
||||||
* @param {string} label - A name that identifies the section of code.
|
* @param {string} label - A name that identifies the section of code.
|
||||||
|
@ -536,7 +536,7 @@ public:
|
||||||
Q_INVOKABLE void beginProfileRange(const QString& label) const;
|
Q_INVOKABLE void beginProfileRange(const QString& label) const;
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Finishes timing a section of code in order to send usage data about it to High Fidelity. Shouldn't be used outside of
|
* Finishes timing a section of code in order to send usage data about it to Vircadia. Shouldn't be used outside of
|
||||||
* the standard scripts.
|
* the standard scripts.
|
||||||
* @function Script.endProfileRange
|
* @function Script.endProfileRange
|
||||||
* @param {string} label - A name that identifies the section of code.
|
* @param {string} label - A name that identifies the section of code.
|
||||||
|
|
|
@ -22,9 +22,9 @@
|
||||||
#include "GLMHelpers.h"
|
#include "GLMHelpers.h"
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* The <code>Vec3</code> API provides facilities for generating and manipulating 3-dimensional vectors. High Fidelity uses a
|
* The <code>Vec3</code> API provides facilities for generating and manipulating 3-dimensional vectors. Vircadia uses a
|
||||||
* right-handed Cartesian coordinate system where the y-axis is the "up" and the negative z-axis is the "front" direction.
|
* right-handed Cartesian coordinate system where the y-axis is the "up" and the negative z-axis is the "front" direction.
|
||||||
* <img alt="High Fidelity coordinate system" src="https://apidocs.projectathena.dev/images/opengl-coord-system.jpg" />
|
* <img alt="Vircadia coordinate system" src="https://apidocs.vircadia.dev/images/opengl-coord-system.jpg" />
|
||||||
*
|
*
|
||||||
* @namespace Vec3
|
* @namespace Vec3
|
||||||
* @variation 0
|
* @variation 0
|
||||||
|
|
|
@ -103,9 +103,9 @@ public:
|
||||||
* @function Tablet.getTablet
|
* @function Tablet.getTablet
|
||||||
* @param {string} name - A unique name that identifies the tablet.
|
* @param {string} name - A unique name that identifies the tablet.
|
||||||
* @returns {TabletProxy} The tablet instance.
|
* @returns {TabletProxy} The tablet instance.
|
||||||
* @example <caption>Display the High Fidelity home page on the system tablet.</caption>
|
* @example <caption>Display the Vircadia home page on the system tablet.</caption>
|
||||||
* var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
* var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||||
* tablet.gotoWebScreen("https://projectathena.io/");
|
* tablet.gotoWebScreen("https://vircadia.com/");
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE TabletProxy* getTablet(const QString& tabletId);
|
Q_INVOKABLE TabletProxy* getTablet(const QString& tabletId);
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// Copyright 2015 High Fidelity, Inc.
|
// Copyright 2015 High Fidelity, Inc.
|
||||||
// kevintown.net
|
// kevintown.net
|
||||||
//
|
//
|
||||||
// JavaScript for the High Fidelity interface that creates an away from keyboard functionality by providing a UI and keyPressEvent which will mute toggle the connected microphone, face tracking dde and set the avatar to a hand raise pose.
|
// JavaScript for the Vircadia interface that creates an away from keyboard functionality by providing a UI and keyPressEvent which will mute toggle the connected microphone, face tracking dde and set the avatar to a hand raise pose.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -114,7 +114,7 @@ Script.setInterval(function () {
|
||||||
if (isModel) {
|
if (isModel) {
|
||||||
properties.modelURL = type;
|
properties.modelURL = type;
|
||||||
} else if (type === 'Web') {
|
} else if (type === 'Web') {
|
||||||
properties.sourceUrl = 'https://projectathena.io';
|
properties.sourceUrl = 'https://vircadia.com';
|
||||||
} else {
|
} else {
|
||||||
properties.color = { red: x / ROWS_X * 255, green: y / ROWS_Y * 255, blue: z / ROWS_Z * 255 };
|
properties.color = { red: x / ROWS_X * 255, green: y / ROWS_Y * 255, blue: z / ROWS_Z * 255 };
|
||||||
if (type === 'ParticleEffect') {
|
if (type === 'ParticleEffect') {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Created by Eric Levin on 3/7/2016
|
// Created by Eric Levin on 3/7/2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is the chapter 1 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
// This is the chapter 1 entity script of the fireworks tutorial (https://docs.vircadia.dev/docs/fireworks-scripting-tutorial)
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Created by Eric Levin on 3/7/2016
|
// Created by Eric Levin on 3/7/2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is the chapter 1 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
// This is the chapter 1 interface script of the fireworks tutorial (https://docs.vircadia.dev/docs/fireworks-scripting-tutorial)
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Created by Eric Levin on 3/7/2016
|
// Created by Eric Levin on 3/7/2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is the chapter 2 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
// This is the chapter 2 entity script of the fireworks tutorial (https://docs.vircadia.dev/docs/fireworks-scripting-tutorial)
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Created by Eric Levin on 3/7/2016
|
// Created by Eric Levin on 3/7/2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is the chapter 2 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
// This is the chapter 2 interface script of the fireworks tutorial (https://docs.vircadia.dev/docs/fireworks-scripting-tutorial)
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Created by Eric Levin on 3/7/2016
|
// Created by Eric Levin on 3/7/2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is the chapter 3 entity script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
// This is the chapter 3 entity script of the fireworks tutorial (https://docs.vircadia.dev/docs/fireworks-scripting-tutorial)
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Created by Eric Levin on 3/7/2016
|
// Created by Eric Levin on 3/7/2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
//
|
//
|
||||||
// This is the chapter 3 interface script of the fireworks tutorial (https://docs.highfidelity.com/docs/fireworks-scripting-tutorial)
|
// This is the chapter 3 interface script of the fireworks tutorial (https://docs.vircadia.dev/docs/fireworks-scripting-tutorial)
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
|
|
|
@ -430,7 +430,7 @@ const DEFAULT_ENTITY_PROPERTIES = {
|
||||||
y: 0.9,
|
y: 0.9,
|
||||||
z: 0.01
|
z: 0.01
|
||||||
},
|
},
|
||||||
sourceUrl: "https://projectathena.io/",
|
sourceUrl: "https://vircadia.com/",
|
||||||
dpi: 30,
|
dpi: 30,
|
||||||
},
|
},
|
||||||
ParticleEffect: {
|
ParticleEffect: {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
//
|
//
|
||||||
// Created by Ryan Huffman on 13 Nov 2014
|
// Created by Ryan Huffman on 13 Nov 2014
|
||||||
// Copyright 2014 High Fidelity, Inc.
|
// Copyright 2014 High Fidelity, Inc.
|
||||||
// Copyright 2020 Project Athena contributors.
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// tabs.css
|
// tabs.css
|
||||||
//
|
//
|
||||||
// Created by Alezia Kurdis on 27 Feb 2020
|
// Created by Alezia Kurdis on 27 Feb 2020
|
||||||
// Copyright 2020 Project Athena contributors.
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// VERSION 1.0
|
// VERSION 1.0
|
||||||
//
|
//
|
||||||
// Created by Keb Helion, February 2020.
|
// Created by Keb Helion, February 2020.
|
||||||
// Copyright 2020 Project Athena and contributors.
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// This script adds a "More Apps" selector to "Project Athena" to allow the user to add optional functionalities to the tablet.
|
// This script adds a "More Apps" selector to "Project Athena" to allow the user to add optional functionalities to the tablet.
|
||||||
// This application has been designed to work directly from the Github repository.
|
// This application has been designed to work directly from the Github repository.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
styles.css
|
styles.css
|
||||||
|
|
||||||
Created by Kalila L. on 23 Feb 2020.
|
Created by Kalila L. on 23 Feb 2020.
|
||||||
Copyright 2020 Project Athena and contributors.
|
Copyright 2020 Vircadia contributors.
|
||||||
|
|
||||||
Distributed under the Apache License, Version 2.0.
|
Distributed under the Apache License, Version 2.0.
|
||||||
See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// more.html
|
// more.html
|
||||||
//
|
//
|
||||||
// Created by Keb Helion, February 2020.
|
// Created by Keb Helion, February 2020.
|
||||||
// Copyright 2020 Project Athena and contributors.
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// App maintained in: https://github.com/kasenvr/community-apps
|
// App maintained in: https://github.com/kasenvr/community-apps
|
||||||
// App copied to: https://github.com/kasenvr/project-athena
|
// App copied to: https://github.com/kasenvr/project-athena
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
//
|
//
|
||||||
// Created by Dante Ruiz on 8 February 2017
|
// Created by Dante Ruiz on 8 February 2017
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
// Copyright 2020 Project Athena contributors.
|
// Copyright 2020 Vircadia contributors.
|
||||||
//
|
//
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "VircadiaConsole",
|
"name": "VircadiaConsole",
|
||||||
"description": "Vircadia Console",
|
"description": "Vircadia Console",
|
||||||
"author": "High Fidelity",
|
"author": "Vircadia",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
Loading…
Reference in a new issue