Questions tagged [3d]

3D computer graphics are graphics that use a three-dimensional representation of geometric data stored in the computer for the purposes of performing calculations and rendering 2D images.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

How to add objects in a 360 generated image

I am generating 360 images using BlockadeLabs and I am creating a portal out of them. I am trying to add 3D objects inside his portal but they look like "floating" in the air. Is there a way ...
Theodor Sandu's user avatar
0 votes
0 answers
8 views

React [component] Carousel 3d effect

New learner here and trying to understand how to create image slider in React. For reference the slider is in WordPress as a plugin and it's implementationcan be seen live on the following website. ...
Tee's user avatar
  • 1
0 votes
0 answers
21 views

Flutter 3D cube distorted after adding GridView.builder

I have this code that I have wrote from following a fellow youtuber to create a 3D cube with its animation, It works very well until I introduce a GridView or a ListView widgets inside any of the ...
Steve Roseik's user avatar
0 votes
0 answers
11 views

OpenGL multiple shaders per Mesh

I'm learning OpenGL for a personal project and I have mesh that contains 3 shaders: Shader for normal rendering Shader for picking as explained in: http://www.opengl-tutorial.org/miscellaneous/...
Jaime's user avatar
  • 133
0 votes
0 answers
13 views

Cesium: View from the front of the tracked entity and add first-person view

I am using Cesium. I have such a piece of code. It describes the logic of an airplane's flight from one coordinate to another. Issues: Initially, the camera is not oriented in the direction of the ...
Alexey Buhayov's user avatar
0 votes
0 answers
6 views

Is there a solution to upload 3D glTF model on website server to get individual link to send client

I am not IT designer. I'm looking for website where I can upload on a server my GLTF file and get individual link to share it with my customers. Do you know such a website? Quality is important. ...
SilverinLuke's user avatar
-2 votes
0 answers
21 views

apply 4x4 matrix to mesh (.STL file)

i have two STL files both are okay when i open separate on meshlab but when i open both file there should be both file load but there is the problem that the one file is not loaded or some problems. i ...
Hardik Baraiya's user avatar
-2 votes
0 answers
28 views

OBJ file with BMP,TIFF, but no MTL?

I recently found this 3d model and was trying to implement in SwiftUI this 3d model I tried using the obj, there are resource included(bmp,tiff),yet couldn't find the mtl file, am I missing something ...
saladboi's user avatar
0 votes
0 answers
18 views

How to set the facecolors of Poly3DCollection from points in the 2D projection?

Question Start with a set of 2D points where each point lies directly below exactly one 3D path object in a Poly3DCollection. How can you assign the facecolor parameter for the path object to match ...
trent's user avatar
  • 512
0 votes
0 answers
9 views

GLB model in google model-viewer looks very pale

I'm using google model-viewer to visualize 3D models in my application. The problem is that models are looking very pale - no contrasts, no internal shadows - only shadow below the model. This is how ...
Jacobian's user avatar
  • 10.2k
-1 votes
0 answers
18 views

I wanted to make 3d graphics in python but I have an issue [duplicate]

I want to make a cube and rotate it but without using pyopengl, of course I am using python and pygame as a framework I created the perspective projection matrix the rotation matrix and then I ...
adam naanaa's user avatar
0 votes
1 answer
24 views

How can I create a 3D plot based on pixel intensity in Python?

I have a TIF image, and based on its pixel intensity, I'm aiming to generate a 3D plot. I've come across a sample image that represents the kind of visualization I'm looking to achieve: Please note ...
code_lover's user avatar
0 votes
0 answers
22 views

Trying to build from Unity to Xcode for a 3D Scanning app

I've built a small app that uses the iPhone's 3D scanning functionalities. I was able to do exactly what I did to build this app and run it previously and everything was fine, but now when I try it ...
Flurrshify's user avatar
0 votes
0 answers
29 views

3D Gnuplot box plot with individual bars made up of different colors

I want to create a 3D Gnuplot box plot with different colors within an individual bar. (See example below). Is it possible in Gnuplot to create a box plot where I can specify multiple colors for ...
TrevCarey's user avatar
0 votes
0 answers
20 views

When building a world in square mesh chunks, is there a way to blend varied height mulitpliers so chunks' edges line up?

I am working on a procedurally generated world. The world is built in mesh chunks. Each chunk has its own height multiplier that is used to set the heights of the vertices. However, as having ...
Mpsteve137's user avatar
0 votes
1 answer
13 views

Displaying two curves in R3 in such a way that the foreground and background are clear

I apologize for the elementary question - I am a newbie with Python. I am trying to display two interlaced circles in R3 but python doesn't properly show who is "in front". What I want is ...
eduardo sontag's user avatar
0 votes
0 answers
11 views

Realitykit: how to modify/rig a 3D model?

I have bought a 3D model in Blender format about a clock with a button for my iOS app with RealityKit. I could convert the model into USD format (to use with RealityKit) then load, display, resize, ...
Tony's user avatar
  • 1,561
