Posts

Showing posts with the label graphics

A Spinning Solar System: 3D Graphics in IronPython and Resolver One

Back in early 2008 I posted a short entry on using IronPython with OpenGL and the Tao Framework for 3D graphics. Tao is a set of bindings to OpenGL and SDL for cross-platform "media application development" with .NET and Mono. My boss at Resolver Systems , Giles Thomas, has been having fun using Tao inside Resolver One. Resolver One is a " Windows-based spreadsheet that integrates IronPython deeply into its recalculation loop, making the models you build more reliable and more maintainable ". Because it is so easy to program with IronPython, my Giles decided it would be a good platform for experimenting with 3D graphics - including a full animated version of the solar system with the paths controlled from the spreadsheet. Both entries have a video of the results and IronPython code to download. 3D graphics in Resolver One using OpenGL and Tao, part I   I’ve been playing around with 3D graphics recently, and decided to find out what could be done using .NET ...

NVidia FX Composer 2.5: Scripted with IronPython

This is old news, but something that I've only just discovered. NVidia FX Composer 2.5 is scripted with IronPython. FX Composer 2.5 (Windows only I guess) is a " powerful integrated development environment for shader authoring ". The home page has screenshots and more details: NVidia FX Composer 2.5 GPU Shader Authoring Environment From the FX Composer User Guide (PDF) : " Scripting in FX Composer is typically accomplished using the Python scripting language. The implementation of Python used is IronPython 1 from Microsoft. IronPython supports all of the standard python syntax & library, with the additional advantage that it is implemented in a .NET language. This means that python scripting in FX Composer can call the rest of the FX Composer engine without additional work. It is important to note that none of the core functionality of FX Composer requires Python. The scripting is implemented entirely using a plugin (FXComposer.UI.Python), and in theory...

Games Programming with IronPython and OpenTk

There are lots of good options for games programming with CPython, so it is nice to also have choices for IronPython. One .NET framework for games programming that boasts of working well with IronPython is "OpenTk". OpenTk - the Open Toolkit The Open Toolkit is a game development library for .Net/Mono with an elegant, yet powerful, API. It enables you to bring your ideas to fruition, leveraging the full power of .Net, OpenGL and OpenAL. OpenTK needs no setup. It runs on Linux and Windows and works with all .Net languages, like C#, VB.Net and IronPython. Best of all, it is - and will remain! - free for both commercial and non-commercial projects. This is OpenGL like you've never seen it before.

Interesting Snippets

A few recent blog entries with fun snippets of IronPython code: Looking at NTFS File Access Rights and Permissions Rendering Teapots with Truevision 3D and IronPython Project Euler Solutions: Problem 1 (in IronPython, IronRuby and F#) Project Euler Solutions: Problem 2

Generate Catalog Images in IronPython

David Seruyange blogs about generating catalog images, for integration with the web, from IronPython: Generate Catalog Images in IronPython

Graphics with SDL, OpenGL and the Tao Framework

Sylvain Hellegouarch has posted some examples of working with OpenGL, from IronPython, to the IronPython Cookbook : OpenGL - Initializing Context With GLFW OpenGL - Rendering a spinning triangle with GLFW SDL for 2D Graphics with Zoom These examples use the Tao Framework .

Hephaestus Games Engine replacing Lua with IronPython

Pirogoth, one of the developers of the Hephaestus Games Engine , blogs about the decision to change their development languages: IronPython will replace Lua as the scripting language C# will replace C++ The examples of the C++/Lua rendering engine output are amazing, so it will be interesting to see what they can achieve moving to the .NET platform over the coming months. http://torquedev.blogspot.com/2008/02/changes-in-air.html

Managed DirectX via IronPython

Andy Sy has put up a three part tutorial on using managed DirectX with IronPython: Referencing the MDX 1.1 Assemblies Interactive Control of a Managed Direct3D Device Rendering Alpha Blended 2D Sprites

Silverlight and an IronPython Bouncing Ball

The first implementation of something useful with IronPython and Silverlight. Yup, it's a bouncing ball: Bouncing Ball in IronPython Aaron Leiby has made the sourcecode available to play with.

Direct3D in IronPython

Johnny Watson shows how to use IronPython to manipulate Direct3D. http://johnnywatson.blogspot.com/2006/11/direct3d-in-ironpython.html