473,765 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to build the 3D-graphic in VB .NET?

Hello. Inform, please, on what site it is possible to find materials on
construction of the three-dimensional graphic of function z=f(x,y) with the
help of Visual Basic .NET and GDI+?

Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov.
Moscow, Russia.

Nov 20 '05
12 16413
No, most of these enthusiasts write in basic vanilla C++ and use x86
assembly to optimise their code. They are attempting to get high quality 3D
engines using the power of todays CPUs, without using the GPU.

You won't find a reference for 3D graphics with .NET period. Sorry to say
this. Only by using D3D or GL will you find a book for a beginner. As I
say, you will have to read-up on first principles and implement this in your
own way in whatever language you like (I started learning 3D graphics ages
ago with a book containing "Basic" and "Psuedo-Code" which I implemented in
Borland Turbo C++ 2.0! It was painfull but it worked.

However, I am going to have a go at getting a GDI+ basic 3D rendering engine
going sometime this week; just to demonstrate to you some of the principles
involved. If you are patient, I will post it to this thread.

Just out of curiosity, why do you not wish to use DirectX or OpenGL?

Good luck!
Robin

"Dr. Zharkov" <va************ @mtu-net.ru> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
Mr. Robin Tucker.
1. Many thanks for your very valuable advice.
2. On a site http://www.magic-software.com/Books.html I have looked the
book, recommended you: Schneider P.J. and Eberly D.H. Geometric Tools for
Computer Graphics. Morgan Kaufmann, 2002. - 1056 p.
In this book are given the small slices of the program on a pseudo-code, and the program of construction of 3D - graphics is absent.
3. In the previous answer you have written: "A few enthusiasts spend time
writing and optimizing their own software rendering engines with advanced
features (some of them are actually very good):"

How to find the programs of these enthusiasts on building the 3D - graphics of function z=f (x, y) and only for Visual Studio .NET (without use DirectX, OpenGL, MathCAD, MatLab, Maple and similar packages)?

Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov.
Moscow, Russia.

Nov 20 '05 #11
Mr. Robin Tucker.
1. Once again many thanks for your very valuable advices.
2. Willingly I answer on your question (Just out of curiosity, why do you
not wish to use DirectX or OpenGL?).
Both DirectX, and OpenGL is the another's closed program ("black box"),
which we can not change, and we can only apply in the limited limits. At me
on a table lay the two books with the programs on construction of a surface
z=f (x, y) in the dialog box of Visual C++ .NET with the help OpenGL (in my
previous letter I have given the reference to one of articles in the
Internet from the book). It is the very complex programs, and that in them
to understand, it is necessary to spend a lot of time for initial study
OpenGL. In the books are constructed beautiful color cubes and surface for
demonstration to the schoolboys. At the decision of my engineering task it
is necessary to present this surface from sheet metal as a grid of finite
elements, to define through a finite element method (FEM) of strains and
stresses in nodes of this surface after treatment of the tool and from nodes
to construct the diagrams of strains and stresses. To construct such
diagrams, it is necessary to spend very many more time for the profound
study OpenGL, and still it is not known, whether the limited opportunities
OpenGL will allow to construct the diagrams at a good engineering level.
Naturally there is a question, what for to spend a lot of time for study
another's and complex OpenGL, when the same time can be spent for
development of the open program in the advanced platform Visual Basic .NET
2003, that I and try to make with your kind help.
3. I will be very grateful to you, if you will send materials on "GDI+ basic
3D rendering engine".
4. If this thread unexpectedly will break, it is possible to you to address
directly, and if it is possible, to what email or with what site?
Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov.
Moscow, Russia.

Nov 20 '05 #12
Ok, I think I'm starting to see where you are coming from here. Heres the
problem: you want your students to be able to code this graphics
assignment/s but you don't want them to have to learn a graphics API in
order to do so? There is no solution to this problem unless you develop
yourself a class handling the basics required in order to complete the
assignment and give it to them to fill in the details. I can only give you
suggestions on how to proceed here, because my time is limited! The
solution as I see it is to use an Excel spreadsheet and to use VB scripts in
Excel to modify a 3D graph object in the spreadsheet. Thus you will avoid
any/all consideration of 3D graphics and are able to concentrate on
representation of the data you are studying. If you want anything more
complex, I'm afraid the creation of a .NET GDI+ 3D graphics library usable
by your students will be the next step, but it will be time consuming and
limited in scope.

I imagine you will want a 3D "sheet" and that you will be modifying control
points on the sheet in the graph according to values returned from your
experiments. This is easily achieved in Excel - quite possibly without any
programming at all (create a 3D graph from data in Excel).
Contact me by email (remove caps)
r.************* ******@thermote kn...DONTWA NT.com
"Dr. Zharkov" <va************ @mtu-net.ru> wrote in message
news:en******** ******@tk2msftn gp13.phx.gbl...
Mr. Robin Tucker.
1. Once again many thanks for your very valuable advices.
2. Willingly I answer on your question (Just out of curiosity, why do you
not wish to use DirectX or OpenGL?).
Both DirectX, and OpenGL is the another's closed program ("black box"),
which we can not change, and we can only apply in the limited limits. At me on a table lay the two books with the programs on construction of a surface z=f (x, y) in the dialog box of Visual C++ .NET with the help OpenGL (in my previous letter I have given the reference to one of articles in the
Internet from the book). It is the very complex programs, and that in them
to understand, it is necessary to spend a lot of time for initial study
OpenGL. In the books are constructed beautiful color cubes and surface for
demonstration to the schoolboys. At the decision of my engineering task it
is necessary to present this surface from sheet metal as a grid of finite
elements, to define through a finite element method (FEM) of strains and
stresses in nodes of this surface after treatment of the tool and from nodes to construct the diagrams of strains and stresses. To construct such
diagrams, it is necessary to spend very many more time for the profound
study OpenGL, and still it is not known, whether the limited opportunities
OpenGL will allow to construct the diagrams at a good engineering level.
Naturally there is a question, what for to spend a lot of time for study
another's and complex OpenGL, when the same time can be spent for
development of the open program in the advanced platform Visual Basic .NET
2003, that I and try to make with your kind help.
3. I will be very grateful to you, if you will send materials on "GDI+ basic 3D rendering engine".
4. If this thread unexpectedly will break, it is possible to you to address directly, and if it is possible, to what email or with what site?
Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov.
Moscow, Russia.

Nov 20 '05 #13

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

Similar topics

0
1210
by: daniel4d2001 | last post by:
Hello I'm using VisualStudio.net 7.1. A simple hello world plugin using 2 Maya api headers (3d animation software). VS compiles a functional debug DLL just fine (found in debug folder) but when I try to compile a release build - Ctrl+F7, I get this message: ------ Build started: Project: SimpleCommand, Configuration: Debug Win32 ----- Compiling.. Skipping... (no relevant changes detected SimpleCommand.cp Build log was saved at...
2
3325
by: NM | last post by:
Hello all, I am supposed to do some mixed programming with c++ and fortran. I was succeeful in exchanging the 2D arrays from fortran to c++ and the other way, but was unable to that same with the 3D arrays, the values passed are not all the same. I am also pasting the fortran and c++ codes so that you could have a look at them. ////C++ Code
3
2513
by: Dr. Zharkov | last post by:
Hello. Inform, please, how to find the programs on building the 3D-graphics of function z=f (x, y) and only for Visual Studio .NET: Visual C# .NET, Visual Basic .NET or Visual C++ .NET and GDI+ (without use DirectX, OpenGL and similar packages)? Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov. Moscow, Russia.
0
893
by: Dr. Zharkov | last post by:
Hello. Inform, please, how to find the programs on building the 3D-graphics of function z=f (x, y) and only for Visual Studio .NET: Visual C++ .NET, Visual Basic .NET or Visual C# .NET and GDI+ (without use DirectX, OpenGL and similar libraries)? Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov. Moscow, Russia.
0
1540
by: Dr. Zharkov | last post by:
Hello. Inform, please, how to find the programs on building the 3D-graphics of function z=f(x, y) and only for Visual Studio .NET: Visual Basic .NET, Visual C# .NET or Visual C++ .NET and GDI+ (without use DirectX, OpenGL and similar libraries)? Beforehand many thanks for your answer. Best regards, Dr. V.A. Zharkov. Moscow, Russia.
12
3600
by: Xah Lee | last post by:
Of Interest: Introduction to 3D Graphics Programing http://xahlee.org/3d/index.html Currently, this introduction introduces you to the graphics format of Mathematica, and two Java Applet utilities that allows you to view them with live rotation in a web browser. Also, it includes a introductory tutorial to POV-Ray.
4
2457
by: Peter Webb | last post by:
I am writing some visualisation code for 4 dimensional geometric shapes. This is to run in the C# .NET XNA environment, so I am cross posting a maths and C# group. My software runs just fine for 3D objects - for example I can draw cubes, tetrahedrons, icosahedrons etc and rotate them on screen. All of the "heavy lifting" is done by the XNA libraries, which have transformation libraries to map 3D constructs onto 2D with perspective. Using...
4
5236
by: Jon Harrop | last post by:
I am writing a 3D graphing component built upon WPF and would like to have 2D vector graphics (e.g. typeset mathematics) as labels laid out from 3D coordinates. For example, a tick on an axis has a 3D coordinate and its 2D label might be right-aligned to the 2D projection of that 3D point. The following Mathematica plot illustrates the functionality I am after: http://math.arizona.edu/~goriely/M322/Mathma-ComplexFunc.jpg I have done...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10156
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9951
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7375
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.