Connecting Tech Pros Worldwide Forums | Help | Site Map

[newby question] looking for c# on webpage & c# 3d information

Rick D.
Guest
 
Posts: n/a
#1: Nov 17 '05
Hi all,

I'm looking for information on running a c# application on a webpage,
just like a java-applet.

And the second thing i'm looking for is information on how to display
3d graphics with c#. And if there are 3d model importers available for
it (like milkshape ms3d or something similar).

I'm not even sure if all this can be done, but if it can, i would like
to find some examples, online tutorials and maybe source code on how
to do this.

Basically i want to create an equivalent of this java-3d example in
c#: http://home.earthlink.net/~kduling/Milkshape/. (Both standalone
and in a webpage.)

Any help will be much appreciated!

Best regards,
Rick D.

Morten Wennevik
Guest
 
Posts: n/a
#2: Nov 17 '05

re: [newby question] looking for c# on webpage & c# 3d information


Hi Rick,

In .Net you can host Windows Forms application in Internet Explorer, but only in IE

http://samples.gotdotnet.com/quickst...eSourcing.aspx

You may also want to look at Web Controls which is a safer version of java applet, but less useful.

For 3D applications you can use managed DirectX, which is almost as fast as regular DirectX.
Download the SDK with tutorials here

http://msdn.microsoft.com/directx/di...s/default.aspx



On Tue, 03 May 2005 20:09:06 +0200, Rick D. <rd@mail.com> wrote:
[color=blue]
> Hi all,
>
> I'm looking for information on running a c# application on a webpage,
> just like a java-applet.
>
> And the second thing i'm looking for is information on how to display
> 3d graphics with c#. And if there are 3d model importers available for
> it (like milkshape ms3d or something similar).
>
> I'm not even sure if all this can be done, but if it can, i would like
> to find some examples, online tutorials and maybe source code on how
> to do this.
>
> Basically i want to create an equivalent of this java-3d example in
> c#: http://home.earthlink.net/~kduling/Milkshape/. (Both standalone
> and in a webpage.)
>
> Any help will be much appreciated!
>
> Best regards,
> Rick D.
>[/color]



--
Happy coding!
Morten Wennevik [C# MVP]
Dave
Guest
 
Posts: n/a
#3: Nov 17 '05

re: [newby question] looking for c# on webpage & c# 3d information


You can use DirectAnimation to do 3D graphics within a web page loaded in IE 4.0 and higher. The references for DA are scarse, but
here's a reference to the daanim behavior in IE:

http://msdn.microsoft.com/library/de...viors/anim.asp

DA supports TRUE 3D animation using DirectX as the underlying runtime environment, but creates a layer of abstraction so that you
can code 3D anims using JScript or any other scripting language that IE can execute.

If you want to use true DirectX coding in C#, then check out Managed DirectX 9.0:

http://msdn.microsoft.com/library/de...asp?frame=true

To load a DirectX app in a browser you would need to research embedding a WinForms application in a browser window using ActiveX
technology in IE and the HTML <object> tag.

I highly recommend using DirectAnimation over any other solution since it's really easy to use if you understand 3D programming and
scripting, if your clients can be confined to IE only and if other third-party tools (if any) that may cost money are not an option.

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Rick D." <rd@mail.com> wrote in message news:qjef7195i2odpg8enlpupmsqtjm2n8ba9k@4ax.com...[color=blue]
> Hi all,
>
> I'm looking for information on running a c# application on a webpage,
> just like a java-applet.
>
> And the second thing i'm looking for is information on how to display
> 3d graphics with c#. And if there are 3d model importers available for
> it (like milkshape ms3d or something similar).
>
> I'm not even sure if all this can be done, but if it can, i would like
> to find some examples, online tutorials and maybe source code on how
> to do this.
>
> Basically i want to create an equivalent of this java-3d example in
> c#: http://home.earthlink.net/~kduling/Milkshape/. (Both standalone
> and in a webpage.)
>
> Any help will be much appreciated!
>
> Best regards,
> Rick D.[/color]


Closed Thread


Similar C# / C Sharp bytes