• 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.

T$$anonymous$$s is what I want to ac$$anonymous$$eve: point cloud with its colors!

I can get t$$anonymous$$s 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 t$$anonymous$$s site. (picture attached in comments below)

I imported t$$anonymous$$s 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 w$$anonymous$$te. (picture attached in comments below)

I was wondering if I did somet$$anonymous$$ng wrong or I misunderstood somet$$anonymous$$ng. 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 t$$anonymous$$nk 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 t$$anonymous$$s mesh to a pcache file. With t$$anonymous$$s 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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

Help - Changed what app opens .vfx file 0 Answers

Persistent data values in shaders 3 Answers

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

Double sided Mesh for Visual Effects graph 2 Answers

High Definition RP Template Switch 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