• Advertisement
Sign in to follow this  

So I have an IronPython SlimDX sample...

This topic is 2851 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Yeah, almost a year ago, this happened: http://www.gamedev.net/community/forums/topic.asp?topic_id=542639 Then today, this happened:
import clr
from System.Drawing import *
import SlimDX
from SlimDX.Windows import *
from SlimDX.Direct3D9 import *
Form = RenderForm()
Device = Device(Direct3D(), 0, DeviceType.Hardware, Form.Handle, CreateFlags.HardwareVertexProcessing, PresentParameters())
def Main():
    Device.Clear(ClearFlags.Target | ClearFlags.ZBuffer, Color.Black.ToArgb(), 1.0, 0)
SlimDX.Windows.MessagePump.Run(Form, Main)

I don't know much if anything about how DirectX does things, nor .NET, so there could be some things that need optimizing, but it runs fine for me. Since it's been quite a while, what more esoteric languages do you think could have an example written up in?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement