René's URL Explorer Experiment


Title: URP Support · Issue #126 · unitycoder/UnityPointCloudViewer · GitHub

Open Graph Title: URP Support · Issue #126 · unitycoder/UnityPointCloudViewer

X Title: URP Support · Issue #126 · unitycoder/UnityPointCloudViewer

Description: using Unity 2019.4.25f1 + URP 7.7.1 temporary fix for URP+WorldSpace Canvas issue (point cloud get "stuck" inside canvas) You dont need to do this, if you don't have world space canvas. This is only for V1 (.bin) and V2 (.ucpc) formats. ...

Open Graph Description: using Unity 2019.4.25f1 + URP 7.7.1 temporary fix for URP+WorldSpace Canvas issue (point cloud get "stuck" inside canvas) You dont need to do this, if you don't have world space canvas. This is onl...

X Description: using Unity 2019.4.25f1 + URP 7.7.1 temporary fix for URP+WorldSpace Canvas issue (point cloud get "stuck" inside canvas) You dont need to do this, if you don't have world space canva...

Opengraph URL: https://github.com/unitycoder/UnityPointCloudViewer/issues/126

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"URP Support","articleBody":"### using Unity 2019.4.25f1 + URP 7.7.1\r\n\r\ntemporary fix for URP+WorldSpace Canvas issue (point cloud get \"stuck\" inside canvas)\r\nYou dont need to do this, if you don't have world space canvas.\r\nThis is only for V1 (.bin) and V2 (.ucpc) formats.\r\n\r\n- Create script CustomRenderPassFeature.cs (copy below)\r\n- Select UniversalRenderPipelineAsset_Renderer\r\n- Click Add Renderer Feature/CustomRenderPassFeature *this wont be visible, if you didnt create the script first\r\n- Modify PointCloudViewerDX11.cs, add this line to class variables (somewhere before Awake() line):\r\n`public static PointCloudViewerDX11 instance;`\r\nModify Awake() to:\r\n```\r\nvoid Awake()\r\n{\r\n    instance = this;\r\n    applicationStreamingAssetsPath = Application.streamingAssetsPath;\r\n}\r\n```\r\n\r\n```\r\nusing UnityEngine;\r\nusing UnityEngine.Rendering;\r\nusing UnityEngine.Rendering.Universal;\r\n\r\npublic class CustomRenderPassFeature : ScriptableRendererFeature\r\n{\r\n    class CustomRenderPass : ScriptableRenderPass\r\n    {\r\n        CommandBuffer commandBuffer;\r\n\r\n        public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)\r\n        {\r\n            commandBuffer = new CommandBuffer { name = \"PointCloudViewer\" };\r\n        }\r\n\r\n        public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)\r\n        {\r\n            if (unitycodercom_PointCloudBinaryViewer.PointCloudViewerDX11.instance == null) return;\r\n            commandBuffer.Clear();\r\n            commandBuffer.DrawProcedural(Matrix4x4.identity, unitycodercom_PointCloudBinaryViewer.PointCloudViewerDX11.instance.cloudMaterial, 0, MeshTopology.Points, unitycodercom_PointCloudBinaryViewer.PointCloudViewerDX11.instance.points.Length);\r\n            context.ExecuteCommandBuffer(commandBuffer);\r\n        }\r\n\r\n        public override void FrameCleanup(CommandBuffer cmd)\r\n        {\r\n        }\r\n    }\r\n\r\n    CustomRenderPass m_ScriptablePass;\r\n    public override void Create()\r\n    {\r\n        m_ScriptablePass = new CustomRenderPass();\r\n        m_ScriptablePass.renderPassEvent = RenderPassEvent.AfterRenderingOpaques;\r\n    }\r\n\r\n    public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)\r\n    {\r\n        renderer.EnqueuePass(m_ScriptablePass);\r\n    }\r\n}\r\n\r\n```\r\n--------------------------\r\n### Using Unity 2020.3.21f1 + URP 10.6.0 + V3 (.pcroot) viewer\r\n\r\n- Create script CustomRenderPassFeature.cs (copy contents below)\r\n- Select UniversalRenderPipelineAsset_Renderer\r\n- Click Add Renderer Feature/CustomRenderPassFeature *this wont be visible, if you didn't create the script first\r\n- Modify PointCloudViewerTilesDX11.cs, add these changes:\r\n```\r\n// BEFORE\r\nPointCloudTile[] tiles;\r\n// AFTER\r\ninternal PointCloudTile[] tiles;\r\n// BEFORE\r\nint tilesCount = 0;\r\n// AFTER\r\ninternal int tilesCount = 0;\r\n// BEFORE\r\n        void Awake()\r\n        {\r\n            applicationStreamingAssetsPath = Application.streamingAssetsPath;\r\n            FixMainThreadHelper();\r\n        }\r\n// AFTER\r\n        public static PointCloudViewerTilesDX11 instance;\r\n        void Awake()\r\n        {\r\n            instance = this;\r\n            applicationStreamingAssetsPath = Application.streamingAssetsPath;\r\n            FixMainThreadHelper();\r\n        }\r\n// BEFORE\r\npublic void OnRenderObject()\r\n// AFTER\r\npublic void DisabledOnRenderObject()\r\n```\r\n\r\n\r\n\r\nCustomRenderPassFeature .cs:\r\n\r\n```\r\nusing unitycodercom_PointCloudBinaryViewer;\r\nusing UnityEngine;\r\nusing UnityEngine.Rendering;\r\nusing UnityEngine.Rendering.Universal;\r\n\r\npublic class CustomRenderPassFeature : ScriptableRendererFeature\r\n{\r\n    class CustomRenderPass : ScriptableRenderPass\r\n    {\r\n        CommandBuffer commandBuffer;\r\n\r\n        public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor)\r\n        {\r\n            commandBuffer = new CommandBuffer { name = \"PointCloudViewer\" };\r\n        }\r\n\r\n        public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)\r\n        {\r\n            if (PointCloudViewerTilesDX11.instance == null) return;\r\n\r\n            commandBuffer.Clear();\r\n            for (int i = 0, len = PointCloudViewerTilesDX11.instance.tilesCount; i \u003c len; i++)\r\n            {\r\n                if (PointCloudViewerTilesDX11.instance.tiles[i].isReady == false || PointCloudViewerTilesDX11.instance.tiles[i].isLoading == true || PointCloudViewerTilesDX11.instance.tiles[i].visiblePoints == 0) continue;\r\n                commandBuffer.DrawProcedural(Matrix4x4.identity, PointCloudViewerTilesDX11.instance.tiles[i].material, 0, MeshTopology.Points, PointCloudViewerTilesDX11.instance.tiles[i].visiblePoints);\r\n            }\r\n            context.ExecuteCommandBuffer(commandBuffer);\r\n        }\r\n\r\n        public override void FrameCleanup(CommandBuffer cmd)\r\n        {\r\n        }\r\n    }\r\n\r\n    CustomRenderPass m_ScriptablePass;\r\n    public override void Create()\r\n    {\r\n        m_ScriptablePass = new CustomRenderPass();\r\n        m_ScriptablePass.renderPassEvent = RenderPassEvent.AfterRenderingOpaques;\r\n    }\r\n\r\n    public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)\r\n    {\r\n        renderer.EnqueuePass(m_ScriptablePass);\r\n    }\r\n}\r\n\r\n```","author":{"url":"https://github.com/unitycoder","@type":"Person","name":"unitycoder"},"datePublished":"2021-12-06T16:24:20Z","url":"https://github.com/unitycoder/UnityPointCloudViewer/issues/126"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fd32e6b5-fc1e-04f1-0384-525a18e73cee
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA162:12476C:F21B58:13A4B8E:6AFFF11E
html-safe-noncedd68de166fe1e72a421ee65f1e5bfc1f3ff54743dbce4a9ae4c74b2cd706eebc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTYyOjEyNDc2QzpGMjFCNTg6MTNBNEI4RTo2QUZGRjExRSIsInZpc2l0b3JfaWQiOiI0MDAwMDQ5ODUwODM3MTAyODc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac94cece7ce3f110e56f13fca96567708e7e30a9f2a766cc38384d1269dda1752a
hovercard-subject-tagissue:1072343673
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unitycoder/UnityPointCloudViewer/126/issue_layout
twitter:imagehttps://opengraph.githubassets.com/755db4c0343cd4030ea955a37f5191b6f61ea066d4df4d2a96465ca94222bc9f/unitycoder/UnityPointCloudViewer/issues/126
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/755db4c0343cd4030ea955a37f5191b6f61ea066d4df4d2a96465ca94222bc9f/unitycoder/UnityPointCloudViewer/issues/126
og:image:altusing Unity 2019.4.25f1 + URP 7.7.1 temporary fix for URP+WorldSpace Canvas issue (point cloud get "stuck" inside canvas) You dont need to do this, if you don't have world space canvas. This is onl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameunitycoder
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-preview
go-importgithub.com/unitycoder/UnityPointCloudViewer git https://github.com/unitycoder/UnityPointCloudViewer.git
octolytics-dimension-user_id5438317
octolytics-dimension-user_loginunitycoder
octolytics-dimension-repository_id57969691
octolytics-dimension-repository_nwounitycoder/UnityPointCloudViewer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id57969691
octolytics-dimension-repository_network_root_nwounitycoder/UnityPointCloudViewer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/unitycoder/UnityPointCloudViewer/issues/126#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funitycoder%2FUnityPointCloudViewer%2Fissues%2F126
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funitycoder%2FUnityPointCloudViewer%2Fissues%2F126
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=unitycoder%2FUnityPointCloudViewer
Reloadhttps://github.com/unitycoder/UnityPointCloudViewer/issues/126
Reloadhttps://github.com/unitycoder/UnityPointCloudViewer/issues/126
Reloadhttps://github.com/unitycoder/UnityPointCloudViewer/issues/126
unitycoderhttps://github.com/unitycoder
UnityPointCloudViewerhttps://github.com/unitycoder/UnityPointCloudViewer
Codehttps://github.com/unitycoder/UnityPointCloudViewer
Issues34 (34)https://github.com/unitycoder/UnityPointCloudViewer/issues
Pull requestshttps://github.com/unitycoder/UnityPointCloudViewer/pulls
Actionshttps://github.com/unitycoder/UnityPointCloudViewer/actions
Projectshttps://github.com/unitycoder/UnityPointCloudViewer/projects
Wikihttps://github.com/unitycoder/UnityPointCloudViewer/wiki
Security and qualityhttps://github.com/unitycoder/UnityPointCloudViewer/security
Insightshttps://github.com/unitycoder/UnityPointCloudViewer/pulse
https://github.com/unitycoder/UnityPointCloudViewer
New issuehttps://github.com/login?return_to=https://github.com/unitycoder/UnityPointCloudViewer/issues/126
New issuehttps://github.com/login?return_to=https://github.com/unitycoder/UnityPointCloudViewer/issues/126
URP Supporthttps://github.com/unitycoder/UnityPointCloudViewer/issues/126#top
https://github.com/unitycoder
unitycoderhttps://github.com/unitycoder
on Dec 6, 2021https://github.com/unitycoder/UnityPointCloudViewer/issues/126#issue-1072343673
https://github.com/RjMelter
RjMelterhttps://github.com/RjMelter
on Dec 6, 2021https://github.com/unitycoder/UnityPointCloudViewer/issues/126#issuecomment-987164740
https://github.com/unitycoder
unitycoderhttps://github.com/unitycoder
on Dec 7, 2021https://github.com/unitycoder/UnityPointCloudViewer/issues/126#issuecomment-987678066
https://github.com/RjMelter
RjMelterhttps://github.com/RjMelter
on Dec 7, 2021https://github.com/unitycoder/UnityPointCloudViewer/issues/126#issuecomment-988065152
https://github.com/unitycoder
unitycoderhttps://github.com/unitycoder
on Dec 7, 2021https://github.com/unitycoder/UnityPointCloudViewer/issues/126#issuecomment-988224072
https://github.com/unitycoder
unitycoderhttps://github.com/unitycoder
on Dec 13, 2021https://github.com/unitycoder/UnityPointCloudViewer/issues/126#issuecomment-992666741
Sign up for freehttps://github.com/signup?return_to=https://github.com/unitycoder/UnityPointCloudViewer/issues/126
Sign in to commenthttps://github.com/login?return_to=https://github.com/unitycoder/UnityPointCloudViewer/issues/126
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.