cocos roadmap

WSL安装报错解析与完整解决方案 Windows Subsystem for Linux(WSL)是微软推出的重要开发工具,允许开发者在Windows系统上直接运行Linux环境。其工作原理是通过轻量级虚拟化技术实现Linux内核与Windows系统的深度集成,大幅提升了跨平台开发效率。在安装过程中,常见的'无法识别wsl命令'错误通常源于系统组件未启用或环境配置问题。通过启用Windows功能、更新WSL内核以及正确配置系统路径等步骤可以解决。WSL特别适合需要同时使用Windows和Linux工具的开发者,常见于Python开发、Doc 阅读详情

Cocos2d (v.3.0) rendering pipeline roadmap


https://docs.google.com/document/d/1WV7m2vL4LfsAGtFDApd1X_z5tZaxqUAnx_rLjIHFzi0/edit?copiedFromTrash



Why (the vision)



The way currently Cocos2d does rendering is good but it is beginning to feel somehow antiquate and moreover it doesn’t actually leverage modern multi core CPUs so popular nowadays on most modern tablets and mobile phones.

So we want to re design Cocos renderer, for making it more performing, elegant, scalable, flexible but still simple to use and to understand. Also we want to maintain that same familiar API that current Cocos2d users will feel immediately comfortable with, without having to bother about what’s changed or new under the hood.

We will do this maintaining the same key cornerstone concepts Cocos2d users get to know and like as Scenes, Nodes, Layers, Sprites.  




What (the goals)


Here is a high level view of the new features and improvements we would like to achieve in Cocos2d v.3.0:


Decouple the scene graph from the renderer

Visiting nodes issues graphics commands and put them on a queue, but doesn’t actually invoke any OpenGL rendering code  


Viewing frustum Geometry culling

Sprites (and geometries more in general) not visible from the camera’s point of view be automatically removed from the current frame and not rendered


Rendering on a thread

The execution of all the rendering commands (i.e. OpenGL calls) will be moved to different thread than the main one (this will allow for better parallelism and usage of more than one CPUs cores where possible)


Automatic batching

Efficiently reduces the number of draw calls (automatically) batching them together when possible (i.e. sprites using the same material)


(Node based) Customizable rendering

As in the current version of Cocos, users will still be able (if needed) to customize rendering on a per node basis, calling OpenGL commands directly, disregarding the official renderer (but possibly incurring on worst performances)




How (the plan)


Central to the new design is the notion CommandQueue. While visiting a node, rendering will not call OpenGL commands directly anymore (as currently is the case); it will instead push CocosGraphicsCommands to a queue. Commands In the queue will subsequently be read by the rendering backend, processed as needed and pushed to the actual rendering API (i.e. OpenGL) (see picture)


The rendering backend (running on his own thread) will in turn pop graphics commands from the queue, process them and actually execute them. Any locking or CPU expensive OpenGL commands will be then executed from the back-end thread, letting Cocos’ main thread free continue working on parsing the scene graph or doing other non rendering related tasks. This will help parallelism and will allow for using multi core CPU’s (see picture)





With Cocos2d-x 3.00 we also want to introduce the concept of automatic batching.  In fact we believe reducing the number of draw calls and render device state changes will improve drastically rendering speed.

In order to achieve very good batching, we would like to introduce also a new concept of “attributes” for Layers (formally CCLayer). There are going to (at least) 3 new Layer attributes:


  • Unordered

  • Static

  • Batch



Unordered Layer (formally CCLayer)



We want now focus on Unordered Layers, which are going to help achieving auto batching for improving rendering performance.

Rendering order in Cocos2d is dictated by the “order” nodes are arranged in the scene graph (see picture)


This is still going to be true still in V.3.0 unless the Layer is tagged as Unordered.

The Unordered attribute will instruct the Layer to disregard rendering order for all of his children (see picture)

The graphics commands will then be put in the CommandQueue and a special “unordered tag” will be place in the command queue as well for instructing the rendered to disregard the order and re arrange graphics commands so to render all the primitives using the same material in one draw call. Rendering all primitives (that use the same “material”) in one go will make rendering much faster, especially on mobile devices.



Static Layer


Layers tagged as static, will be treated as if all children will not going to be translated/rotated/zoomed (transformed) during the entire lifespan of the layer. This will allow Cocos performing expensive operations as matrices concatenation or computing culling information (i.e. quad-tree) only once (typically before the first rendering pass) improving drastically performance. Note that sprites in a static Layer can still be “animated” as far as they’re not transformed or scaled.



Batch Layer


A batch layers will behave very similarly to how a Batch Node (CCBatchNode) currently works in Cocos2d. All the children of a batch layer will HAVE to use the same “material” thus allowing the front end to combine all the draw calls for that layer in one single one. (Erroneously) Adding children that use a different material to a Batch Layer will trigger an Assert ().



Automatic Culling


To do



Rendering context (RenderBucket, RenderTarget, Camera, viewport)

To do



Rendering and materials system


To do



Customize rendering for nodes

To do



















从零理解域随机化:通过Isaac Lab的events.py掌握Sim-to-Real关键技术 本文深入解析域随机化技术如何通过Isaac Lab的events.py实现Sim-to-Real迁移,提升机器人策略在真实世界的鲁棒性。从刚体属性到环境条件的系统级随机化,详细介绍了工程实践中的关键参数配置与调试技巧,帮助开发者有效缩小仿真与现实的差距。 阅读详情

相关推荐

ESP32-S3开发环境避坑指南:VS Code+ESP-IDF离线安装全流程(附国内镜像加速)

本文提供了一份详细的ESP32-S3开发环境离线安装指南,重点解决网络依赖问题。通过整合国内镜像加速,手把手教你完成VS Code、ESP-IDF框架、工具链及Python依赖的本地化部署,实现稳定、可重复的开发环境搭建,大幅提升IoT开发效率。

peach的博客 970

Roadmap : Cocos Creator v1.6,新增功能你说了算!

本周二Cocos Creator v1.5 正式版本刚发布不久,引擎团队就马不停蹄地投入到小版本的修复和下一个版本的开发工作中。目前已知关于下一个版本的重点功能预告如下:Creator v1.6重点功能预告1、Bug修复。社区里很多人提出了来一个『0 Feature』的版本,我觉得这个建议蛮好,v1.6的主要基调就是修bug,以及提高性能。2、文档更新。虽然同事们一直在努力更新文档,但是我看了论...

Cocos的博客 106

Mac上快速部署DeepSeek模型:Ollama终端操作全指南

本文详细介绍了在Mac上使用Ollama终端快速部署DeepSeek模型的完整指南。从硬件要求、Ollama安装、模型下载运行,到高级配置、可视化界面及常见问题解决,提供了全流程操作步骤与优化技巧,帮助开发者高效搭建本地AI助手,实现稳定、私密的离线使用体验。

weixin_29251567的博客 692

高屋建瓴 cocos2d-x-3.0架构设计 Cocos2d (v.3.0) rendering pipeline roadmap(原文)

Cocos2d (v.3.0) rendering pipeline roadmap   Why (the vision) The way currently Cocos2d does rendering is good but it is beginning to feel somehow antiquate and moreover it doesn’t actually leverag

aganlengzi的专栏 1996

别再到处找模型了!手把手教你用Xinference+Docker部署本地私有大模型(Llama2/Qwen实战)

本文详细介绍了如何使用Xinference和Docker部署本地私有化大模型(如Llama2/Qwen),涵盖硬件配置、模型管理、Docker部署及性能优化等关键步骤。通过实战案例,帮助开发者快速构建企业级AI推理服务,确保数据安全与高效运行。

weixin_28683065的博客 242

OpenCV轮廓匹配实战:5分钟搞定Hu矩形状识别(附完整代码)

本文详细介绍了使用OpenCV进行轮廓匹配的实战技术,重点讲解了Hu矩形状识别在工业质检等领域的应用。通过完整的代码示例和参数调优技巧,帮助开发者在5分钟内实现高效的形状识别,提升工业检测的准确性和效率。

nnn11的博客 680

【Cocos Creator基础教程(组件篇)】——TiledMap(瓦片地图)

Tiled Map Editor:下载(window 64位汉化,包括下面用到的资源和工程源码): http://download.csdn.net/download/potato47/9516578

Next的博客 6万+

HCIA-Storage 存储工程师学习笔记——1. 存储技术趋势

文章目录1. 存储技术趋势1.1 数据、信息与数据存储1.2 存储技术的发展①存储架构的发展②存储介质的发展③ 接口协议的发展1.3 存储产品的发展趋势 华为HCIA-Storage认证地址:https://e.huawei.com/cn/talent/#/cert/roadmap 1. 存储技术趋势 1.1 数据、信息与数据存储 什么是数据? ​ 数据是对所有事物的数字表示。 数据的种类? 结构化数据 半结构化数据 非结构化数据 数据的处理周期 ​ 数据处理是人或机器对数据进行的重组或重新排序,

超级大洋葱的博客 2854

Cocos2d v30 renderer pipeline roadmap

Cocos2d v30 renderer pipeline roadmap Why (the vision) The way currently Cocos2d does rendering is good but it is beginning to feel somehow antiquate and moreover it doesn’t actually leverage mode

wanglang3081的专栏 1002

