Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import splines from GeoJson
#3
Hi Aka,

Thank you for your reply. I think this helps a lot. However I just have few more questions, and hope you don't mind to answer.

1. I applied different materials to Path Line Render, but how do I show different materials for different segment. I tried apply MetaCGOptions(It has material IDs) to control points, but it doesn't work.
*Edit - I figure out that you were using Unity Line render, so I don't think it support different materials for different segments at this point. What I am trying to achieve is I am making a traffic control game, and I want to show traffic speed for different parts. (Like google map/ Waze). The roads doesn't need to be a real 3D mesh, it can be just a polygon face for each segment.


2. Also, because real world data to Unity, and the position seems become very small between each control points. The line render only render one straight line now because of "Cache Density" and "Max Points per Unit". Anyway you think can help to render lines in small scale?

Thank you again for your help here!
Reply


Messages In This Thread
Import splines from GeoJson - by Qpid36 - 11-19-2019, 09:40 PM
RE: Import splines from GeoJson - by _Aka_ - 11-20-2019, 01:20 PM
RE: Import splines from GeoJson - by Qpid36 - 11-20-2019, 09:44 PM
RE: Import splines from GeoJson - by _Aka_ - 11-22-2019, 03:39 PM
RE: Import splines from GeoJson - by _Aka_ - 11-22-2019, 03:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 5 18 04-25-2024, 11:11 AM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Using Unity's SplineContainer in Curvy Splines dlees9191 3 15 02-26-2024, 09:49 AM
Last Post: _Aka_

Forum Jump: