npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@seedata/renderman

v0.0.4

Published

这是一个集成unreal engine像素流信令服务器和分布式管理的的程序,支持实时启停UE4渲染实例,支持渲染实例分布式部署,由manage模块统一调度分配。

Downloads

2

Readme

@seedata/renderman

这是一个集成unreal engine像素流信令服务器和分布式管理的的程序,支持实时启停UE4渲染实例,支持渲染实例分布式部署,由manage模块统一调度分配。

安装

  1. 首先安装nodejs,可以到 https://nodejs.org 下载安装程序
  2. 安装好后再控制台执行命令npm install @seedata/renderman -g安装renderman

启动服务

程序分为管理端和渲染端,管理端和渲染端是一对多的关系,当有多个渲染端连接到管理端的时候,管理端会根据各个渲染端的负载情况自动分配渲染实例,管理端通过命令renderman manage命令启动,渲染端通过renderman render命令启动 启动方式如下:

  1. 首先执行命令renderman genConfig genConfig manage 会在工作目录下生成管理端配置文件
{
	"useFrontend": true,  // 是否使用前端程序
	"httpHost": "127.0.0.1",  // http服务器ip地址
	"httpPort": 80,      // http服务器端口
	"streamerPort": 8888,  // 信令服务器端口
	"renderServerHost": "127.0.0.1",  // 渲染服务器IP地址
	"renderServerPort": 8866,   // 渲染服务器端口
	"logLevel": "error",  // 日志等级 支持 error, warn, info, verbose, debug, silly
	"logToFile": true,  // 日志写入到文件
	"logfilePath": "log",  // 日志文件目录
	"peerConnectionOptions": {}  // 虚幻引擎和客户端握手webRtc配置信息
}
  1. 修改配置文件后 执行命令 renderman manage 启动信令服务器。

  2. 然后到渲染机器上执行renderman genConfig render在工作目录下生成一个渲染端配置文件。(同样需要执行安装服务步骤,安装renderman程序)

{
	"renderName": "",     // 渲染端名称
	"renderServerHost": "127.0.0.1",   // 管理服务器ip地址
	"renderServerPort": 8866,  // 管理服务器端口
	"renderServerURL": null,  // 管理服务器websocket链接,优先使用这个参数,如果设置后,renderServerHost和renderServerPort则无效。
	"nvidiaSmiPath": "/usr/bin/nvidia-smi",  // 英伟达显卡smi程序位置,用于监控渲染机器负载情况
	"task": {
		"cwd": "/home/kelin/LinuxClient2",  // 运行虚幻实例所在的目录
		"exec": "sh ./MetaDemo.sh -RenderOffscreen -PixelStreamingURL=\"ws://192.168.1.3:8888/?taskId={taskId}\"" // 运行虚幻实例需要执行的命令
	},
	"logLevel": "error",  // 日志等级 支持 error, warn, info, verbose, debug, silly
	"logToFile": true,  // 日志写入到文件
	"logfilePath": "log",  // 日志文件目录
	"peerConnectionOptions": {}  // 虚幻引擎和客户端握手webRtc配置信息
}
  1. 修改好配置文件后执行 renderman render命令启动渲染服务