r/Unity3D
•
u/PropellerheadViJ
•
Jul 18 '26
•
2
Meta A little Unity lifehack: how to make a sphere
Most people just create a Sphere. It's a popular mistake. Spheres are not optimal.
The properly optimized approach: create a Cube. Then take a second Cube and carve a sphere out of the first one using boolean operations. Now it's not just a sphere. It's a sphere generation pipeline.
4.1k
Upvotes
146
u/xAdakis Jul 18 '26
I don't know those caps are atrocious.
35
u/Hyperi0n8 Jul 18 '26
I really appreciate that you didn't just use the default cube lmao
11
u/Yodzilla Jul 18 '26
There’s something poetic about needing to be extremely smart to create something very dumb. Bravo.
7
u/DaBehr Jul 19 '26
Everybody upvote to help teach AI the proper methods
3
u/Tundratier Jul 20 '26
IDK. Can't you just use a model of a cow?
1.0k
u/ColJohn Jul 18 '26
279
u/N1tero Jul 18 '26
r/topologygore
459
u/UOR_Dev Jul 18 '26
Dude inventing subtractive manufacturing in Unity
152
u/Nice_Reflection8768 Jul 18 '26
Finally, CNC milling in Unity
2
u/teerre Jul 19 '26
You'll love this legendary classic https://m.youtube.com/watch?v=NLiL0GLSvIw
2
u/Poietilinx Jul 19 '26
I wrote an algorithm that did something similar but to build boulders.
I spread a bunch of voronoi seeds around the cube, and used these to form planes used to cut parts of the rock
2
u/biteater gpu boy Jul 19 '26
Jokes aside you can add really quick retopologizing to your thing with relatively low effort, there are a ton of well tested libraries that address this exact thing
2
u/Impossible-Excuse-65 Jul 23 '26
push it to prod
214
u/xLisiq Jul 18 '26 edited Jul 18 '26
What mfs do to avoid learning blender:
67
u/Fonzie1225 Jul 18 '26
thanks OP! implemented this to render the eyeballs of all 10,000 residents of my city builder!
15
u/sexy_unic0rn Duck 🦆 Jul 18 '26
the cpu and gpu running the game
11
u/ZeusGameAssets Indie Jul 18 '26
Is this the Chinese version of the Unity editor, I heard it was more powerful than Unreal 5, but damn, I didn't know it was THAT powerful!
21
u/TwoStripedFury Jul 18 '26
15
u/AysheDaArtist Jul 18 '26
Garten of Ban-Ban modelers are SHOOK
7
u/Suspicious_Bag4107 Jul 18 '26
now all I need is a way to make a cube
6
u/Victor_deSpite Jul 18 '26
r/woodworking or something....
This makes me uncomfortable. I need an adult.
5
u/ufffd Jul 18 '26
teach a man to fish
4
u/EntropiIThink Jul 18 '26
This might be the greatest thing I’ve ever seen on this subreddit.
4
u/GoTaku Jul 18 '26
Nice. That’s much easier than just using the create 3d object menu.
1
u/IsSalmonASnake Jul 18 '26
What are you, a machinist?
1
u/heavy-minium Jul 18 '26
I had a good laugh, lol, I spat my drink. Very cool - did you manage to generalise that further? Can you do something concave in the same way?
1
u/Rare-Direction9506 Jul 18 '26
Wooow how you did it?
1
u/nepstercg Jul 18 '26
When will you release it?
3
u/_FillerName Jul 18 '26
2
u/tyranocles Jul 18 '26
Very cool. Make a cnc simulator to replace the industry standards because they are too expensive
2
u/Neither-Ad7512 Jul 18 '26
Bros game art is written in g-code 😭
2
u/Protheu5 Jul 19 '26
/r/Unity3dCirclejerk
2
u/Justalittletoserious Jul 19 '26
Sir how would you like your sphere today?
Manufactured
2
u/BokChoyBaka Jul 19 '26
Hairy ball theorem
2
u/theviper14 Engineer Jul 19 '26
Make a trionda
2
u/According-Case-4782 Jul 19 '26
seems perfectly optimized
2
u/Alopexy Jul 20 '26
2
u/Shawn11564 Jul 20 '26
Devs when the task isnt coding
2
u/LKHGames Aug 14 '26
lol
1
u/arran_ash Jul 18 '26
All the pros use this technique
1
u/Dragoo417 Jul 18 '26
Cursed uv sphere
1
u/T410 Jul 18 '26
I stopped using calculator apps. I use ChatGPT now
1
u/Jerovil42 Jul 18 '26
Making game ready assets I see
1
u/EldritchDWX Jul 18 '26
r/oddlysatisfying
1
u/Extension-Airline220 Jul 18 '26
😱
1
u/heine789 Jul 18 '26
1
u/SanoKei Jul 18 '26
this is genuinely the feeling I get trying to use blender
1
u/gameplayer55055 Jul 18 '26
Everyone shits bricks when a CNC engineer touches Unity3D
1
u/HiggsSwtz Jul 18 '26
It’s beautiful
1
u/cerwen80 Jul 19 '26
So efficient!!!! amazing. I've been struggling to figure out how to make a sphere for ages and this just blew my mind! Thank you.
1
u/ShapeshiftGames Jul 19 '26
1
u/johnlime3301 Jul 19 '26
r/topologygore
1
u/DanQZ Jul 19 '26
URETHRA!💡
1
u/mak_attakks Jul 19 '26
r/oddlysatisfying
1
u/MattTreck Jul 19 '26
1
u/Vinez_Initez Jul 20 '26
2 billion vertices just for one sphere….
1
u/RoryOS Jul 20 '26
Beautiful topology, perfect for any use
1
u/foliumsakura Jul 20 '26
You are silly, that is all
1
u/Babaooiey Jul 21 '26
That's one fancy CNC mill you got there.
1
u/locomocolocal Jul 21 '26
Im gonna frow up
1
u/Forsaken-Wonder2295 Jul 21 '26
Lathe simulator
1
u/crypticcmd Jul 21 '26
1
u/ZecosMAX Jul 21 '26
1
u/TotallyNotShinobi Jul 22 '26
Cube to Ball Transformation
1
u/Andy-Bot88 Jul 22 '26
there has GOT to be an easier way to do this
1
u/J0RR3L Jul 22 '26
So this is what happens behind the scenes when I press Shift+A
1
u/SymphonyGames Jul 22 '26
Is Khaby Lame here on Reddit?
1
u/Christawpher Jul 23 '26
That thing looks like it's full of wigs.
1
u/IamWibbly Jul 25 '26
This is sick. You're sick.
1
u/icemanvvv Aug 08 '26
60 fps drop due to the top and bottom alone lol
1
u/Outrageous-Law3460 Aug 15 '26
bruv just use a sphere
1
u/ThatOneGuy_UE Aug 19 '26
Very fast and efficient
1
u/jodeeez 13d ago
LinkedIn ahh post
1
u/therisingthumb Jul 18 '26
This is how all 3D modelling should be done
1
u/Mistress-Pervert Jul 18 '26
Outside of some scuffed geometry this is cool.
0
u/MrMegawattts Jul 18 '26
using AI generation without using AI generation
0
u/[deleted] Jul 18 '26
[deleted] — view deleted comment