MicroZero教程 1.4 ZeroCenter配置文件说明

# zero_center.json

{
  "zero": {
    "base_tcp_port": 7999,
    "use_ipc_protocol": false,
    "worker_sound_ivl": 2000,
    "plan_exec_timeout": 300,
    "pool_timeout": 500,
    "plan_cache_size": 1024,
    "api_route_mode": 0,
    "monitor_socket": false,
    "trace_net": true,
    "service_key": "123456"
  },
  "redis": {
    "addr": "127.0.0.1:6379",
    "defdb": "20"
  },
  "ZMQ": {
    "MAX_SOCKETS": -1,
    "IO_THREADS": -1,
    "MAX_MSGSZ": -1,
    "IMMEDIATE": 1,
    "LINGER": 50,
    "RCVTIMEO": 500,
    "SNDTIMEO": 500,
    "SNDHWM": -1,
    "RCVHWM": -1,
    "SNDBUF": -1,
    "RCVBUF": -1,
    "BACKLOG": 8192,
    "RECONNECT_IVL": -1,
    "CONNECT_TIMEOUT": -1,
    "RECONNECT_IVL_MAX": -1,
    "TCP_KEEPALIVE": 1,
    "TCP_KEEPALIVE_IDLE": 120,
    "TCP_KEEPALIVE_INTVL": 3,
    "HEARTBEAT_IVL": 1,
    "HEARTBEAT_TIMEOUT": 1000,
    "HEARTBEAT_TTL": 10000
  }
}

zero节

基本配置

  • base_tcp_port
    基本的Tcp端口 ,使用前先+1,即设置为最小端口(SystemManage服务端口) - 1
  • use_ipc_protocol
    是否使用Ipc协议,仅限本机使用
  • worker_sound_ivl
    工作站点计数广播周期(ms),每个周期广播一次站点状态
  • plan_exec_timeout
    计划任务执行超时
  • plan_cache_size
    计划任务在内存中的缓存数量
  • pool_timeout
    内部EPool等待时长
  • api_route_mode
    是否使用ROUTE模式实现API的Socket类型
  • monitor_socket
    是否使用ZMQ的Monitor
  • trace_net
    是否启用ZeroTrace的网络数据流程跟踪
  • service_key
    站点的校验令牌

redis节

内部配置存储使用了Redis,后续可能取消

  • addr
    保存数据用的Redis地址 格式为 [host]:[port]:[pwd]
  • defdb
    默认使用哪一个Redis的db,用于防止Key污染

ZMQ节

Zmq的Socket的配置,详细参见ZMQAPI的zmq-setsockopt函数

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
https://assetstore.unity.com/packages/tools/level-design/bakery-gpu-lightmapper-122218 Bakery is a high-end, production-ready, hassle-free GPU lightmapper, designed as an alternative to Enlighten and Progressive. NOTE: Requires modern Nvidia GPU (6xx or newer) and 64-bit Windows (7 or higher). Doesn't support AMD cards for baking. Doesn't support Macs. Tested on everything from Unity 5.6 to 2019.3.4. Resulting lightmaps are compatible with all platforms. Manual - make sure you read FAQ Forum thread Features: - Physically correct baked lighting. All results were compared against Mitsuba offline renderer. - Performance: uses GPU for ray-tracing. - Can take advantage of (but not requires) RTX hardware. - Uses NVidia AI Denoiser to remove noise, powered by deep learning. - Fixes common baking artifacts, such as lighting leaks and UV seams. - Global Illumination (supports custom shaders). - Sky lighting (HDRI or color). - Emissive textured meshes. - IES Lights. - Directional, point, spot light sources. - Materials: supports albedo, emissive, opacity. - Can produce both complete and indirect lightmaps, or even mix both per-light. - Can produce shadowmasks. - Supports directional baking (bump/specular) with 4 modes: dominant direction (compatible with most shaders), Radiosity Normal Mapping, per-pixel spherical harmonics, as well as simply baking normal maps to diffuse. - Selective render is supported. - Light probes. - Automatic atlas packing. - Supports Mesh Renderers, Skinned Meshes and Terrains. - Supports LODs. - Supports baked prefabs. - Real-time ray traced preview can be additionally installed. Some notable games shipped using Bakery: Call of Duty Mobile Totally Accurate Battle Simulator Dead and Buried II ... and many more!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值