0 votes
0 answers
11 views

object is highlighted when i move orthographic camera in unity

I set the orthographic camera in the unity 3d project. The problem is that plane object is highlighted when i moved camera. It looks like light is focused at some point. I think this is some kind of ...
SoManyQuestions's user avatar
0 votes
0 answers
13 views

Python convert b3dm to gltf

I'm trying to convert a b3dm file to gltf using Python. a b3dm file should be very similar to a gltf, but since the file is in raw bytes I cannot easily see how to make a gltf of it, by updating it's ...
Daniel van der Maas's user avatar
1 vote
0 answers
36 views

How to reconstruct the 3D coordinate system using feature points from an image?

Given a picture of a rubiks cube, is it possible to construct the world space by using feature points from the faces and edges in the image? By using some Topological Data Analysis methods I can take ...
trent's user avatar
  • 512
0 votes
0 answers
31 views

Three.js stl rendering code doesn't display anything

I am trying to render an stl with three js here is my code: index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> &...
Samuel N Lewis's user avatar
-3 votes
0 answers
42 views

Crop PDF in Python Without crop lines

I'm trying to cut a pdf to remove the cut lines generated by Adobe Illustrator with a python script. The problem I have is when I try to convert this new pdf to svg, the cut lines appear and I don't ...
Xora-dev's user avatar
0 votes
1 answer
30 views

Fps unity on android 30 and 45 only

My project has this problem on my PC 1000 FPS And on mobile 30 and 45 Tris 300k Drawcall 200 V-Sync = 0 ,30 and 44 FPS V-Sync = 2 ,30 and 45 fps Why? I use target frame but this can not increase FPS ...
user22601437's user avatar
0 votes
0 answers
6 views

armature/Bones of model returning as undefined

I have a model that I’m loading as .glb. I’ve set up the camera, scene etc and the model displays correctly with no errors. I’m trying to animate the bones in the model but when I try to access them I ...
van's user avatar
  • 158
0 votes
0 answers
22 views

Pyvista question: Why I cannot see my data in result?

Background I have been using pyvista to visualize 2D image (GPR image) by following this and this. Problem I ran the code without any error, but no data was displayed. Data Let's assume the stucture ...
Changwan Sun's user avatar
-1 votes
0 answers
12 views

How can I stream large-scale 3D mesh models on three.js?

We acquired for digital twin city purposes the 3D scan of a large area. We are looking for new solutions to stream this data (FBX, OBJ formats) on the web. Any solutions to stream it for example via ...
Lukebox3D's user avatar
1 vote
0 answers
31 views

How to increase resolution of avatar rendered with three.js

I am using three.js based on HTML. The current material is rendered using MeshPhysicalMaterial, but the resolution seems to be a bit low. On the left is an avatar image I rendered using three.js, and ...
WooooO's user avatar
  • 43
0 votes
0 answers
32 views

How to scale axes independently in pyvista?

