All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Nov 11, 2006 12:09 am 
Offline

Joined: Thu Feb 16, 2006 8:10 pm
Posts: 98
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:"


Top
   
 Post subject:
PostPosted: Sat Nov 11, 2006 4:49 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Got it :)
Thanks a lot for the link poppler!

almost on-topic:
Some weeks ago I compiled wine on the pegasos successfully,
just to see if it builds. It did :)
Of course the resulting wine/dll-so aren't useable for
windoze applications, but as wine has directx-opengl wrappers
implemented as well, I wonder if the wine-include-files &
the built ppc dll.so could make a win-sourcecode
compiled on ppc-linux work? - the includes are accepted during compiles, but can the dlls be useable?
friendly,
frostwork

EDIT:

f.e. i tried with this one (ok it's opengl already... :) ):
http://members.cox.net/msikora2/GW.html
It makes use of the acient & deprecated glaux, but this could
be replaced with http://chaoslizard.sourceforge.net/glbmp/.
Everything built more or less fine, but as a non-programmer I unfortunately have no idea what I should put into the init
main() to get a working executable...


Top
   
 Post subject:
PostPosted: Sun Nov 12, 2006 8:52 am 
Hi Frostwork !

I used to maintain the OpenGL links on DMOZ.
Here is the direct link :
http://dmoz.org/Computers/Programming/G ... es/OpenGL/

If you want to make a simple OpenGL program the best is to start by looking that website :
http://nehe.gamedev.net/


Top
   
 Post subject:
PostPosted: Sun Nov 12, 2006 9:14 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi, Geoffrey!

Thanks for reply!
I already know nehe & the above mentioned deprecated glaux
is used in the outdated nehe-tutorials, too :(
glbmp seems to be a good replacement though...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group