I am c# programmer and want to make some graphics software.
i like PB because it's has a lot function for graphics while c# is none.
how should i do, if i want write code in C# and part of graphics i will
use Purebasic..
introduce me easy way please ...
best regard
ps. sorry am not strong English language..
Can i interface PB+OGre with C#
Can i interface PB+OGre with C#
\\ (^O^) //
Thank god for send you to Help me..
Thank god for send you to Help me..
Yes you can.. However you would have to wrap OGRE's C++ Object Model to a flat commandset. Its bit tricky at times but mostly its tons of work...
Currently neotoma and i working on Irrlicht the same way.
Thalius
Currently neotoma and i working on Irrlicht the same way.
Thalius
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone!
"
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone!

Re: Can i interface PB+OGre with C#
In C# use the 'System.Drawing' and related namespaces. Other than that you can code DLLs using Purebasic and import them using this syntax:Nueng wrote:I am c# programmer and want to make some graphics software.
i like PB because it's has a lot function for graphics while c# is none.
Code: Select all
[DllImport("user32.dll", EntryPoint = "GetSystemMenu")]
public static extern IntPtr GetSystemMenu(IntPtr hwnd, int revert);
Re: Can i interface PB+OGre with C#
Perfect! Thanks for shooting this one out... it really helped in a crunch!Kale wrote:In C# use the 'System.Drawing' and related namespaces. Other than that you can code DLLs using Purebasic and import them using this syntax:Nueng wrote:I am c# programmer and want to make some graphics software.
i like PB because it's has a lot function for graphics while c# is none.etc...Code: Select all
[DllImport("user32.dll", EntryPoint = "GetSystemMenu")] public static extern IntPtr GetSystemMenu(IntPtr hwnd, int revert);
Intrigued - Registered PureBasic, lifetime updates user
if it is on Ogre, you can also use the native
NET-Part of ogre,
http://www.ogre3d.org/wiki/index.php/MOGRE
NET-Part of ogre,
http://www.ogre3d.org/wiki/index.php/MOGRE
SPAMINATOR NR.1
http://www.blade3d.com/ is better than coding with the raw framework, but a bit pricey!Violet wrote:For C# there is the wonderful XNA Game Development Studio, why don't you use that?