Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 cmkbim · Jul 09, 2014 at 06:35 PM · mesh

Generate mesh appears on one computer but not another

Hi,

I am custom generating a mesh on the fly within a script and it works great on my Windows 8.1 Microsoft Surface Pro 3 with an Intel Graphics card, but not on a Windows 7 64bit machine with a NVIDIA Quadro 2000 with DirectX 11.1. Non custom mesh objects appear without any problem both machines. I have tried playing with settings on the windows build with no success.

Is it maybe the vectors on one computer are drawing the surfaces one way vs another? Notice I am reaching as that doesn't make sense to happen but is there anything. Using Unity4.5.

Comment
Add comment · Show 6
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 robertbu · Jul 09, 2014 at 06:42 PM 0
Share

Random thoughts:

  • Swap out the shader for something standard to make sure it is not a shader issue.

  • Output the first three entries in the triangles array, the three vertices pointed to by the first three indices in the triangles array, and the three normals to make sure they are the same between both machines.

  • $$anonymous$$ake sure other aspects of the generated object and the camera remain the same across both machines (position, rotation, scale).

avatar image cmkbim · Jul 11, 2014 at 12:37 AM 0
Share

Thanks for your comments. I will investigate the shader suggestion. Outputting the data seems strange to me since I am programmatically specifying those values in the script and can't think of why those would be different at all. Not sure how to do what you mean on suggestion 3 because the issue only appears in the game player when I deploy the exe to certain other machines.

avatar image Bunny83 · Jul 11, 2014 at 01:48 AM 0
Share

Well, the "other aspects" are the position of the object containing the mesh in relation to the camera position. Also screen resolution could be another problem so the object might be simply off-screen. Also what shader do you use to render the mesh?

Have you tried the built-in meshes like the standard cube / sphere? Are they actually rendered? If so try attaching an additional cube gameobject as child at the center of your custom mesh object. Is the cube visible?

avatar image cmkbim · Jul 11, 2014 at 04:16 PM 0
Share

There are other objects that are visible. I have some imported assets that are static and are just fine. It is only my custom drawn meshes that are having problems. It isn't camera because I see the non custom mesh objects being drawn right next to it. What is funny is everything works fine in the web player version on this computer, only the windows exe isn't working.

avatar image cmkbim · Jul 11, 2014 at 04:17 PM 0
Share

Default diffuse btw on the shader

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by cmkbim · Jul 16, 2014 at 03:52 PM

I'm sold. I have another apps that reads triangulated solids produced in another software just fine on the machine that isn't reading this new game's custom solids. So the shader should be ok, might be in the triangulation. Will give it a deeper look there. Thx

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Tile texture along edge of mesh 0 Answers

How do I make a horizontal gradient shader for a 2D mesh? 1 Answer

Change mesh color with shader or Mesh.colors? 1 Answer

Nav Mesh Agents Not working 0 Answers

select part of mesh and re texture it. 1 Answer


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