473,405 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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.
Nov 17 '05 #1
2 1548
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:
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.


--
Happy coding!
Morten Wennevik [C# MVP]
Nov 17 '05 #2
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:qj********************************@4ax.com...
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.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pete | last post by:
Hi All, A total Newby with, possibly, a daft question? However, until I can get a reasonable explanation I am disinclined towards going further. Here goes: I recently downloaded the latest...
20
by: Jack Schitt | last post by:
I thought I was starting to get a handle on Access, until I tried doing something useful...now I'm stuck. I have a DB with two tables - to keep it simple I'll say that one is an Employee File...
3
by: Fred Nelson | last post by:
Hi: I've been working with VB.NET for over a year writing web applications. Now I'm going to be writing web applications in C#. So far everything that I need to do has been going pretty well...
5
by: Ryan Smith | last post by:
I have a code behind VB app that I have developed and am trying to place in a subfolder of a website that I have. I run the app on my dev box fine with no errors but when I upload it to the...
2
by: Bruno Alexandre | last post by:
Hi guys, I'm an ASP programmer for several month, and there's nothing I can't do in a webpage, but, I'm starting to enjoy ASP.NET more cause of the new Object in the latest version 2.0 beta2,...
5
by: Damien | last post by:
Heu guys, I have just built a simple stopwatch application, but when i f5 to get things goings i get this message, An unhandled exception of type 'System.ArithmeticException' occurred in...
17
by: Fred Nelson | last post by:
Hi: I'm trying to implement an overall error handler in my VB.NET windows application. I need to place an "On Error Goto" in "Sub Main". I have tried to create a Sub Main and have had no...
5
by: Bernd Buldt | last post by:
Howdy! I'd like to set up a database (mostly a bibliography), which I'd like to connect to a webpage such that simple queries to the database can be made by visitors of my homepage. I seem to...
10
by: Charles Russell | last post by:
Why does this work from the python prompt, but fail from a script? How does one make it work from a script? #! /usr/bin/python import glob # following line works from python prompt; why not in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.