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 Liens · Feb 08, 2011 at 10:58 AM · transparencycuberender

How do I combine faces of cubes?

I'm trying to combine the faces of many 1x1 unit cubes into a bigger cube, so that it renders much faster than they would seperately but so that when one cube is removed it will still render the 'chunk' missing from the bigger cube.

I am also hoping that this would help to render the semi-transparent cubes together rather than individually where you can still see the other faces of the other cubes still being rendered, not the ideal effect for a large semi-transparent block made from many smaller prefabs.

Comment
Add comment
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

1 Reply

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

Answer by Jesse Anders · Feb 08, 2011 at 01:56 PM

Check out the procedural mesh examples on the Unity site, and perhaps also search Unity Answers and the forums for 'minecraft' (as this sounds like essentially the same problem, and the topic has been discussed quite a bit here and on the forums in the past).

Comment
Add comment · Show 6 · 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
avatar image Liens · Feb 08, 2011 at 11:42 PM 0
Share

Thanks, I had a look around and found ScriptReference:$$anonymous$$esh. Though I'm unsure how to make many clones of a prefab into a single mesh. Would I possibly just copy all the vertices and triangles from said cubes into the new single mesh?

avatar image Jesse Anders · Feb 09, 2011 at 02:41 AM 0
Share

There's lots of different ways you could do it. If the goal is to have a continuous grid and not to be able to see cubes behind the surface-level cubes, I'd actually probably maintain a dynamic mesh that only consisted of the exterior (exposed) faces of the cubes. It would take some work, but might give you the best results. (Again, assu$$anonymous$$g that you only want to see the exposed faces.)

avatar image user-10823 (google) · Mar 28, 2011 at 09:18 PM 0
Share

how come you gave him a good answer but not me jesse anders its pretty much the same question as $$anonymous$$e.

avatar image Jesse Anders · Mar 28, 2011 at 09:50 PM 0
Share

@unknown: Are you asking why I didn't answer a similar question of yours? Whatever you're referring to, I can assure you it wasn't intentional :) What question are you referring to exactly?

avatar image user-10823 (google) · Mar 29, 2011 at 10:40 PM 0
Share

@Jesse Anders how to make a line go around a cube and place the cube on the floor a building system for example click the link

http://www.youtube.com/watch?v=ijwJJGssX8w

Show more comments

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

No one has followed this question yet.

Related Questions

Transparency issues with custom shader 0 Answers

Transparency with correct culling 2 Answers

Render a GameObject/mesh to a -transparent- texture at run-time 2 Answers

Transparency not working in build 0 Answers

Transparency shader problem 5 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