raycasting Questions
1
I guess this could be considered a continuation of this question so please check it out for context about his one, especially the JSFiddle reported in said question.
I'm basically trying to achieve...
Shaker asked 9/8 at 14:32
3
Solved
I have a threejs scene with intersection checking on objects. I'm adding every scene object to the array which is then checked by the raycaster.
var intersects = raycaster.intersectObjects( scene....
Crymotherapy asked 6/2, 2014 at 14:15
1
Solved
So I have made a raycaster in Python using pygame. I cast my rays little bit by bit and once they've hit a wall, I calculate the distance and use that base the height of my walls. The problem is th...
Broomstick asked 13/10, 2022 at 19:24
2
Hey everyone thanks for the help,
What I am trying to do is fairly straight forward, I am trying to display a Line Renderer that follows my bouncing/reflecting Raycast.
Here is what I have so far...
Connote asked 20/8, 2018 at 13:7
3
I'm new to this and currently building an AR-related application, on the old version I stated this
let results = self.hitTest(screenPosition, types: [.featurePoint])
and now I have a problem where...
Thinner asked 8/10, 2020 at 7:51
2
Solved
I have a java project who makes the "windows' maze" and use the ray casting algorithm. Here's a screenshot :
Like you can see all the walls have the same height size. I would like to do the same...
Nunciature asked 11/11, 2017 at 15:50
1
Solved
We were able to have custom raycasting using bitmasks:
let hitTest = sceneView.hitTest(location, options: [categoryBitMask: bitmask])
But hitTest is deprecated now and I can't figure out how to se...
Pinwork asked 19/12, 2021 at 9:33
1
Solved
I am working on my Raycaster engine for some time, that I am runing on slower machines.
The most challenging problem I occures was/is the efficient floor and ceiling casting.
My question is:
what o...
Zerk asked 21/5, 2021 at 18:31
2
I'm dealing with a machine learning task and I'm trying to use blender to generate synthetic images as a training dataset for a neural network. To do this, I have to find the bounding box of the ob...
Cunha asked 26/12, 2019 at 22:5
1
Solved
I created Test.cs and TestEditor.cs (Test class is a simple class.)
Test.cs is empty and here is TestEditor.cs:
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(Test))]
public class T...
Murder asked 14/10, 2020 at 12:4
2
Solved
I am following "Raycasting Tutorial" in this site Rayacasting Tutorial, in order to create a 3D perspective in a 2D map similar to an old game known as Wolfenstein_3D.
Here is the result ...
Endolymph asked 15/6, 2020 at 17:16
1
Solved
I am trying to create a simulation of positions of 4673 of the nearest galaxies.
The galaxies are points.
I want to color a point on mouseover and load the name of the galaxy.
I have spent many ...
Ranchman asked 15/5, 2020 at 14:41
1
Solved
I am using raycaster in mapbox with 3d-objects. I need to detect the click on the 3d-object.But When I click on the object I get a empty raycaster.intersectObject (array) sometimes and filled array...
Fiddling asked 7/5, 2020 at 10:55
1
I'm rendering some custom layers using Three.js in a Mapbox GL JS page following this example. I'd like to add raycasting to determine which object a user has clicked on.
The issue is that I only ...
Mameluke asked 3/12, 2019 at 18:19
1
I'm trying to calculate what angle to hit a pool ball and predict where ball will go to..
I thought target ball should move within a normal direction.. but it moves
on totally different direction
...
Maxillary asked 16/6, 2018 at 9:54
1
Solved
There are three ways about Detecting Intersections in RealityKit framework, but I don't know how to use it in my project.
1.
func raycast(origin: SIMD3<Float>,
direction: SIMD3<Float&g...
Oren asked 19/2, 2020 at 6:36
4
Solved
How do I calculate the intersection between a ray and a plane?
The following code produces the wrong results.
float denom = normal.dot(ray.direction);
if (denom > 0)
{
float t = -((center - ra...
Hemotherapy asked 31/5, 2014 at 23:59
2
Solved
I'm adding objects to a scene for each entry in a database. I had a cube appearing in the scene for entry, but when I tried to add raycasting to click on objects it doesnt work, the objects dont ap...
Seely asked 27/9, 2019 at 13:30
2
I'm developing a basic raycasting engine for HTML5 canvas, of the variety used in games like Wolfenstein 3D and Doom, as a learning exercise / hobby project. I've got to the point where I have wall...
Porty asked 11/6, 2014 at 23:0
2
Solved
Unity's Raycast functions has a parameter you could use to raycast to a particular GameObject. You can also use that parameter to ignore particular GameObject.
For exmple the Raycast function:
pu...
Mote asked 22/4, 2017 at 13:20
3
Solved
I'm trying to figure out a way to use a 3D model created with Three.js as a hyperlink. In other words, if I click on a cube (a THREE.CubeGeometry), I want another page to open.
For instance, in t...
Alexio asked 11/7, 2014 at 5:40
2
Solved
I am trying to detect an intersection by using a raycast. My current problem is that I am not sure about my raycast aiming into the desired direction. So my general question is: Is there a way to m...
Turncoat asked 12/2, 2013 at 23:30
4
Solved
here is my code for calculating the intersection:
var wallWidth = 1200;
var wallHeight = 500;
var containerWidth=1200,containerHeight=700; //div
//camera
camera = new THREE.PerspectiveCamera(60, ...
Pock asked 20/1, 2016 at 5:39
2
Solved
so I'm a bit new to C# with random math and I learned how to make a rifle, pistol, etc. But I want to learn how to make a shotgun with raycast, not with projectile. With raycast's I tired to do mor...
Rite asked 19/12, 2017 at 15:15
1
Solved
I'm working on a network visualization using Three.js and am having trouble determining why my ray casting implementation is not identifying the correct points (Full example and source).
More spec...
Lidia asked 9/7, 2017 at 18:57
1 Next >
© 2022 - 2024 — McMap. All rights reserved.