AssetServerProposal/Verse
From OpenSimulator
m (bot test - killing 'Template:' prefix from template includings and/or changing external-link to internal-link) |
Steevithak (Talk | contribs) m (updated a dead link to a related Wikipedia article) |
||
(2 intermediate revisions by one user not shown) | |||
Line 4: | Line 4: | ||
{{proposal}} | {{proposal}} | ||
− | To turn Cable Beach into a [ | + | To turn Cable Beach into a [https://en.wikipedia.org/wiki/Verse_protocol Verse] host, the Verse protocol needs to be implemented in C#. There was a previous effort to wrap libverse using P/Invoke, but this is now a dead project. |
− | ==Work Required== | + | == Work Required == |
Create a C# Verse library that implements: | Create a C# Verse library that implements: | ||
Line 23: | Line 23: | ||
* <s>Decoders for each message type that connect packets to callbacks and take action such as broadcasting the packet or sending it back to the client</s> | * <s>Decoders for each message type that connect packets to callbacks and take action such as broadcasting the packet or sending it back to the client</s> | ||
− | ===Estimate=== | + | === Estimate === |
− | A basic implementation (possibly only supporting one or two types of nodes) should be possible in two weeks or less. Once this library is created, a VerseFrontend.cs could be started for Cable Beach to create a Verse host. Some form of Verse file format would have to be created to make use of the storage backends, and logic would need to be added to balance between overloading the storage backend with small updates and potentially losing data by not saving to disk. This might take up to another two weeks. Finally, an | + | A basic implementation (possibly only supporting one or two types of nodes) should be possible in two weeks or less. Once this library is created, a VerseFrontend.cs could be started for Cable Beach to create a Verse host. Some form of Verse file format would have to be created to make use of the storage backends, and logic would need to be added to balance between overloading the storage backend with small updates and potentially losing data by not saving to disk. This might take up to another two weeks. Finally, an OpenSimulator (realXtend server?) Verse client could be written that subscribes to geometry data and converts subdivision surfaces into polygon meshes. The complexity of this depends on availability of algorithms to convert subdivision surfaces into polygons, and the amount of work required to inject new mesh objects into the OpenSimulator scene. A rough estimate would be one week. |
Total project time: Five weeks | Total project time: Five weeks |
Latest revision as of 11:42, 8 September 2020
This article or section is a Proposal It does not represent the current state of OpenSim, but is an idea for future work in OpenSim. Please feel free to update this page as part of the proposal discussion. |
To turn Cable Beach into a Verse host, the Verse protocol needs to be implemented in C#. There was a previous effort to wrap libverse using P/Invoke, but this is now a dead project.
[edit] Work Required
Create a C# Verse library that implements:
-
RSA encryption for login -
The modified XOR encryption used for packet encryption -
UDP server (the libomv UDP server can be used here) - Callback to connect login attempts to an authorization backend
-
Subscription commands for clients to subscribe to different data types - Geometry node command decoding
-
Command callback system -
Packet serialization/deserialization - Packet queuing (logging) system for incoming and outgoing, with event compression (searching for old commands to make obsolete)
- ACK/NAK system
- Ordered transmission mode for non-idempotent commands
-
Decoders for each message type that connect packets to callbacks and take action such as broadcasting the packet or sending it back to the client
[edit] Estimate
A basic implementation (possibly only supporting one or two types of nodes) should be possible in two weeks or less. Once this library is created, a VerseFrontend.cs could be started for Cable Beach to create a Verse host. Some form of Verse file format would have to be created to make use of the storage backends, and logic would need to be added to balance between overloading the storage backend with small updates and potentially losing data by not saving to disk. This might take up to another two weeks. Finally, an OpenSimulator (realXtend server?) Verse client could be written that subscribes to geometry data and converts subdivision surfaces into polygon meshes. The complexity of this depends on availability of algorithms to convert subdivision surfaces into polygons, and the amount of work required to inject new mesh objects into the OpenSimulator scene. A rough estimate would be one week.
Total project time: Five weeks