in Search
     
Latest post 08-12-2007 3:11 AM by mr.DUDA. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 03-19-2007 7:49 PM

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 944
    • Points 22,590

    program vertex and pixel shaders in C#

    http://brahma.ananthonline.net/static.php?page=static061128-020520

    that's the new Brahma-FX Project on SourceForge
    http://devpinoy.org/blogs/cruizer
    Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
    • Post Points: 50
  • 03-19-2007 8:58 PM In reply to

    • DexterZ++
    • Top 50 Contributor
    • Joined on 12-12-2006
    • Kernel32
    • Posts 60
    • Points 915

    Re: program vertex and pixel shaders in C#


    The download section seems to contain Doc file only, I really don't get the main purpose  of this project, does handling of vertex and pixel shader are done by the the graphic  API you'll using wheater it is OpenGL-GLSL,DirectX-HLSL or XNA-Fx file. If it is just another shader generator why not just use the one created by Graphic card vendor  itself such as NVIDIA - RenderMonkey Toolsuite, it is a rich shader development environment for  both programmers and artists which facilitates the collaborative creation of real-time  shader effects. full support for the latest DirectX(9.0c) and OpenGL(1.5) shading languages. Tho I prefered to write my own simple effect file without using any shader generator.

    http://dexterz.spaces.live.com/     |    http://projectzgdk.spaces.live.com/

     

    • Post Points: 20
  • 03-19-2007 9:31 PM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 944
    • Points 22,590

    Re: program vertex and pixel shaders in C#

    that's exactly the reason why the project was started: so you won't have to program directly against the tool created by graphics vendors and tying yourself to a particular shader implementation (like NVidia's).
    http://devpinoy.org/blogs/cruizer
    Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
    • Post Points: 20
  • 03-20-2007 3:41 AM In reply to

    • relsoft
    • Top 50 Contributor
    • Joined on 03-12-2007
    • Iloilo City
    • Posts 52
    • Points 815

    Re: program vertex and pixel shaders in C#

    The .NET platform was chosen for its cross-platform ability

    cross-platform or cross-language?

    Hello
    • Post Points: 20
  • 03-20-2007 4:18 AM In reply to

    • cruizer
    • Top 10 Contributor
    • Joined on 12-14-2005
    • Singapore
    • Posts 944
    • Points 22,590

    Re: program vertex and pixel shaders in C#

    both.

    Brahma intends to support Mono (non-Windows platforms) and OpenGL though I don't know if it's already supported now.
    http://devpinoy.org/blogs/cruizer
    Naglalayong buksan at palayain ang kamalayan ng Pinoy .NET developer
    • Post Points: 5
  • 03-20-2007 7:30 AM In reply to

    • DexterZ++
    • Top 50 Contributor
    • Joined on 12-12-2006
    • Kernel32
    • Posts 60
    • Points 915

    Re: program vertex and pixel shaders in C#

    Ah the source was there, Lol, compiled and run smoothly, yep according from readme, this eliminates the need for programmers to learn a shading language, cool ! and It contains project files for different type of graphic API such as DirecX, XNA and OpenGL. It is cross platform since it is now possible to develop  and run applications written in C# on Linux using CLR from Project Mono and DotGNU. and theres a downlodable Mono Framework Mono/C# and Cocoa# for Mac OS X .

    http://dexterz.spaces.live.com/     |    http://projectzgdk.spaces.live.com/

     

    • Post Points: 5
  • 08-12-2007 3:11 AM In reply to

    • mr.DUDA
    • Top 500 Contributor
    • Joined on 08-12-2007
    • Posts 1
    • Points 5

    Re: program vertex and pixel shaders in C#

    Well, Visual3D.NET now has own implementation, which WORKS and doesn't parse IL. It provide fast code generation on-the-fly and caches compiled shader's microcode, so you could prebuild all possible combinations of input conditions (like #defines in pure HLSL) and run those shaders without compile even single line of HLSL code. Moreover, this approach (call it #SL) allow developers to use entire set of OOP features provided by C#/.NET 2.0, like generics, interfaces, virtual method calls, if/for/while operators etc. in order to achieve maximum reusability and consistency within your shaders written in C#. By now, this toolset (codegen, base Shader class, basic 'HLSL' types and service classes) is used internally by Visual3D, in order to replace Ogre-like materials and increase performance by grouping multiple passes together etc, but you can see nice "Use C# shaders" checkboxes in several areas of Light Demo Scene in the latest release (beta 1.2.3). P.S. this is not a joke, check it out yourself: http://www.visual3d.net P.S(2) it's already a part of V3D SDK, and you can play with #SL by creating own RenderMaterial-based class and using Shader-derived shaders in it. You can see examples of ready-to-use materials in Reflector (by now), lookup for AmbientMaterial, PerPixelMaterial and EnvMapMaterial in Visual3D.Graphics3D namespace of Visual3D.Engine.dll; all shaders which are used there are contained in Visual3D.Shaders namespace and are derived from BasicShader class (which derives from Shader class) and in Visual3D.Shaders.Extensions namespace. P.S(3) remember about copyright etc ;)
    • Post Points: 5
Page 1 of 1 (7 items)