I get a plane equation, ax + by + cz + d = 0,a,b,c,d is known,How can I render this plane?
What have you tried so far?
I now know how to add a plane, but if the plane equation is tilted, I don’t know what to do.
ax + by + cz = d
is the so called scalar notation. In order to use THREE.Plane, you need the following:
p · n = d
which is called the vector notation. In this form, n = [a, b, c].
If you know n
and d
, it should be possible to create an instance of THREE.Plane
and then use THREE.PlaneHelper in order to visualize it.
read this
http://mathworld.wolfram.com/Plane.html
thank you very much
thanks, i see
If I want to create a plane through PlaneBufferGeometry
and MeshBasicMaterial
, what should I do.because I want to use Raycaster
to get the focus with the plane to complete my needs
If I got you correctly, then you can use .ray
property of THREE.Raycaster()
and its .intersectPlane()
method.