»
首页
|
手机数码
|
汽车资讯
|
游戏硬件
|
评测专题
|
手机壁纸
|
海淘值得买
|
度假
|
求职招聘
|
广告联系
» 您尚未登录:请
登录
|
注册
|
标签
|
帮助
|
小黑屋
|
TGFC Lifestyle
»
主机&掌机游戏讨论区
» PS3的开发工具的一些访谈,'Geometry Shading,' Art Assets
发新话题
发布投票
发布商品
发布悬赏
发布活动
发布辩论
发布视频
打印
PS3的开发工具的一些访谈,'Geometry Shading,' Art Assets
codjc
小黑屋
帖子
3287
精华
2
积分
21534
激骚
32 度
爱车
主机
相机
手机
注册时间
2006-5-16
发短消息
加为好友
当前离线
1
#
大
中
小
发表于 2006-11-26 16:29
只看该作者
http://psinext.e-mpire.com/index ... 712a227326d6f25b8a2
Sony's PSSG Project
Part II
'Geometry Shading,' Art Assets
PSINext: I'm happy that you brought up the 'geometry shading' aspect of PS3, as there has been ample discussion of late with regard to exactly that. We know that lighting models and particle systems make two readily understood candidates for the SPEs; when you look five years out from now, is your sense that graphics engines created for PS3 will increasingly treat SPEs and RSX as a single transparent graphics subsytem?
Jason Doig: I'm not sure how transparent it will be in other engines, but certainly with PSSG we've taken steps to put SPEs directly into the graphics pipeline. It's not completely transparent right now - you still after all have different restrictions and requirements for different stages of the pipeline. We do try to make the flow of data very easy to manage, however, even all the way back to the artist who created it, let alone the processes at runtime for rendering it. My suspicion would be that this process will continue to evolve, and we will see greater usage of the SPEs as an extension of the graphics pipeline in the future.
This should give us PS3 developers a lot of flexibility to keep up with any changes in the way CPUs and GPUs work in the PC space, where there seems to be a trend back towards unifying everything. PSSG for example, treats the interface between the geometry pipeline (usually running on SPEs) and a vertex shader in the same way as it treats the interface between the vertex shader and the pixel shader. So it's just a backward extension of the pipeline onto the main CPU, where everything is much more flexible. The two things you mention - lighting and particles - are things that we can already drop fairly seamlessly into the PSSG geometry pipeline and run on SPEs. Particle processing especially has an advantage over current GPU based techniques because of the generality of the SPE (and over a traditional CPU as well due to the speed and parallelism of Cell). Using SPEs as a front end to the GPU opens up a lot of interesting avenues and I'd be very surprised not to see people explore them.
PSINext: Addressing a more general topic, you brought up PSGL earlier as being Playstation's custom OpenGL/ES variant. When interviewing Mike Acton recently, he mentioned Cg as a framework that had some cross-SPE/RSX appeal in terms of helping to build a frameset towards approaching the PS3 architecture. Any thoughts on this?
Jason Doig: Using Cg as a language for SPE programming is a potentially good idea, because the same features that make Cg easy to compile into good code for a GPU shader unit would make it easy to compile into good SPE code. In fact, how to potentially unify programming across the shader pipeline is something we've looked at when developing PSSG, as it's a natural next step after trying to bolt SPE processing on the front of vertex shading - but currently we haven't attempted to address it. Really, that's something I'd like to see sorted out between the respective compiler folks, and all we can do is point and say: "Hey, don't these two things look like they go together?"
PSINext: One of the things we've heard from a lot of devs is that the Cell architecture is difficult to approach relative to the OoOE cores they may otherwise be used to. Do you have any thoughts on difficulties developers from the x86 world seem to have when approaching an architecture like Cell, and do you feel PSSG is something that can help to take some of the edge off?
Jason Doig: The OoOE issue isn't peculiar to Cell, and this is truth both now and historically; I think very few developers will not have worked on an in-order architecture. I also don't really think it makes the architecture difficult to approach, it's just that on an in-order CPU, you'll get a little less help squeezing the best performance out of it. But the flip-side is that explicit scheduling can ultimately be faster. So really, I think it's a case of having to go one step further with optimizations and getting down into the scheduling, which is the same problem faced on many common and familiar architectures. Even on modern x86 PCs developers will have to worry about optimizing shaders where the same techniques apply. Naturally the compilers ought to do as much as possible, but it's still important for the developer to look after some aspects such as program flow and data access. PSSG could certainly help here, simply by providing a good starting point for developers to use as a framework.
We've spent a lot of time analyzing the performance of our code, identifying which sections we should optimize or move onto SPEs, and of course we've applied that knowledge to maximize both PPU and SPE performance. This is a continual process, and although I'm happy with the performance now, we're going to keep improving it. Even if a developer didn't want to adopt our code, they can see how we've approached various aspects of the design, and those design decisions should be informative. If developers do choose to use PSSG they get even more help, as we have instrumentation and performance monitoring functions built in for them to monitor both PSSG and their own code.
If a developer were to really be stuck with performance (and here I'm not just talking about PSSG), we'd be happy to try and investigate to find a solution for them.
UID
56088
帖子
3287
精华
2
积分
21534
交易积分
0
阅读权限
1
在线时间
2079 小时
注册时间
2006-5-16
最后登录
2019-11-19
查看详细资料
TOP
倍舒爽
银河飞将
“”公平与正义“”
帖子
31832
精华
0
积分
39562
激骚
1416 度
爱车
主机
相机
手机
注册时间
2003-10-30
发短消息
加为好友
当前离线
2
#
大
中
小
发表于 2006-11-26 16:34
只看该作者
说ps3可以实现dx10上面的某特性么?
那么多专业名词,下次楼主附简短翻译吧。。
UID
16221
帖子
31832
精华
0
积分
39562
交易积分
0
阅读权限
40
在线时间
17067 小时
注册时间
2003-10-30
最后登录
2025-8-4
查看详细资料
TOP
BD
小黑屋
帖子
10603
精华
5
积分
41750
激骚
483 度
爱车
主机
相机
手机
注册时间
2006-7-26
发短消息
加为好友
当前离线
3
#
大
中
小
发表于 2006-11-26 17:02
只看该作者
基本上就是2点
1、在PS3上实现Geometry Shading,这个是DX10中提出的新特性
2、在图象编程方面可以充分利用Cg语言,这个是nVidia的一个图象编程语言,推出到现在已经有4-5年了,比较成熟了。感兴趣的可以自己查看一下。这个语言的主要作用就是提高编程效率。
UID
61872
帖子
10603
精华
5
积分
41750
交易积分
0
阅读权限
1
在线时间
17441 小时
注册时间
2006-7-26
最后登录
2022-8-17
查看详细资料
TOP
eyesonme
小黑屋
帖子
329
精华
0
积分
9208
激骚
0 度
爱车
主机
相机
手机
注册时间
2005-8-21
发短消息
加为好友
当前离线
4
#
大
中
小
发表于 2006-11-26 18:47
只看该作者
ps2dev有人讨论过了
UID
46549
帖子
329
精华
0
积分
9208
交易积分
0
阅读权限
1
在线时间
18 小时
注册时间
2005-8-21
最后登录
2012-2-17
查看详细资料
TOP
网上的final
小黑屋
帖子
16281
精华
0
积分
44356
激骚
125 度
爱车
主机
相机
手机
注册时间
2002-9-27
发短消息
加为好友
当前离线
5
#
大
中
小
发表于 2006-11-26 19:10
只看该作者
OPEN GL CG应该比DX9快吧??
UID
4908
帖子
16281
精华
0
积分
44356
交易积分
0
阅读权限
1
在线时间
2770 小时
注册时间
2002-9-27
最后登录
2019-11-19
查看详细资料
TOP
控制面板首页
密码修改
积分交易
积分记录
公众用户组
基本概况
版块排行
主题排行
发帖排行
积分排行
交易排行
在线时间
管理团队
管理统计