Suppose I have x, y, z and x2, y2, z2 arrays. I am plotting them as 2 different 3d splines in pyvista. import numpy as np import pyvista as pv network = pv.MultiBlock() points_1 = np.column_stack((x,...
roschach's user avatar
  • 8,400
0 votes
1 answer
75 views

fit 3D cylinder in a point cloud

I am a bit confused. I have x,y,z points from a point cloud and I want to fit a cylinder using scipy and python. The cylinder equation that I usually find on internet is (x - a)**2 + (y - b)**2 = r**2 ...
Karantai's user avatar
0 votes
0 answers
17 views

can't scale a custom model in three js

when i scale the custom model it works , but its not effecting when it comes with particles. if you see this video you can understand waht i am saying . https://firebasestorage.googleapis.com/v0/b/fir-...
unni krishnan's user avatar
0 votes
0 answers
6 views

can i get the plane describing the edge of my view frustum

tldr: I have a view frustum ive made by performing several cross products between different matrices, now im struggling to clip objects since i cant find a way to describe the planes at the edge of my ...
tgmjack's user avatar
-3 votes
0 answers
34 views

WPF 3D to 2D projection on LookDirection vector appears wrong?

It seems like an object centered on the WPF's PerspectiveCamera LookDirection vector would appear in the middle of the 2D viewport, irrespective of the WPF 3D projection type. Attached is a short VS ...
WoodManEXP's user avatar
1 vote
0 answers
19 views

WebGl faulty calculating of normals

I've been calculating normals for my webgl lightning and I encountered an issue where there is a linear pattern of black spaces, I have smothed it a little by adding 0.1 to every normal but it still ...
O F A L's user avatar
  • 11
0 votes
0 answers
33 views

Unable to visualize OBJ and GLB models using A-Frame library

I try to visualize models, using A-Frame library. I have a server with static contents (my glb-models) and https connection (to conform to WebXR requirements). However, when the page with the model ...
Jacobian's user avatar
  • 10.2k
1 vote
1 answer
32 views

Positioning issue Mapbox 3D model THREE.js

I'm working on a custom layer for Mapbox to render 3D objects using Three.js. My goal is to load 3D objects onto the map and render them at specific latitude and longitude coordinates. While I've ...
markusand's user avatar
  • 245
0 votes
0 answers
14 views

THREE.js - ExtrudeGeometry at a slant

In THREE.js, is there a way to use ExtrudeGeometry() in a way that the extrude depth rises as a slant. For instance, say I draw an Odd Shape: shape design and I extrude it upward into a mesh. Instead ...
liminalFrog's user avatar
-1 votes
0 answers
27 views

How to fade the roof on a player entering a house with a dissolve shader in Unity 3D URP?

using UnityEngine; using UnityEngine.Events; public class DissolveScript : MonoBehaviour { public float Fadin; public UnityEvent OnDissolveComplete; void OnCollisionEnter(Collision collision) { ...
Chris's user avatar
  • 9
0 votes
0 answers
27 views

How find contour of the 3D model?

Question. We need to cut the shape of the window in the walls using a Boolean method ala Blender. Can anyone suggest something about this in three.js ? Maybe it is possible to calculate the outer ...
drPapus's user avatar
0 votes
0 answers
14 views

How to add AxexHelper at a specifc position in ThreeJs?

I try to fix position of axeshelper on three js. But it rotates when the scene rotates. I need to fix the axeshelper at bottom left corner like every 3D application has. How can I set the position for ...
zenhanu's user avatar
2 votes
1 answer
27 views

How to programm Shepard-Metzler-figures with R

Do you know how to programm Shepard-Metzler-figures with R? I would interested in a step-by-step guide on how write the code. As you can see on the picture, these figures consist of ten cubes formed ...
Halli Hallo's user avatar
0 votes
1 answer
25 views

How to clip a PyVista mesh to a ball?

I have this PyVista isosurface: from math import pi, cos, sin import pyvista as pv import numpy as np def strange_surface(x, y, z, A, B): return ( z**4 * B**2 + 4 * x * y**2 * A * ...
Stéphane Laurent's user avatar
0 votes
1 answer
21 views

Adding a Custom Plane to a 3-Dimensional 'plotly' Plot in R

Using the plotly package, I have the following plot. library (plotly) Data_Frame <- iris Plot_1 <- plotly::plot_ly(Data_Frame, x = ~Sepal.Length, y = ~Petal.Length, z = ~Petal.Width) Plot_1 I'd ...
David Moore's user avatar
1 vote
0 answers
11 views

TrueDepth to real point cloud

I am trying to convert TrueDepth depth maps into point clouds. Is there any way to transform TrueDepth camera depth map into a real size point cloud using provided by Apple intrinsics? Other questions ...
ubermensch's user avatar
0 votes
1 answer
40 views

ThreeJS Orbit object around (0,0,0)

I have created a ThreeJS Scene as in the image. And I have created 2 methods to rotate the Obj2 around the Obj1 in required distance. function configureObj2PositionHorizontally(angleInDegree) { ...
Janith Ganewatta's user avatar
0 votes
0 answers
48 views

How to view the slices of a 3d stl file separately in Python?

I am trying to load a stl file and trying to view the slices of the stl file. I have tried this: import numpy as np from stl import mesh import matplotlib.pyplot as plt Load the STL file mesh_data = ...
sripathi akhil's user avatar
0 votes
1 answer
53 views

WPF 3D to 2D projection appears wrong?

Have a case where a point on the PerspectiveCamera’s LookDirection vector does not project to the center of the Viewport3D. Any thoughts as to why? Here are details of the case: The Viewport3D is 778, ...
WoodManEXP's user avatar
1 vote
0 answers
21 views

Change line width or point size with Shaders in PyOpenGL [duplicate]

I'm using PyOpenGL with shaders to draw lines and points using glDrawElements(GL_LINES) and glDrawElements(GL_POINTS), but when I draw them, nothing shows up. I'm assuming it's because I haven't set ...
eeeeeeeeeeeeeee's user avatar
0 votes
0 answers
18 views

How do 3D models physics mechanics work (how is it setup to behave a certain way)

trying to make a program that uses 3D models and some physics integration, but I dont understand how a 3D model is made to have certain specific properties related to physics, such as collision. A ...
henhen's user avatar
  • 1,056
0 votes
0 answers
17 views

Cmap will only apply to each sphere individually

I am playing around with 3D graphs, and I created a couple of spheres. How do I make it so that the highest sphere is dark blue and the bottom sphere is white (with the other spheres in between ...
even_odds's user avatar
0 votes
0 answers
17 views

How can I make a tool like IDTool using Maxscript in 3Ds Max?

I am gonna improve the IDTool in 3Ds Max. To do this, I installed IDTool. Then, I can see .mcr file in maxscript folder. But I don't know to run this file. How can I change this script file to improve ...
Takao Miyazaki's user avatar

1
2 3 4 5
343