李宏毅机器学习笔记第17周_概述领域自适应(Domain Adaptation)

Domain Adaptation

peaunt1的博客 1112

C#串口通信从入门到精通(26)——多个串口多个线程发送数据和接收数据

本文介绍如何在多个串口下使用多线程进行发送和接收数据,由高级工程师多年经验总结而成,绝对是串口领域的实战经验!

qq_34059233的博客 8720

Cocos 沙龙终于来杭州了,好激动!

Cocos 沙龙来杭州了!Cocos 沙龙来杭州了!Cocos 沙龙来杭州了!Cocos 开发者沙龙全国巡回已经有一段时间,我们曾先后去过上海、成都、深圳、广州等地。为了响应杭州当地开发者需求,当然还有东坡肉、西湖醋鱼、叫化鸡、宋嫂鱼羹等的召唤,Cocos 「杭州站」开发者沙龙将于本周六 14:00 在上城区白云路 9 号江南 1535(十六铺咖啡)举办!首次入杭,我们当然诚意满满地请来了超重量级...

Cocos的博客 118

【赛题解析&命令脚本配置】2023年全国职业院校技能大赛GZ073网络系统管理赛项赛题第9套模块A:网络构建 & (三)无线网络配置+(四)出口网络配置-命令配置

【赛题解析&命令脚本配置】2023年全国职业院校技能大赛GZ073网络系统管理赛项赛题第9套模块A:网络构建 & (三)无线网络配置+(四)出口网络配置-命令配置

君逍遥o 1027

Cocos 开发者沙龙「深圳站」精彩回顾

10 月 13 日下午,由 Cocos 主办,AdColony 协办的新一轮 Cocos 开发者沙龙在第一站深圳南山隆重拉开帷幕。数百名一线核心开发者齐聚一堂,与重磅嘉宾们共同探讨当下手游开发圈最热门的市场资讯。沙龙现场座无虚席,演讲嘉宾们各自分享了 Cocos 最新产品动态和后续版本计划;如何抢滩当前最夯的快游戏平台并最大化实现流量变现;几大小游戏平台生态发展以及当前区块链游戏市场的研发之路等等...

Cocos的博客 175

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

Cocos Creator 多语言组件实现

简介基于cocos creator 2.4.3 的一个手游项目模板, 提供一些自定义组件以及 Demo。项目地址:https://github.com/yanjifa/game-template本次着重介绍多语言组件Demo在线查看:https://yanjifa.github.io/web-desktop/目前的多语言组件如果想对已经上线的项目进行多语言支持, 普遍都要对每个 Label组件都操...

Cocos的博客 603

RU DOS版、EFI版32bit/64bit BIOS常用工具

DOS版、EFI版的RU工具,可用来查看IO、MEM、PCI、SMBIOS等资源。亲测在EFI SHELL下可用。

「直播预告」Cocos Creator v1.6新功能剧透

经过两个多月紧张开发,小伙伴们万众瞩目的Cocos Creator v1.6版本很快就要跟大家见面了。大版本继续保持优化性能和提升体验,并且1.6还承担着为后续一系列重要的引擎进化打基础的重要职能。如果你已经迫不及待、想要一睹为快,那么千万别错过本周二晚八点Cocos斗鱼直播间,先人一步感受惊喜连连的Cocos Creator v1.6吧!本期直播我们将为大家介绍 1.6 版本的重要新特性,包括:...

Cocos的博客 65

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

文档模板版本比较API:ONLYOFFICE Docs对比模板变更的终极指南

ONLYOFFICE Docs是一款免费的协作式在线办公套件,包含文本、电子表格和演示文稿的查看器和编辑器,完全兼容Office Open XML格式,支持实时协作编辑。本文将详细介绍如何利用ONLYOFFICE Docs的文档模板版本比较功能,轻松追踪模板变更,提升团队协作效率。 ## 为什么需要文档模板版本比较功能? 在团队协作中,文档模板的频繁修改往往会导致版本混乱,难以追踪变更历史。O

gitblog_00440的博客 416

AndEngine与Cocos2d-x深度对比:2D游戏引擎选型实战指南

在移动游戏开发中,游戏引擎是构建项目的核心框架,其架构设计直接决定了开发效率与最终性能表现。引擎通过封装底层图形API(如OpenGL ES)和提供场景管理、物理模拟等模块,简化了游戏开发流程。理解引擎的渲染原理、内存管理机制和跨平台实现方式,对于优化游戏性能、避免常见问题(如Cocos2d游戏黑屏)至关重要。从技术价值看,合适的引擎能降低开发成本,提升代码可维护性,并保障项目长期稳定运行。在2D手游、微信小游戏等应用场景中,开发者常面临在轻量级原生引擎与功能丰富的跨平台引擎间的抉择。本文聚焦于AndEng

