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
  Spawn at start/ end of splines rickgplus 4 612 03-21-2025, 12:34 PM
Last Post: _Aka_
  Any performance 'hacks' for scene with lots of splines rickgplus 1 330 03-18-2025, 10:11 PM
Last Post: _Aka_
Smile Simple splines movement shills 3 767 02-26-2025, 09:40 AM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 837 02-14-2025, 07:11 AM
Last Post: vatan

Forum Jump: