Quantcast
Channel: Questions in topic: "3d math"
Browsing latest articles
Browse All 8 View Live

Understanding normals in surface shaders.

I have some billboards (spherical) on a terrain (not using Unity terrain) that I would like to be able to set a value for the normal in world space on in the shader. To start with I'd like my...

View Article



Divide a line between two points into lines of smaller distance.

I have an interesting math problem. I am working with path drawing and would like each path to segment to be smaller than a given length. I am noticing that when the user draws a path really fast there...

View Article

Find point in 3D plane

I have four points in a 3D space, example: (0,0,1) (1,0,1) (1,0,2) (0,0,2) Then I have a 2D position on that square plane: x = 0.5 y = 0.5 I need to find out the 3D space point of that position in the...

View Article

Generate cylindrical mesh around 3D Catmull-rom spline

The spline is curve is defined by 4 points: p0,p1,p2,p3 and drawn between p1 and p2 with a for loop, looping through the number of segments I want. The point on the curve at time t can is being found...

View Article
Browsing latest articles
Browse All 8 View Live




Latest Images