flatten bottom of sphere

   2418   4   1
User Avatar
Member
5 posts
Joined: April 2018
Offline
I am trying to make a sphere with flat bottom, I want to use that as an Interior so that there are no edges. Now I tried it with a sphere and used softtransform to make a flat bottom but the problem is that I want the transition from bottom to the rest more round as shown in the uploaded Picture, how can I achieve that?


I also upload my current model file.

Attachments:
problem.PNG (330.3 KB)
droplet.hiplc (88.0 KB)

User Avatar
Member
2038 posts
Joined: Sept. 2015
Offline
Well…keeping in line with your approach overall.

I've created a group and transformed(colored red) only that group with a scale.

Was this what you were looking for?

Attachments:
droplet smoothing.hiplc (92.1 KB)

User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
hmm..dunno why so complicated…need just 4 nodes…

(for the point SOP, just use the preset I created called Flatten Bottom…from 16.5 on, it's in the dropdown list of the point SOP)

Attachments:
vu_halfdome.hipnc (73.9 KB)

User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
Create a box with lots of edges and put this in a attribwrangle:

float rolloff = chf('rolloff');

@P = normalize(@P); // Spherify
if(@P.y < 0.0) @P.y = 0.0; // Flatten

// Rolloff
float shrink = pow(@P.y, rolloff) + 0.1;
@P *= set(shrink, 1, shrink);

Attachments:
drop.hip (73.6 KB)
drop.jpg (16.1 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Staff
1182 posts
Joined: July 2005
Offline
Here is a version that uses a polybevel to get a nice round edge at the bottom. Added some polyfills to fix up topology at the top and the bottom.

Attachments:
flattened_sphere.jpg (249.6 KB)
flattened_sphere.hip (81.2 KB)

Robert Magee
Senior Product Marketing Manager
SideFX
  • Quick Links