Click here to Skip to main content
15,891,777 members
Everything / 3D

3D

3D

Great Reads

by Espen Harlinn
Harlinn.Windows is a collection of libraries that I have put together that serves as a big part of the runtime we use at work.
by Keyvan M. Kambakhsh
This article introduces i3DML project and demonstrates how XML and JavaScript can help you build interactive 3D Worlds.
by Leif Simon Goodwin
A 3D surface plot control in C#
by Gary.Miller.WPF
In this article, I describe how I implemented a 3D subdivision surface modeling application in JavaScript and WebGL.

Latest Articles

by Espen Harlinn
Harlinn.Windows is a collection of libraries that I have put together that serves as a big part of the runtime we use at work.
by EgorYusov
This article introduces Diligent Engine, a modern cross-platform graphics API abstraction library and rendering framework
by EgorYusov
This article describes Unity low-level plugin interface and the Unity graphics interface emulator that facilitates native plugin development.
by Kenneth Haugland
A basic guide for reading glTF files and showing simple 3D images

All Articles

Sort by Title

3D 

17 May 2020 by Christian Graus
A 3D scene has more data so you can't take a 2D scene and automatically make it 3D. You could GUESS the depth of objects but you can't be sure. You can GUESS their thickness in different points, but you can't be sure.
17 May 2020 by User 14475602
I have made a puzzle in 2d scene and now I want to put it in complete 3d scene. Is that even possible? How can I do that? In 3d scene, I want to put it where is visible and the player can access it with key on keyboard or somehow like that. Put...
28 Sep 2015 by kozmikadam
Hello everyone ,I have a school project , so i'm looking some info for this.We should be make a 3D scene , and we should be add some 3D components , like house , car , human etc. with drag and drop. Or maybe we can select from a catalog. Also some components should have some animation...
13 Oct 2015 by KarstenK
You best stick to OpenGL because it is the most widely spread technology, but it is hard to learn. You must learn about matrices, porjection and vectors mathematics and some strange commands.Here is a good starting point: Learning Modern OpenGL.Invest some time in learning as reading or...
3 Jun 2013 by IND-CODENAME-47
HI All,I have a requirement on urgent basis. I need to cut a 3D cube along x and y directions.Suppose that i have a cube of certain dimension and have 3 text boxes representing X,Y and Z direction. Now When i put any values in X and Y according to that the main 3D cube gets bisect.For...
27 Jun 2014 by Member 10911218
If only draw cube,it's easy,you can use OpenGl.If draw cube and flat text. you can use OpenGl and freetype to do it.If you don't know about the OpenGl or DirectX 3D ,then you can use the 3D controls, such as: EWDraw 3D ActiveX
6 Apr 2015 by QutaibaMustafa
Hi ^_^ I want to make a 3d painter using c#.First of all I want to display 3 panels - XY, XY and YZ Views. The user will paint what he wants in each panel. After that he will click on a button to combine the 3 views and get a 3d model from these panel. He also can render this model...
14 Apr 2015 by Gokulprasad05
Triangle FarPlaneDistance="100" LookDirection="-12,-11,-10" UpDirection="0,1,0" NearPlaneDistance="1" Position="11,10,9" FieldOfView="75" /> ...
6 Apr 2015 by QutaibaMustafa
Hi ^_^ I want to make a 3D painter using Matlab.First of all I want to display 3 panels - XY, XY and YZ Views. The user will paint what he wants in each panel. After that he will click on a button to combine the 3 views and get a 3d model from these panel. He also can render this model...
9 Jul 2015 by zkl59381
MatLab may not fully meet your needs.Can you use others 3D library ? Like : OSG,VTK,Opencascade,EWDraw CAD Component.
19 Mar 2022 by Yang Kok Wah
A tool to generate face images and animated gif files for different angles and lighting using only a single face image. Also includes Face Matcher using Microsoft Face API.
23 Feb 2015 by Discover.ir
Hi Dear friendsI'm trying to implement some fractal algorithms using maxscript and I have some questions,1- do I choose right language and right software for this work? if no, what is your suggestion?2- what do I need to start working about fractal in Maxscript? Like functions or...
30 Jan 2012 by chaiein
Hi I need to develop 3D shooter game. I have knowledge on visual studio c++ mfc,dark gdk,little javascript . please give me resource of sample shooter game code using any of these tools to learn. Or Please suggest me if any good game development engines that can be learnt soon and where many...
31 Jan 2012 by JackDingler
You might try Garage Games. The developers there used to work for Sierra Arts. They have a fairly mature development engine for a reasonable price.
6 Feb 2012 by chaiein
We can also develop games using Dark GDk whether its 3d or 2d and even the samples are provided which we can develop further.for more information check this site.www.thegamecreators.com
6 Mar 2015 by Sergey Alexandrovich Kryukov
There is no reason to have "3D visualization" in a form. Forms are designed to post data from a page to server side, to perform some HTTP request with form controls' data, nothing else.Such visualization can be achieved in different ways. First, you can generate images from data on the...
8 Apr 2020 by Member 10107283
Hello,Where can I find a 3D image segmentation code using Otsu thresholding or using watershed transform. In any language but preferably in MATLAB language. kindly direct me to the right placeThank you very much,
26 Nov 2013 by Chris Boss
3D Sandbox with programable logic built in
27 Nov 2011 by ravindra sawant
How to build 3D map in Silverlight using BingMap service?
20 Jan 2015 by James082a
I want to use the eclipse to make 3D model from 2D ultrasound images. Those 2D ultrasound images use to form layers of the 3D model. Any open source or development tools can help me to do these? Any help would be appreciated!
20 Jan 2015 by Sergey Alexandrovich Kryukov
First of all, I already tried to answer you: 3D reconstruction from 2D images[^].I tried to explain that this is related to some most difficult fields of mathematics, especially in the domain of applied mathematics.There is a lot of development on related topics, such...
9 Nov 2020 by OriginalGriff
We are more than willing to help those that are stuck: but that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us...
4 Aug 2016 by Ujjwal Gupta
Introduction to 3D with the HTML, CSS, JavaScript and three.js
7 Apr 2017 by Lucasbear123
Hi, I'm starting to work on a 3D library called Lib3D. I need help with understanding the math involved with perspective projection, and then implementing the math into the program. Any help will be appreciated!-Lucas
1 Jan 2011 by Dr.Walt Fair, PE
Have you seen this[^]?Google also brings up quite a few results, but I'm not sure exactly what you are looking for.
5 Aug 2018 by Mike Hankey
The time is right to purchase that 3D Printer you've been looking at and I'll help you get started!
17 Sep 2012 by le.Festin
Q1. I was wondering if any once can help me understand the concept of translation and rotation of camera at different locations. such as how it transforms when at different look direction, up direction in same camera position.I want to create a FPS style camera by this.Q2.I would...
17 Mar 2017 by Richard MacCutchan
Please read Code Project Quick Answers FAQ[^].
8 Apr 2014 by h_alikh
Hi ....Iam looking for interface between c# and 3ds max .....I want too have stand alone project not add in ....I try for max.net and I cant ....plz help me
9 Jan 2013 by Chattrawit Jayz Cpe
Picture For Question - 48kB
19 May 2015 by Member 7862880
How to set auto fit model in 3d View when I activate 3d view in pdf?(like as 'Parts option -> Fit Visible')Please help me..
16 May 2021 by Steffen Ploetz
Creation of a basic X3DOM editor based on OpenGL with as little code as possible, that is running on ReactOS and Windows, to check out the capabilities of X3DOM.
19 Feb 2021 by Leif Simon Goodwin
A 3D surface plot control in C#
14 Apr 2021 by Angelo Cresta
An extension of "A control to display pie charts with highly customizable formatting" from mattsj1984 that also renders doughnut.
26 May 2015 by Ziya1995
I need a very simple code example to create a 3d model in WPF.Can you give me such the code?I wanna add the code to my new WPF application and see a result.It should be very simple to make it easy to understand.I need it in C# language, not XAML.I don't wanna add models into...
26 May 2015 by Ganesan Senthilvel
Zam3d is a great tool for converting 3D Models into Xaml. I highly recomend Petzold's book http://www.charlespetzold.com/3D/index.html[^]
26 May 2015 by johannesnestler
Have a look at the simple example shown here: http://wpftutorial.net/IntroductionTo3D.html[^]And as GanesanSenthilvel recommended if you work with 3d you "Need" something to create your models... Your "I wan't to do it in code" makes you look a little "dumb" - take the example form the link...
1 Oct 2011 by adroitandy
hi,can anyone help me as to if I can use SIMD instructions to perform AABB collision testing and if yes then how should I go about implementing it.ThanksAndy.
1 Oct 2011 by Dávid Kocsis
Hi!I wrote a simple function in flat assembler that returns true if point is in the box. The 1st and 2nd 16 byte vector describes the box, the 3rd vector is the point. It can be used to test whether one of the 1st box point is in the 2nd box. Or to test whether the 1st's midpoint is in a 2nd...
5 Feb 2013 by tharindutpd
I have created a 3D model with bones using blender software. now i want to know how can i access this 3d model(access skeleton bones of 3d model) programmatically by passing parameters using C# or C++ (or even with python but as Visual studio project).... please give me help regarding this...
18 Jun 2021 by OriginalGriff
I'm getting a 3D printer for Christmas! So - I need to learn to use it. That means ... a CAD package. Gulp.
17 Sep 2019 by OriginalGriff
OK, OK. I had to set it up - Herself insisted - and I had to actually print to be sure. So I knocked up a quick box to print (just to show I could).
25 Nov 2019 by OriginalGriff
So ... you want to put that LCD display in there, huh? Pity it's not a rectangular frame, isn't it? How are you going to fit a neat frame round that, huh? It's complicated, but ... not that complicated when you get used to it.
21 Jun 2012 by sidali.kadi
hi allim trying to display 3d objectusing direct x and i get this error "An unhandled exception of type 'Microsoft.DirectX.Direct3D.Direct3DXException' occurred in Microsoft.DirectX.Direct3DX.dll" with additional information "error application"in this methode:public void drawMesh(Object3D...
24 Jun 2012 by sidali.kadi
salam guysi found the solution.the probleme was that i forgot to add those methodes:device.beginSecene();device.endScene();device.Present(); that's all.have a nice day
16 Jan 2020 by Richard MacCutchan
Google is the place to search for documents on the subject.
2 Oct 2023 by sahil ajmeri 2022
I have STL file where I want to apply 4x4 matrix. The matrix I want to apply is: [[2.7282, 0, 0, 0], [0, 4.0014, 0, 0], [0, 0, 1, 0], [0,�0,�0,�1]] Here is my STL file: https://we.tl/t-v6SHprAeUZ[^] I have used Python code to apply matrix...
23 Aug 2012 by Harald Heide Gundersen
Geocoordinate positioned Xna model viewable thru Photocamera
6 Aug 2018 by taifur
A password protected door lock based on Arduino which can be controlled by a smartphone over Bluetooth
17 Nov 2010 by wuban
Somebody tell me writer a container,that it can rotation,move,zoom,shrink.But I don't know that how to writer.if there anybody that can tell me.
4 Jul 2013 by Mesa1993
Hello everyone I want to create a scene using 3ds max, add some c++ or c# controllers to be able to walk through the scene (using arrows for examples) and make it accessable via the internet ?is that even possible???in other words, I want to create a 3d book store and puplish it on the...
4 Jul 2013 by Ron Beyer
You can do VRML, although its really not supported well.I would use something like Unity3D[^] to do this. Then the user just has to install a plug-in and they can run your app. You can also publish on multiple platforms (iOS, Android) without much additional work. Scripting is done in C# and...
12 Oct 2012 by Sergey Alexandrovich Kryukov
Did you try to find anything at all. You will find plenty of samples:http://bit.ly/Q6JA1m[^].Perhaps this is not what you really want.Your question in not completely incorrect, but can be greatly improved. You should have re-formulated it:"How to use Wikipedia, Google, CodeProject...
12 Oct 2012 by Kenneth Haugland
There is one guy that has made some pretty fancy 3D WPF animation of raindrops in water.His blog, were the code is explained:http://stuff.seans.com/2008/08/24/raindrop-animation-in-wpf/[^]And you could download the source code in C# here:http://wavesim.codeplex.com/[^]
14 Sep 2023 by Nam Lê 2023
I have a VR view project using panellum lib & gg 360 media lib and I want to switch to these libs in 1 html. In detail, all code & images are in panellum lib but I want to switch and view all with gg 360 media lib. Will I be able to do that?...
15 Aug 2023 by OriginalGriff
I'm not familiar with either of those libraries, but if they provide similar functionality then yes, you will probably be able to change your code from usein panellum to gg360. However, you would have to look closely at how the two libraries work...
8 Jul 2015 by Tommy Eblen
I would love to begin 3d game development, but i am not the best at java. I have read headfirst java, done projects in libgdx, and done very simple android development. lwjgl seems like a good library for 3d game development, but given my skill, is it possible for me to make a game with lwjgl?
22 Jun 2013 by Frank R. Haugen
I have a small app I use to visualize a starmap of a few hundred local stars, currently I'm using XAML to "draw" UI elements based on database's tables and it works incredibly well. HOWEVER, I am thinking of doing it in 3D and I'm in need of some guidance. How could I implement something...
22 Jun 2013 by Ron Beyer
Use ModelVisual3D and place spheres instead of circles. Generating a sphere-mesh in XAML[^]You will also have to supply the Z coordinate for the sphere you use. You can then use a camera object to be able to move around in the 3D world:3D Graphics in WPF[^]
22 Aug 2018 by Member 13958396
This is my first time doing matlab and I've never coded before. This was a compulsory Uni paper that I have had to take. Prior to this task I've managed to complete various other tasks but this is challenging me beyond what I've learned in the last three weeks. This is what ive got down so far...
22 Aug 2018 by Patrice T
So, you show no attempt to solve the problem yourself, you have no question, you just want us to do your HomeWork. HomeWork problems are simplified versions of the kind of problems you will have to solve in real life, their purpose is learning and practicing. We do not do your HomeWork....
26 Sep 2018 by kozmikadam
Hello everyone ,I just tried first sample from OpenGL Superbible v7and here is the code : #include "sb7.h"class my_application : public sb7::application{public: void render(double currentTime) { static const GLfloat red[] = { 1.0f,0.0f,0.0f,1.0f...
29 Sep 2015 by CHill60
unistd.h is a unix file.This post[^] discusses windows alternatives for it.
29 Sep 2015 by Jochen Arndt
The header file is used on Unix systems. When using Windows, you may try to comment out the lines where it is included. You will probably get some errors then about missing functions. Check then if the missing functions are defined in other Windows specific header files and include those instead...
23 Sep 2017 by SkydraTM
For the purpose of current task you can add "WIN32" symbol to PreprocessorDefinitions (Property Pages/Configuration Properties/C/C++), so it would be like this "_DEBUG;WIN32;_WINDOWS;%(PreprocessorDefinitions)" for the debug configuration. It worked for me.
26 Sep 2018 by Member 13998649
Simply replace the WIN32 written just above the '#include' with _WIN32
15 Mar 2012 by Mobile.Instinct
Hello,I am working on a C++ application under Visual Studio 2003 using DirectX 8.1 that uses 3D graphics to displays various elements. For Eg: I have a beach ball on a sunny day. I am able to draw the ball using graphics, but I am interested in drawing the sunny day background using any...
15 Mar 2012 by barneyman
I can't help you with 8.1, but with 9+ the process is this Load your bitmap into a textureGet the size of the backplane using GetBackBufferCreate a square textured backplane (vertex format = D3DFVF_XYZRHW | D3DFVF_TEX1), using D3DXVECTOR4 with w set to 1.0In your render function,...
21 Apr 2014 by Member 10711259
comment je peux texturer une surface 3d realise avec trisurfCourtesy of Google Translate:how I can texture a 3D Surface realized with trisurf
11 Sep 2018 by EgorYusov
This article describes several strategies to update GPU resources in Diligent Engine (a modern low-level graphic library) as well as important internal details and performance implications related to each method.
26 Aug 2013 by Buddhi Chaturanga
Please I need brief comparison of above mentioned 3D teachnologies.What is the most suitable technology for general 3D applications?Concerning O/S:Windows dependent 3D applications developed using DirectX.Linux dependent 3D applications developed using OpenGL.Some 3D applications...
26 Aug 2013 by Sergey Alexandrovich Kryukov
You cannot really "compare" things like that. The reason is simple: there is no such thing as "general 3D application". The fact that this is a game adds some certainty, but not enough. Moreover, you mention different platforms. How you can compare something, if a technology exist on one...
15 Aug 2014 by behruz alizade
HiI want to construct a human head 3d model in C# windows applicationthis model surface must be colored with different colors what is the solution?tnx allBehruz
15 Aug 2014 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
7 Jan 2011 by Jan Wolf
I am currently trying to implement a laidlaw-like CSG algorithm.The essential task is to split polygons so they dont intersect.Only thing for me left to do now is to split the polygons, on paper I know how to do it, in code it is a little more difficult.Let's sag we have a single...
8 Jan 2011 by Sergey Alexandrovich Kryukov
If you have a plane defined by two vectors A and B; they essentially define a plane orientation only if the angle between them, and the length of each are not too close to zero. In this case, you can always get a vector product of the two:C = A×BC calculated this way is orthogonal to...
9 Jan 2011 by Sergey Alexandrovich Kryukov
All right, another answer:From your picture I can see all in one plane. For now, I'll find you only the direction of new segment, you can define its position/dilation by yourself (I asked you about required position of points).You have triangle defined by 3 3D points: A, B, C, triangle is...
2 Aug 2021 by Richard MacCutchan
You have already posted this question at Creating bins of 3D points (large dataset) with Python, taking long time to load[^]. Please do not repost.
2 Aug 2021 by Dave Kreskowiak
Well, there's a couple bottlenecks. First, Python is an interpreted language so it's going to be slower than compiled languages. Second, try and read 5.5GB of data and do NOTHING with it. Just read the files and throw the content you read away....
2 Aug 2021 by nikita agarwal Jun2021
I am trying to make a 3D plot of a galaxy catalog and have a large amount of x,y,z coordinates and data value (w4) stored in seperate hdf5 files. Since the data content is huge, I have tried binning them. The output is however taking forever to...
24 Mar 2015 by Keyvan M. Kambakhsh
This article introduces i3DML project and demonstrates how XML and JavaScript can help you build interactive 3D Worlds.
17 Nov 2022 by André Marcos (Advisor), José Cláudio Silva, Victor Lopes
This work proposes the development of a Raycast engine in JavaScript to facilitate the 3D game development.
26 Aug 2013 by Buddhi Chaturanga
I want to distinguish of these two technologies relevant to their technological aspects.What are major differences and usage of each one of them?Pros and Cons.How we can handle process through GPU using each one of them?How those technologies can be implemented for 3D game programming?
27 Aug 2013 by Stefan_Lang
Basically, CUDA only works for NVIDIA cards, whereas OpenCL supports all. In theory. To my knowledge the only usable implementation for OpenCL is by AMD; NVIDIA also implemented OpenCL for their cards, but didn't put a lot effort into it.CUDA only is more powerful than the more generalized...
18 Aug 2023 by EgorYusov
This article introduces Diligent Engine, a modern cross-platform graphics API abstraction library and rendering framework
19 Oct 2011 by Andresin87
I'm trying to make a Transform filter dll witch gets parallel video frames and displays it in fullscreen mode as NVidia 3D stereo mode. I use graphedit to show the results but, when i conect It to a video render filter, It shows me the "Hard coded break point"...
2 Feb 2012 by chaiein
How to create or get a .X file using directx SDK version(august 2007).I want to create a zombie 3d model that can be used in my games developed by vc++.
1 Feb 2012 by Sergey Alexandrovich Kryukov
Don't worry — already created, and not even a file but files:http://en.wikipedia.org/wiki/X-Files[^]."Zombie characters" take place, too. :-)—SA
6 Feb 2012 by CDP1802
SA, don't be so sarcastic :)Why don't you download this software[^]? With this you can make any 3D models you may need and export them to DirectX or many other formats.The dowside is, that you will have to read the manual and practice a while before you might come up with a model that is...
6 Feb 2012 by chaiein
I got the zombie model free in dark gdk itself where it will be given in media files when installed. There are many models even weapons different people so on.www.thegamecreators.com provide this software.
26 Jun 2018 by CMalcheski
A Full DirectX Sample Application Created in Pure Assembly Language
25 Mar 2011 by Lasse TM
I need a function that return if a certain point is inside a directx 3d model(.x)...I have tried but i can´t get it to work so i need some help.Something like this:public bool IsInsideModel(Vector3 point, Model model){ //This would of course be nice but i don't think such...
21 Mar 2011 by CDP1802
The good news: it can be done. The bad news: A precise test is computationally expensive and therefore probably too slow to be of any use in real time rendering.First off, it works only on convex objects. Concave objects would have to be broken down into two or more convex objects and then...
30 Sep 2020 by anshudutta
Hi,I am using a Viewport3D control in WPF to diaplay a 3D image in a C# Winform application. I also need to diaplay a 2d Bitmap image behind the scene. My question is - Can I host a 2D bitmap image in a viewport3D control in WPF. Is there any way this can be achieved?Please...
16 Sep 2010 by Kubajzz
As far as I know there is no general way to add a 2D background to Viewport3D. There is a simple workaround though.You can use an ordinary Image control to display the background and then place the Viewport3D control right over the image. The underlying bitmap will be visible behind all the...
24 Jun 2014 by CPallini
Quote:What (underated?) language will perform better than C++ when dealing with 3D gaming?C or assembly of course. But that doesn't make a point. You should find the right trade off between code performance and code production speed (it could take forever to write a complex game in assembly)....