3d Questions

2

Solved

I have already installed THREE.js in my angular project.I am trying to use OrbitControls in the below fashion but it is giving an error:- var controls = new THREE.OrbitControls(this.camera,this.re...
Sorbian asked 2/5, 2020 at 9:29

3

I am new to 3D image processing . I would like to know how to view the dicom series in python. I tried using matplotlib and VTK. In matplot I am not able to view the volume like I view in matlab us...
Respirator asked 8/5, 2019 at 7:24

7

I'm looking for an algorithm to find the best fit between a cloud of points and a sphere. That is, I want to minimise where C is the centre of the sphere, r its radius, and each P a point in my s...
Granule asked 27/4, 2012 at 2:45

3

I want to select random points on a given sphere. This page explains it quite well: http://mathworld.wolfram.com/SpherePointPicking.html ("To obtain points such that any small area on the sphere.....
Susannsusanna asked 3/4, 2011 at 19:15

5

i have been trying to add a scroll area to my the app i was building but i just keep getting this error: Uncaught Div is not part of the THREE namespace! Did you forget to extend? I'm very new to...
Mythos asked 18/8, 2021 at 22:36

5

How do I enable 3D satellite view in Google Maps JavaScript API, please? Let me repeat! 3D! Please do NOT refer me to the 45-degree angle view, that is NOT 3D! You can get this on Google Maps by c...
Brunson asked 30/12, 2018 at 22:41

1

Solved

Context I'm trying to handle geometric operations applied to HTML elements by CSS3 3d transforms through DOMMatrix API to retrieve any coord i want in any coord system i want. The Issue Everything ...
Bowen asked 10/6 at 8:29

5

I have calculated an axis angle rotations for each axis. If I only apply one of the three rotations, the objects rotates as expected. If I multiply the rotation matrixes, as you would normally do ...
Shanan asked 3/4, 2017 at 16:25

8

I am programming Starcraft 2 custom maps and got some proglems with math in 3D. Currently I am trying to create and rotate a point around an arbitrary axis, given by x,y and z (the xyz vector is no...
3d
Marius asked 17/7, 2011 at 2:21

5

Solved

I have 3 points containing X, Y, Z coordinates: var A = {x: 100, y: 100, z: 80}, B = {x: 100, y: 175, z: 80}, C = {x: 100, y: 100, z: 120}; The coordinates are pixels from a 3d CSS transform. ...
Gaseous asked 1/11, 2013 at 15:26

3

Solved

I have an orientation expressed with a quaternion and an angular velocity expressed as either a quaternion or a number (radians per second around the original orientation). I understand how to do t...
Subcontraoctave asked 13/6, 2014 at 3:22

3

Solved

I have been working on an algorithm that takes a mesh, does some fancy things with it, and produces some output. To visualize the result I decided to produce a copy of the mesh, colour it in a sma...
Pentachlorophenol asked 31/5, 2017 at 7:44

1

Generally what I'm trying to achieve: we have map data that historically was all 2D, and the coordinate system we use is the origin point (0,0) at the top left, positive x goes right, positive y go...
Unconditional asked 24/2, 2016 at 17:25

3

Solved

In three.js Y axis represent up and down and Z axis represent forward and backward. But I want Z axis to represent up and down and Y axis to forward and backward. Here is a image showing what I wan...
Ament asked 19/6, 2017 at 12:12

7

Solved

Quaternions represent rotations - they don't include information about scaling or mirroring. However it is still possible to mirror the effect of a rotation. Consider a mirroring on the x-y-plane ...
Virelay asked 7/9, 2015 at 12:2

1

Solved

My Godot 4 project has split-screen multiplayer. Each player gets a Camera3D and Viewport. Some 3D meshes need to appear semitransparent for one player, but solid for another - and vise versa. Whe...
Jenna asked 8/1 at 1:24

4

Solved

I was following the vulkan tutorial at https://vulkan-tutorial.com/ and at the depth buffering chapter, the author Alexander Overvoorde mentions that "We only need a single depth image, because onl...
Interlaken asked 14/6, 2020 at 10:29

15

Solved

I am trying to flatten 3D array into 1D array for "chunk" system in my game. It's a 3D-block game and basically I want the chunk system to be almost identical to Minecraft's system (however, this i...
Clay asked 9/9, 2011 at 21:42

3

I want to display some 3D models (.obj files) in an android app using android studio. The user enters some data and the models have to be placed relative to each other according to the user input....
Invest asked 26/12, 2019 at 12:32

4

Solved

I have two quaternions, as an example: w x y z 1: 0.98 0.08 0.17 -0.01 2: 0.70 0.70 0.0 0.0 I need to multiply them, to get a third one, with all rotations in it. How do I do that in PHP/C++/PAWN...
Enterostomy asked 13/11, 2013 at 14:38

5

Solved

I have some arbitrary curve in 3 dimensions made up of a list of XYZ cartesian points. The points are not evenly distributed (theres a time factor). How can I 'rebuild' the curve with a given numbe...
Wateriness asked 15/8, 2013 at 0:4

3

I'm thinking of saving a camera position (specifically rotation) so changing back and forth between 2D and 3D will always go back to my last viewed position in 3D. What is the best way to do this? ...
Cytoplasm asked 8/3, 2014 at 10:37

2

Solved

I want to draw 3D primitives like spheres, cylinders and planes (patches) in a 3D plot and I would like to be able to interactively rotate, translate and zoom the scene. I want to do that in Python...
Synchronize asked 3/10, 2012 at 12:13

3

Solved

I'm drawing plotly 3D graph and want to adjust camera position. The best way to do it for me is to use viewer, zoom and rotate scene as needed, then grab camera position as JSON and put it into my ...
Bid asked 18/2, 2016 at 10:25

6

Solved

I am new to Unity and I am trying to figure out how to move the camera over a map/terrain using touch input. The camera would be looking down at the terrain with a rotation of (90,0,0). The terrain...
Coryden asked 16/7, 2012 at 1:20

© 2022 - 2024 — McMap. All rights reserved.