Hi! I am working on a project in Unity3D in which I have to Generate a contour map from data obtained from formulas separately over a flat surface.
Programatically generating contour map in Unity 3d over a flat surface
6
Hi!
I am working on a project in Unity3D in which I have to Generate a contour map from data obtained from formulas separately over a flat surface.
I have a simple 2d surface rotated in 3d. Imagine a surface such as this:
I want to generate (not just apply texture of a) contour on this surface on the basis of temperature data at different points on it. This not permanent and recalculation of data will show new contours. Data of temperature will be problematically created from formulas like this:
Is there a way to do this?
Please note that I want to generate the contour on the surface instead of creating it by hand. There is no need to find the contours or detect them because data for contours it will be found separately using formulas. I am ok with JS as well as C# code. But any help in getting the desired result/method would be very helpful.
I hope my question was clear enough
I am working on a project in Unity3D in which I have to Generate a contour map from data obtained from formulas separately over a flat surface.
I have a simple 2d surface rotated in 3d. Imagine a surface such as this:
Code:
. . . . . . . . .
Code:
34 54 79 56 80 108 89 110 120
Please note that I want to generate the contour on the surface instead of creating it by hand. There is no need to find the contours or detect them because data for contours it will be found separately using formulas. I am ok with JS as well as C# code. But any help in getting the desired result/method would be very helpful.
I hope my question was clear enough
- SteveJohnson
- ate8tree3
- Valdor Kiebach
- [1] reply
- ate8tree3
- heslil
Next Topics on Trending Feed
-
6