Click here to Skip to main content
15,891,951 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 Updated

3D 

15 Jan 2024 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.
24 Nov 2023 by Andre Oosthuizen
This is unfortunately the issue if you copy and paste someone elses code without reading the documentation or understanding how an add-in should work. As per the comments, you had no reference to teh 'Zdog' library. Looking at their...
24 Nov 2023 by Nischal Shar
I'm trying to create a clock design and add a 3d drag according to the mouse movement view just like this pen[^] Although the above pen uses a library called Zdog, I also tried to add it in my code but I didn't find my way. I have a front view...
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...
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?...
18 Aug 2023 by EgorYusov
This article introduces Diligent Engine, a modern cross-platform graphics API abstraction library and rendering framework
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...
12 Jul 2023 by EgorYusov
This article describes Unity low-level plugin interface and the Unity graphics interface emulator that facilitates native plugin development.
11 Jul 2023 by sahil ajmeri 2022
when i run the cura_app.exe it crashes while using command "pyinstaller cura_app.py" project runs successfully. am i doing some mistakes while build or anything else ? help me with suggestions or solutions i am already wasted my time more then 1...
11 Jul 2023 by OriginalGriff
Look at the error message - it's pretty clear: UM.PluginError.PluginNotFoundError: Could not find plugin SentryLogger So find the plugin, install it so Python can find it, and try again. We can't do that for you!
1 May 2023 by Kenneth Haugland
A basic guide for reading glTF files and showing simple 3D images
1 Mar 2023 by Dave Kreskowiak
Is there a programming question in there somewhere? Writing code is what this site is all about, not doing motion capture.
1 Mar 2023 by mohamed gawdat
An important note I want to pay attention to facial expressions What I want is to make cartoon characters that don't look like the human body, such as Inside Out, Monster Aliens, or Monster Corporation. Will mocap technology help me make...
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.
8 Nov 2022 by Sabry1905
How can I render a 3d cube which filled with a color that different than the color used to color the edges and rotate it using the mouse using C#? What I have tried: I tried some wpf code but I was not able to change the color of the edges and...
6 Sep 2022 by EgorYusov
An implementation of a basic path tracer with Diligent Engine
11 Jul 2022 by Kitbosss
So, basicly I want to do something, but it doesn't work. I wanna reference a GameObjekt, but don't know how. I want to make "player" the same as "vehicle" is that possible? or make that "player" means "vehicle" Here's my code: using...
11 Jul 2022 by Gerry Schmitz
It's "GameObject"; not GameObjekt. Unity - Manual: Important Classes - GameObject[^]
11 Jul 2022 by OriginalGriff
I think you probably need to do two things: 1) Learn C# and how it works pretty well before you start with Unity development - y6our question shows that you don't understand objects, instances, or inheritance at all, and you need to know that...
11 Jul 2022 by TheRealSteveJudge
Your code snippet does not seem to make any sense. Please have a look at their documentation: Unity - Scripting API: GameObject.Find[^] There is even a tutorial! Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, &...
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.
22 Feb 2022 by Uzi Granot
This program will solve a Rubik’s cube using algorithms for beginners. It is a WPF open source application written in C# for VS 2022 and .NET6 using 3D graphics and animation.
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 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 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...
21 Jul 2021 by aroman
In this post I explore Lattice Boltzmann methods and build a related project
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.
14 Jun 2021 by A-Games
Why am i getting this error? This is code from the microsoft website:
14 Jun 2021 by Richard Deeming
Because you're adding the GeometryModel3D element at the wrong place in your markup. We can't tell you precisely where, because you forgot to include the parent element. According to the documentation, it looks like it needs to be inside a...
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.
3 May 2021 by Patrice T
Quote: beizer The correct name is Bézier (French engineer), it may help for searches. Bézier curve - Wikipedia[^] Quote: I like the smooth and elegant way your program for beizer/cubic curves interpolation works. If this about an article in CP,...
3 May 2021 by Member 15121776
Hi, I am new to GDI programming and only understand vb as a person learning programming. I like the smooth and elegant way your program for beizer/cubic curves interpolation works. Do you have a version which can do the same for a 3D curve. ...
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.
19 Feb 2021 by Leif Simon Goodwin
A 3D surface plot control in C#
16 Jan 2021 by Shao Voon Wong
How to convert a code from parallel C++ ray-tracing code to CUDA, then to SYCL 2020 via Intel® DPC++
11 Jan 2021 by EgorYusov
An introduction to ray tracing API in Diligent Engine
29 Dec 2020 by IgorRadionyuk
An iterator over parametric function, which is a well known mathematical abstraction: Parametric Function. It maps interval of real numbers[start, stop] to some values in the range of function.
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...
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...
23 Sep 2020 by EgorYusov
Introduction to amplification and mesh shaders, the new programmable stages available in modern GPUs, and how to use them to implement view frustum culling and object LOD selection on the GPU using the Diligent Engine API
29 Jun 2020 by Gary.Miller.WPF
In this article, I describe how I implemented a 3D subdivision surface modeling application in JavaScript and WebGL.
7 Jun 2020 by Member 14856189
i have three points on the same Cartesian plane, i am also able to find the fourth points, which ultimately forms a rectangle kind of a shape, i am struggling to find the logic to find the rest of the points inside the rectangle based on the size...
7 Jun 2020 by KarstenK
Your question is a bit unspecific, because the progamming language is unclear. Some language have classes or libs for such computations. Here is some nice trigonometry tutorial. You must imagine your rectangles as two triangles and so find some...
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...
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,
21 Feb 2020 by Richard MacCutchan
Then you need to do some more research. In the meantime I suggest you also take a look at Code Project Quick Answers FAQ[^] to see how to post a question.
16 Jan 2020 by Richard MacCutchan
Google is the place to search for documents on the subject.
10 Dec 2019 by hansiMuc
We are in the realtime graphics business and have to develop a 3D toolchain application in the next year. We are long time familiar with C++, WX Widgets, OpenGL and Vulkan and also wrote VR simulation and interactive realtime training systems. Nevertheless I would like to get a better insight in...
10 Dec 2019 by Rick York
Why develop a proprietary toolchain? That makes zero sense to me. I think you would be better off adopting a set of standard products to start with. Something like Blender or 3Dstudio as a modeller and then work your way down the chain and pick products for each step. Then work on developing...
10 Dec 2019 by Stephane Capo
Hello, I do not think there is any book or documentation on such a specific subject. Too few people develop CAD or 3D modeling software. In addition, setting up a good software architecture does not really depend on the type of software itself. The main difficulty here is to be able...
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.
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).
13 Sep 2019 by lee.lion
My question is: how can I change code so that each line shows the vertices of face corresponding to that id? I am so appreciated for any help and hint. What I have tried: according to the below link: http://math.lbl.gov/voro++/examples/polygons/ (explanation about above link) 1- on line 41,...
12 Sep 2019 by Rick York
As I mentioned above, it seems you used the code from Examples/Interface/Polygons.cc on the Voro++ package. There are two big differences in them. It has to do with how you are accessing the data. Here is an excerpt from the example code :void draw_polygon( FILE *fp, vector &f_vert,...
11 Sep 2019 by Stefan_Lang
Looks like in the inner for loop, the vector v is never modified. That explains why you keep getting multiple identical outputs. I have no idea what you want to achieve or what that library does, but whatever it is you wanted to print, you should make sure to actually load or process those values.
8 Sep 2019 by OriginalGriff
This is not a software development question: or if it is, we aren't here to do it all for you - we are more than willing to help people, but we expect to to do the work and we will help when you get stuck. Just posting your task and saying "I tried for a month" isn't showing us where you are...
15 May 2019 by Member 14370500
I hope its okay to post this code - related question here. I have been working on a script for a 3D program for some guy. And he says now that he would like to have the script and sell it to the people he reaches with his courses on the internet. Since I have never dealt with selling my right...
28 Jan 2019 by Peter Occil
Describes parametric curves and surfaces and how to generate them using my public-domain HTML 3D library
17 Jan 2019 by Peter Occil
Describes projection and view transforms commonly used in 3D graphics, such as perspective and orthographic transforms
22 Dec 2018 by EgorYusov
This article introduces the problem of resource state management and synchronization in modern graphics APIs such as Direct3D12 and Vulkan and describes a solution offered by Diligent Engine.
7 Oct 2018 by Ledrunning
Hello everyone! It is necessary to draw track way of a three-dimensional model of the aircraft on a 3D model of the Earth. Track should be fake, no matter where, the main thing that would be in a circle. Approximately as in the image(link). I read about physics, and about quaternions (also about...
7 Oct 2018 by Patrice T
Quote: Track should be fake, no matter where, the main thing that would be in a circle. When a plane fly between too positions, it try to fly the shortest path. The shortest path is known as 'arc of great circle". Great circle - Wikipedia[^] Great-circle distance - Wikipedia[^] Why Are Great...
26 Sep 2018 by Member 13998649
Simply replace the WIN32 written just above the '#include' with _WIN32
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...
23 Sep 2018 by SREENATH GANGA
.NET Equivalent to MInverse in Excel
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.
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 Vincent Maverick Durano
READ: Programming Problems and Finding Solutions[^] PS: Adding those exclamation marks on the subject line suggests you are late with your homework, it's rude and no one is interested in that. If you want us to help you, then start doing something by yourself. Show us what you've tried and...
22 Aug 2018 by Member 13958388
SOMEONE PLEASE HELP ME SOLVE THIS?!?!?!?! SelectKRandomPointsPurposeSelectKRandomPoints generates a list of k randomly selected pixelsfrom an image. Input(s):It takes twoinputs in the following order: 1)A 3D image array from which to select points from 2)The number of points to randomly...
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....
22 Aug 2018 by Patrice T
Quote: SOMEONE PLEASE HELP ME SOLVE THIS?!?!?!?! The help you want is us doing your homeWork. 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...
6 Aug 2018 by taifur
A password protected door lock based on Arduino which can be controlled by a smartphone over Bluetooth
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!
24 Jul 2018 by SujitJoshi
We have a requirement where user should be able to select/Mark/paint any surface/area using a pen/brush like "Paint 3D" What I have tried: I tried to google this but could not find the solution
30 Jun 2018 by muhammad sufiyan
USE THIS CODE link rel="stylesheet" type"text/css:" href="style.css"> Plotly.d3.csv('data_file.csv',function(err,rows) { console.log(rows); var data = []; for (let i = 0; i
30 Jun 2018 by VenkataSeshu B
Hi all, i want to pass data in 3d charts i.e; x-axis and y-axis,z-axis. This is my requirement. please provide soultion regarding this. Thanks in Advance What I have tried: i have tried for 2d charts, it is working fine, but the same way i need to pass data in 3d charts like...
29 Jun 2018 by maryam.saboor
Hi, If you mean standard javascript, so have a look at this link ;) Plotly.js 3D Charts[^]
26 Jun 2018 by CMalcheski
A Full DirectX Sample Application Created in Pure Assembly Language
25 Jun 2018 by LLLLGGGG
In this article, I am going to explain how to generate a hexagonal tessellation and how to draw it in Unity 3D
14 Jun 2018 by Rick York
Personally, I would go with old-style OpenGL. I think that is the simplest 3D libary/engine to get started with and easiest to get things done with quickly. There are a fair number of sample programs that use OpenGL here. Two of them are compilations of fifty different sample programs and they...
14 Jun 2018 by BerthaDusStuf
I am reading jumping into C++ currently but I have a computing project for school where I will need to program in 3D so I want to learn to program in 3D ASAP. I dont have any experience in 2D programming and would like to skip that if possible and then return to it after I have completed my...
13 Jun 2018 by Maciej Los
An answer to such of "question" (see my comment to the question) is opinion based only. If you need to learn 3D programming ASAP, i'd suggest to buy any book... which is already accessible to you. When i typed "C++ 3D programming book" in Google, it returned me, for example: What books should I...
13 Jun 2018 by Richard MacCutchan
directX - Google Search[^]
30 May 2018 by Bruce Greene
A plot control based on the WPF Helix Toolkit for visualizing a real-time stream of 3D locations
3 May 2018 by Davy Wang
I want to import some 3D mdoel files e.g. JT format or IGS format. I want to draw some points and lines at specific coordinates at the model. How to do that? Thanks in advance! What I have tried: I have tried with STL in WPF with some example codes. But poor results.
11 Mar 2018 by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
8 Feb 2018 by Member 11733943
Hi Everyone! I´m working in an aerial mapping application which tries to determine what part of the terrain is viewed from an aerial camera. First I have rendered DEM (Digital Elevation Model) from existing .tif file, generating all the triangles of the mesh by .tif positions and values. I...
8 Feb 2018 by Rick York
There are tons of research papers written on this topic or relatives of it and there are several tactics used. One of the most common is subdividing the mesh and checking each division. Generally this is done by dividing the mesh in quarters and doing a hit check on each quarter and then for...
23 Nov 2017 by EgorYusov
This article describes how to implement dynamic resources with Direct3D12 API using ring buffers.
26 Oct 2017 by ghotik2002
I'm trying to revive an old Win32 game that uses 3DNow! instruction set to make 3D rendering. On modern OSs like Win7 - Win10 instructions like FPADD are not allowed and the program throws an exception. Since the number of 3DNow! instuctions used by the game is very limited, in my VS2008 MFC...
1 Oct 2017 by Jochen Arndt
Assimp is a library. To use it you build it as a separate project to create the libraries or use the provided pre-compiled ones. Then you link your application with the libraries. For installation and building it yourself see the documentation: Assimp: Installation[^]. That mentions also the...
30 Sep 2017 by Member 13439306
I want to build assimp form source (so I just want to drag and drop the assimp source code into my project) how can I do this in an existing project? I downloaded the assimp source code, but there is no real source code. there is a folder called "code" with a lot of files in it, but if I just...
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.
28 Aug 2017 by Andreoli Carlo
Simple terrain generator and representation through WPF Viewport3D
3 Jul 2017 by zapsolution
Windows 10 multimedia player 64-bit
21 Apr 2017 by Peter Occil
A public domain JavaScript library for easing the development of HTML 3D applications
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
25 Mar 2017 by Wolfgang Foerster
Or why isn’t the earliest sunset on the year’s shortest day?