BerconMetaball 1.10

Well metaballs are simply based on distance to point cloud. If I would implement distance to mesh it would be the same things as dimos iso plugin. However computing distance to triangle cloud (mesh) isn’t that easy, when it has to be very very fast. If you guys run into some nice algorithm to do it fast I’d be happy to implement it.

simmsimaging, I’ll check that on monday when I get back to work. Using DR through VPN is pretty slow.

kinda offtopic, but thought this was cool.

creating metablobs in photoshop.

Now that is very cool!

Thanks for the plugin, you are a genius!
In these days I’m playing with pflow and and I can say that your plugin can change the way to render liquids.
The geometry generated is like a cream, is very hard to control the elasticity or relaxation (like realflow does). Do you think is possible to add this feature?

Regards

a simple test…

Unfrotunately since the plugin is not working with a mesh, you can’t relax it. The only way to get similar effect is to play with the Threshold value and Radius. Using high threshold (2.0 for example) and large radius should give you something relax-like but its not the same thing.

You can also try the Use average mode and play with cutoff/trim values.

I still haven’t found any problems with the DR. I wonder if the problem might be pflow not computing Size for the particles…

I have not had time to come back to it, but I was half waiting to see what you found anyway. Are you able to reproduce the problem at all?

b

another test

I’ve now managed to complete the 1.11 version and I’ll just have to compile it for all max versions.

New features currently:
- Support for simple particle systems (basically all particle systems that come with max)
- Supports >1.0 values in texture strength in Multiply mode
- Slightly faster (Sorting bounding boxes along the ray is no longer brute force, this is most noticable with >1 000 000 particle counts)

I can’t think of anything else to add, fix or improve so it should also be the final version.

I still haven’t been able to reproduce the DR bug. Rendering on multiple machines with variating blob size works just fine: http://www.niksula.cs.hut.fi/~jylilamm/graphics/Metaballs\_31.jpg

So I asume this bug is not related to the metaballs but has something to do with pflow and different machine setups.

EDIT: With 10 000 000 particles the render time decreased from 34 seconds to 27 seconds. This is a lot considering the preperation time (which is resolution independent) is quite long with that many particles. The new BB sorting affects only the actual rendering process so it might actually cut the rendertimes by 25-50% in some rare situations. I didn’t bother doing any extensive testing on it.

excellent work bercon. I see this mentioned all over the place. Whats your next pet project?

beer foam

Is there any way to use BerconMetaball for this kind of effect?

________
sorry for my English

It might be possible to alter the metaball algorithm to produce something like that. However it would be insanely slow. First the algorithm itself would be heavier and second the huge number refractions to get anything near that would completly kill the rendertimes.

Hmm… :frowning:
But we can limit number of refraction by material “Max depth” or renderer “Max transp. levels” parameters?
If only BerconMetaball could generate this kind of geometry…

_________
sorry for my English

It look really great !
Before I used PWrapper converted to a Vrayproxy and I envied RealFlow RenderKit for MentalRay.

Do you think that you can compile a version for Vray sp2 with max2k9x64 ? :wink:

@Mnietek:

that wouldnt work i guess as you’d get a lot of flatspots instead of deep foam (after max refractions are reached exit color is used). Anyways. Why not create that kind of geometry using PFlow directly ?

Regards,
Thorsten

----- removed