How do i create a Rectangular Pyramid without using cone Geometry?

It is easy to make a Rectangular Pyramid using Cone Geometry, which accepts radius as its one of the parameters. So basically it creates a Square Pyramid and not a Rectangular Pyramid.

How do I create a Rectangular Pyramid where i can have a rectangular base.

Hi!
Take a look at this post for some ideas: Sci-fi Scene that I made

You can create custom geometry using Vector3() and Face3().

A very simplified example with THREE.BufferGeometry(): https://jsfiddle.net/prisoner849/c7am8w5n/

o_O at the replies. you guys do realize there is a scale method in the geometry, right?

https://threejs.org/docs/#api/en/core/Geometry.scale

what do you get if you scale a square base pyramid along one of its axes? think.

2 Likes

Sure, I thought about it first, but who needs such easy solutions! :smile: