<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
&nbsp;<BR>
Hi Michael <BR>
Thanks for the informative response.<BR>
&nbsp;<BR>
&gt; 3D, but it really depends on what you need to do. Simple rendering/viewing?<BR>
&nbsp;<BR>
Yes, I think that it comes down to this. Making a crude topography appear on the screen is a good start for getting to work on a lot of topics that relates to the topography. I admit that I'm hooked on delicious appearances, But .. as for transferring data through the net, vectors as in a topologic grid, passes a lot of info pr bit&nbsp;compared to bitmap image data. The abillity to interact with it as a viewer (flyby and such) makes the perception of&nbsp;the&nbsp;topological data unsurpasable by other media. <BR>
As a geologist of education, I have a watchfull eye on the posibillities of displaying subsurface geology, but I would probably run short of proper data to use. (If I should get involved in bitmap-texturing it&nbsp;would be in the context of conveying subsurface geological visual&nbsp;presentations - but it has a low priority for now)&nbsp;&nbsp;&nbsp;<BR>
<BR>&gt; Custom display controls? Integration with other geo tools and libraries?<BR>&gt; <BR>&gt; You have a few options for doing your own 3D display on Windows, and again<BR>&gt; it depends on what your needs are:<BR>&gt; <BR>&gt; * DirectX / D3D<BR>&gt; <BR>&gt; - DirectX/D3D is great, but is doesn’t have .NET bindings, so you have<BR>&gt; to code the engine in C++ and use interop from C#<BR><BR>
I use the Visual Studio Express. It has a C++ IDE. Yes .. I would still miss DirectX3D in that editor. I think that I tried to do an integration of this editor with&nbsp;something referred to as the "Windows SDK". .. it usually leads to a plain new reinstall of the Express tools .. The MSDN library on the Windows SDK has all the stuff about DirectX3D that I spent a little year of learning and would like to stick to becourse of that. Leaving the net-framework may mean that I'll have to learn how to deploy ... so far&nbsp;I've made&nbsp;small tools that produces one single .exe that simply works when copied from the pile of files that the Express IDE produces. <BR>
&nbsp;<BR>
&gt; - SlimDX is a really nice open source C# API that sits on top of the<BR>&gt; DirectX C++ API, so using SlimDX you can skip the interop and code directly<BR>&gt; in C#<BR><BR>
Either way I do it, I'll have to come to terms with the fact, that I won't get anywhere without dependancies .. being it directX3D, Xna or OpenGL. <BR>
&nbsp;<BR>
&gt; - if you want to use WPF with DirectX underneath, you can use SlimDX as<BR>&gt; well, although it takes some work to get the D3DImage class to behave (my<BR>&gt; own SlimDXControl package is one solution for this problem)<BR>&gt; <BR>&gt; * WPF or Silverlight<BR>&gt; <BR>&gt; - this would be very appealing, but you can't represent points directly,<BR>&gt; only polygons, so if you want to do raw point clouds this isn't an option;<BR>&gt; also, if you're trying to do tens of thousands of vertices, it will start to<BR>&gt; slow down<BR>&gt; <BR>&gt; - the latest release of Silverlight has started to add 3D primitives, but<BR>&gt; again you can't do points and you often can't scale into thousands of<BR>&gt; objects<BR>&gt; <BR>&gt; * XNA<BR>&gt; <BR>&gt; - I know the least about this option; XNA is really designed as a game<BR>&gt; API, and my quick look a couple years ago made me stay away because I didn't<BR>&gt; have either the raw power of using DirectX directly or the flexibility of<BR>&gt; actual UI framework like WPF/Silverlight<BR>&gt; <BR>&gt; * OpenGL<BR>&gt; <BR>&gt; - powerful and low-level, like DirectX, but also lacking a native C# API<BR>&gt; <BR>&gt; - there are some C# bindings libraries out there, but I've no experience<BR>&gt; with them<BR>&gt; <BR>&gt; <BR>&gt; So, it comes down to these questions:<BR>&gt; <BR>&gt; - do you want to program in C++, C#, or a mix?<BR>
&nbsp;<BR>
I have an idea that I can make a 'lean an mean' C++ form&nbsp;as a basis, but&nbsp;I'm not done on pondering about the slow-down. I can display 700*700 vertices with an annoying slow performance; and 800*800&nbsp;will not be accepted. I think that I use the 'fixed pipeline' as I cannot make the code for multiple vertex-lists work.&nbsp;The vertices are turned into triangles .. that would be 100.000 triangles .. far less than I anticipated though it's plenty enough to have a decent look. There are different approaches to deal with these issues. <BR>
&nbsp;<BR>
<A href="http://cid-382e99b169b58267.photos.live.com/self.aspx/Billeder/ng%5E_2.jpg">http://cid-382e99b169b58267.photos.live.com/self.aspx/Billeder/ng%5E_2.jpg</A><BR>
&nbsp;<BR>
I'm getting the hang of C#. There's no intelli-sense so I have all the reason I need to be slow. The coding that lies behind the image above uses the parts of DirectX3D that I know .. most of the Xna stuff is one big haystack that hangs together, so it's been difficult to sort&nbsp;the subset&nbsp;out, but it's been much like making a form in C# with a different&nbsp;sort of code in the Paint-event&nbsp;(it IS a C# form).&nbsp;&nbsp;&nbsp;<BR>
<BR>&gt; - do you want a low-level library which supports points like<BR>&gt; DirectX/OpenGL, or do you want a higher level polygonal framowork like WPF?<BR>&gt; - do you want to jus trun on a Windows desktop, or do you want to be able<BR>&gt; to port your engine to Windows Phone, Linux, etc?<BR><BR>
There won't be any WPF and I prefer a proper screen for display, so desktop it is. I had some issues with Silverlight, so it's out too.<BR>
&nbsp;<BR>
Michael, I don't hope that I have abused your attention.<BR>
&nbsp;<BR>
Carsten<BR>                                               </body>
</html>