tag:blogger.com,1999:blog-3053562213260104646.post3171389933548153286..comments2023-12-08T21:43:40.437-08:00Comments on Blueshogun's Cxbx/XQemu Blog: Cxbx and OpenGL: Time to shed some light on this topic...blueshogun96http://www.blogger.com/profile/17556100661890977716noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-3053562213260104646.post-61987568981875780452009-11-22T17:21:21.934-08:002009-11-22T17:21:21.934-08:00An emulator is more than just the API it uses for ...An emulator is more than just the API it uses for Gfx and sound actually. The hardware architecture of the Wii and Xbox are completely different in every way that I can imagine. Also, Cxbx uses HLE, and Dolphin uses LLE. Instead of emulating the actual hardware like Dolphin does, we need to emulate Xbox Direct3D instead. WineD3D has already done a near complete wrapper of Direct3D to OpenGL making our lives easier. So there wouldn't be anything to gain from it here. I appreciate the link and concern, but WineD3D should cover all of our needs :)<br /><br />Shogun.blueshogun96https://www.blogger.com/profile/17556100661890977716noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-67992599699460501002009-11-21T19:23:16.451-08:002009-11-21T19:23:16.451-08:00Oh hey, if you need some ideas about how an OpenGL...Oh hey, if you need some ideas about how an OpenGL port might work, there's an OpenGL Wii Emulator called Dolphin. I know Wii emulation is probably way different than Xbox Emulation, but there must be some similarities between the two emulators since they're both OpenGL. You might want to take a look at the emulator, it might be able to help you a bit with your OpenGL port. <br /><br />Here's a link to it if you're interested:<br /><br />http://www.dolphin-emu.com/news.php<br /><br />Hope that helps! =DGeneral Heedhttps://www.blogger.com/profile/01839052692574970406noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-74472239370834230052009-11-20T11:37:58.034-08:002009-11-20T11:37:58.034-08:00I'm not too sure about the Linux part. The Wi...I'm not too sure about the Linux part. The Windows version is heavily dependent on the Win2k kernel, but I'm sure we can use Wine handle the kernel APIs for us. I need to start learning more about Linux. I have SUSE, but I haven't installed it on any machine yet.blueshogun96https://www.blogger.com/profile/17556100661890977716noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-48831503541385683532009-11-20T00:26:12.006-08:002009-11-20T00:26:12.006-08:00ok :-D it's good idea to use OpenGL. Think you...ok :-D it's good idea to use OpenGL. Think you that a linux port is posssible ? CXBE can be compiled on linux so maybe CXBX too (with OGL)?Yannickhttps://www.blogger.com/profile/18324389390201148592noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-67423982182018232232009-11-19T19:09:58.885-08:002009-11-19T19:09:58.885-08:00@Yann, Xbox's superset of Direct3D 8.0 contain...@Yann, Xbox's superset of Direct3D 8.0 contains many functions that resemble OpenGL so to speak. Mostly render states that are exclusive to OpenGL. For instance, two sided lighting, stipple patterns, back fill modes, logic operations, possibly raster operations, and multiple primitive types aren't supported by Direct3D at all. Also, there are some functions, such as pushbuffer functions, aren't part of any standard graphics API. <br /><br />I can't remember them all off the top of my head (there are lots of them!), but there are many functions that would make OpenGL more ideal. So in general, you can basically think of Xbox Direct3D as a superset of OpenGL 1.5 instead of Standard Direct3D sometimes because of all the similarities it even has it's own version of immediate mode. <br /><br />Example(s) of OpenGL derived functions: <br />- D3DDevice::SetVertexData[234][if]()<br />- D3DDevice::SetRenderState_LogicOp()<br />- D3DDevice::SetStipple() <- Panzer uses this.<br />- D3DDevice::SetRenderState_EnableDxt1()<br />...<br /><br />The list goes on and on :)blueshogun96https://www.blogger.com/profile/17556100661890977716noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-209226847971174892009-11-19T14:14:46.383-08:002009-11-19T14:14:46.383-08:00hum great news ! what are the missing functions th...hum great news ! what are the missing functions that D3D 8 doesn't have for XBox emulation ?Yannickhttps://www.blogger.com/profile/18324389390201148592noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-67842319612163988542009-11-18T13:29:26.901-08:002009-11-18T13:29:26.901-08:00This comment has been removed by the author.SAINTSEIYAhttps://www.blogger.com/profile/17220697340249978304noreply@blogger.comtag:blogger.com,1999:blog-3053562213260104646.post-86521128688291499672009-11-17T13:17:25.709-08:002009-11-17T13:17:25.709-08:00great explanation!great explanation!cmccmchttps://www.blogger.com/profile/03834994504933458855noreply@blogger.com