weixin_33675507的博客 377

Cocos2d (v.3.0) rendering pipeline roadmap

 Why (the vision) What (the goals) How (the plan) Commands Generating Keys Quad Commands OpenGL Commands 3D Commands Group Commands Auto Batching Au

Kaitiren的专栏 3134

Cocos Creator v1.6 内测:解决免编译、iOS网络问题、JS性能问题等

许多使用Creator引擎的开发者,不断通过各个渠道询问v1.6的发布时间。C姐想说,内测版都来了,正式版还会远吗?从早前1.6参与投票的Roadmap和先前小版本发布的社区热议度来看,大家对于1.6的期待值一直蹭蹭蹭上涨。值得肯定的是,这个版本满含引擎团队和开发者的希望与寄托,版本功能例如免编译、iOS网络问题、JavaScript性能等万众期待的亮点功能,通通都在这个版本中得到了完美诠释。C姐...

Cocos的博客 149

Cocos Creator 1.0正式版首次曝光 更好的工具给更出众的你

大家好,这里是 Cocos Creator 指挥中心,今天将会给大家带来不少有关1.0 正式版的第一手信息,相信能够涵盖大家最迫切想要了解的问题。自 Cocos Creator 在 1 月底发布 0.7 测试版后,我们在短短 1 个多月的时间里收到了来自论坛和 QQ 群里开发者们不计其数的反馈,在这里非常非常感谢大家的支持和厚爱。在这段时间的开发计划,也基本上是由两方面的力量所导向的:1. 根据...

Cocos的博客 70

Creator 插件商店教程:带你把玩数十个高品质插件

千呼万唤始出来!插件商店(Extension Store)终于伴随着Creator v1.4 正式上线了!插件商店有别于App Store的是,它是专门为了Creator 的各类插件提供交流的独立开放平台。独立开发人员或小规模游戏厂商可以通过低价甚至是免费的形式获得更多高品质插件,从而大大减少开发时间。今天Cocos君就专门开文安利一发,它究竟能给 Creator 用户们带来哪些更加振奋人心的性能...

Cocos的博客 512

CocosBuilder 值得关注的一个新项目

长久以来,Cocos2d一直缺乏一个好用的可视化编辑工具,使用Cocos2d的开发人员只能自己动手写代码来编辑场景,或者自己开发场景编辑器,这对于美术人员来说是一个不小的挑战,不像Unity那样对美术及策划人员都非常友好。 CocosBuilder项目还是一个刚刚开始的项目,不过从截图看,至少基本的场景编辑功能有了,也能够编辑一些transition的效果,更复杂的功能期待作者进一步完善。

白云哥 7558

直播回顾|使用第三方动画库控制卡牌快速发牌和实现角色战斗效果

各位,你们千呼万唤始出来的「直播回顾」热滚滚出炉啦~~首先你可以选择,畅快淋漓直接吃大餐,戳以下录制视频回顾:(别忘了看完视频还要继续下拉听听大神详解哦)当然你也可以选择,细嚼慢咽分层次进食,跟着C姐一起回顾当晚的精彩内容。本期任务- 雾霾侠战斗流程的完善- 使用 TweenLite 和序列帧动画结合驱动角色战斗动画- 点选攻击目标的实现直播回顾1.5 Roadmap 更新,2D Camera ...

Cocos的博客 270

全员戴口罩 4 周开发,3D v1.0.4 到底有多稳?

作为一款跨平台的游戏引擎,今年Cocos Creator 3D的目标是服务于跨端3D 游戏的开发需求,我们尤其关注移动原生平台的质量。上周五 Panda 也为我们带来了 Cocos Creator 3D 的 Roadmap,包括近期要发布的 v1.0.4 和 v1.1 以及更长远的规划,欢迎大家戳这里阅读!今日如约先为大家带来 Cocos Creator 3D v1.0.4这个更稳定的版本...

Cocos的博客 160

Creator 插件商店:高品质插件

资源处理类 资源引用查询 功能:将指定资源拖到目标资源框内并列出所有需要用到该资源的场景以及所在节点 点评:检查一下是否有冗余资源混进来了,尽量减少包体积呀。 TexturePacker碎图提取 功能:把TexturePacker合成的大图拆分成原始小图,并正确还原trim 后的图片大小 点评:是谁做了这么无聊的功能?哦,我理解了,方便程序员扒拉别人游戏里的美术资源,我猜...

weixin_30278237的博客 246
上一篇: 比微软kinect更强的视频跟踪算法--TLD跟踪算法介绍
下一篇: 要成为游戏开发人员需要有以下书籍(二)
两年磨剑
博客等级 码龄15年 6粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值