selfDrivingSimTest
selfDrivingSimTest copied to clipboard
Lidar dots disappeared when camera turn to certain direction.
Hi Angelo, great works! I tried it in unity, works great! It seems the point field is rendered based on the direction that camera facing to when the point field loaded, so it disappeared when camera turns to certain angle. Is there a way to fix it? Thanks in advance!
Hey Eric thanks! Unfortunately I don't have Unity on my machine right now since it's pretty underpowered. Since this seems to be view dependent I suspect it's something in the shader but without being able to run it it's hard to say. Sorry!
Hi Angel,
Thanks for the answer! I will look into it. Btw, would you mind check it on a PC at your convenience? Thanks in advance!
Best, Eric
On Aug 8, 2019, at 2:29 PM, Angel Ortiz [email protected] wrote:
Hey Eric thanks! Unfortunately I don't have Unity on my machine right now since it's pretty underpowered. Since this seems to be view dependent I suspect it's something in the shader but without being able to run it it's hard to say. Sorry!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Angelo1211/selfDrivingSimTest/issues/1?email_source=notifications&email_token=AJLCMUWSTJCSW4HU5E4XJ33QDSF43A5CNFSM4IKNGRD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD346SWQ#issuecomment-519694682, or mute the thread https://github.com/notifications/unsubscribe-auth/AJLCMUUYSSRLCD42J2XUTCTQDSF43ANCNFSM4IKNGRDQ.
Hi Angelo, great works! I tried it in unity, works great! It seems the point field is rendered based on the direction that camera facing to when the point field loaded, so it disappeared when camera turns to certain angle. Is there a way to fix it? Thanks in advance!
Hi, the fix is to add mesh.RecalculateBounds(); after line 42 in PointCloud.cs. ( after mesh.vertices = points; )