Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / HLSL2GLSL port

Author
Message
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Dec 2006 10:56
Has anyone ported some direct x 9 content to OpenGL yet.?
I could port DT to mac in OpenGL later if read this correctly

article
http://www.macworld.com/news/2006/11/10/hlsl2glsl/index.php

sourceforge link

http://sourceforge.net/projects/hlsl2glsl

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 22nd Dec 2006 11:55
Cool, that's a nice find, if its any good that would be an extremely useful tool for developers, which incidentally could mean more Mac games, which means a larger market for those who are scared by Open GL

"Cut down the gods if they stand in your way" - Yamamoto Tsunetomo
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Dec 2006 12:24
yeah lets hope someones given it a bash.
I might sit down after christmas and try it out after my sydney trip.

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 22nd Dec 2006 12:43
Well it "only" converts DirectX shaders to OpenGL shaders, which is certainly quite useful if you use an engine that supports both DirectX and OpenGL, or if you find a cool DX shader you'd like to use in your OGL app. I did a quick test the other day and it worked very well. Don't know how it performs on more complex shaders.

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 22nd Dec 2006 12:48
Well in that case its still mighty useful, like porting bloom into irrlicht for Open GL and Direct X use

"Cut down the gods if they stand in your way" - Yamamoto Tsunetomo
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Dec 2006 12:54
ahh thanks for clearing that up.

Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 22nd Dec 2006 13:05
the sourceforge one isn't great for it imo
nvidia's Cg Compiler does it much better, and the new CUDA one provides you with all the linker C++ code as well.

allows you to translate both ways. perks of nvidia hardware in the PS3 no doubt.. they're having to support Linux and OpenGL much better now.

personally think that OpenGL's design is begining to show it's age though. It's just too complicated for use in larger projects without writing an interface for it all. Someone needs to see about releasing something on-par with Direct3D to allow better OO interaction.

Tao for example provides direct access to the functionality in .NET/Mono Languages but is still procedural honestly defeating the whole point in using languages that are heavily OO based.

Felt the same way when GDK was released, while it's nice having the engine available; the programming structure is just backwards for implimenting into languages like C++, C# and Visual Basic.

Login to post a reply

Server time is: 2024-11-18 02:21:01
Your offset time is: 2024-11-18 02:21:01