Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by qwert024 · Jan 11, 2019 at 09:24 AM · graphicseffectsgraphvisual-effectsvertex color

Visual Effect Graph: Point Cloud with Color

Hello! I am trying to use Visual Effect Graph to make some point-cloud style visuals.

This is what I want to achieve: point cloud with its colors!

I can get this colored point cloud with the MaskFace PointCacheAsset from the official sample project: alt text

I want to use other models and I downloaded a beatiful 3D scanned obj file ( "More Model Information" says that it contains vertex color) from this site. (picture attached in comments below)

I imported this obj file into Unity, and used pCache Tool to generate a pCache file. Below are my settings: alt text

When I directly replace MaskFace PointCacheAsset with the PointCacheAsset I just generated, there is no color on it! The points are all white. (picture attached in comments below)

I was wondering if I did something wrong or I misunderstood something. It would so great if anyone could help! Thank you!


EDIT

I opened the .obj file with Notepad. There is color information.

Please see Imgur

I also opened the .pcache file generated with pCache Tool. And I found that the colors become 1,1,1,1 or 0,0,0,0 or even 0.99999... Imgur

I tried several different settings in pCache Tool but no good.

pcachetool.png (20.3 kB)
morphface.png (232.9 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image qwert024 · Jan 11, 2019 at 09:26 AM 0
Share

This is the model I downloaded. Link is Here alt text

avatar image qwert024 · Jan 11, 2019 at 09:27 AM 0
Share

And this is the result. There is no color on the point cloud. alt text

ruttenstump.png (189.6 kB)

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by qwert024 · Jan 15, 2019 at 03:49 AM

I got a reseponse from the forum thread.

Yes my .obj file seems to be a custom one. I think it does have vertex color because I can see the color information when I open it with Notepad. I can also see its colors in MeshLab.

However Unity can't import vertex color from obj files. alt text

I export the obj in dae format with MeshLab. And Unity can import the colors from the dae! alt text

I used pCache Tool to convert this mesh to a pcache file. With this pcache I can display the colors on the point cloud now!


colorfromdae.png (6.6 kB)
nocolorfromobj.png (6.2 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

111 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Visual Effect graph trying to get it to work. 0 Answers

Double sided Mesh for Visual Effects graph 1 Answer

Persistent data values in shaders 3 Answers

Help - Changed what app opens .vfx file 0 Answers

Procedural 2D frost VFX 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges