ATI offers DirectX - OpenGL converter for the x86.
perhaps some people might like to look at the possibility of adding PPC convertion options?.
interesting non the less.........
http://www.macworld.com/news/2006/11/10 ... /index.php
"November 10, 2006 3:27 pm ET
Macworld
Print
Related Topics: Illustration and Animation Software, Business and Productivity Software, The Game Room
ATI offers DirectX - OpenGL converter
By Peter Cohen
Graphics chip maker ATI Technologies has released HLSL2GLSL, an open source application designed to help programmers convert graphics code optimized for Windows’ DirectX 9 Application Programming Interface (API) to OpenGL, which is used on the Mac. Binaries for Mac OS X and Windows are available for download.
High Level Shader Language (HLSL) was developed by Microsoft to enable programmers using its DirectX API to develop complex graphical effects. Its OpenGL equivalent is GLSL, and this application enables developers to translate HLSL shaders into GLSL instead. The software generated either GLSL 1.10.58 desktop OpenGL shaders or ES SL v1.00 embedded OpenGL ES shaders.
Many Mac OS X programmers already working on Mac games or cross-platform conversions already have home-rolled tools in their own libraries that provide them with the ability to convert DirectX code into OpenGL code. Commercial products exist that do the same. But ATI is offering this software — released earlier this month as version 0.9 — to further assist programmers who want some help.
The download includes documentation and a library file, along with a standalone command line application that converts snippets of HLSL code into GLSL instead."
http://sourceforge.net/projects/hlsl2glsl
hlsl2glsl-v0.9\Docs\HLSL2GLSL Documentation.doc
"Introduction
HLSL2GLSL is a command-line tool and library that translates HLSL shaders into GLSL. HLSL2GLSL can be used as a stand-alone command-line tool to directly translate shader source from HLSL to GLSL. In addition, HLSL2GLSL is a DLL (with full source-code included) that can be used directly by a developer in an application. The library is designed to work with HLSL shaders up to Shader Model 3.0. The tool generates either GLSL v1.10.59 desktop OpenGL shaders or ES SL v1.00 embedded OpenGL ES shaders. For generating OpenGL ES shaders, please see the example Generate an OpenGL ES Shader.
This documentation is divided into three primary sections:"