Author Topic: Scatter with collision detection  (Read 17853 times)

2014-11-12, 16:05:33

ChrisJ

  • Moderator
  • Active Users
  • ***
  • Posts: 7
    • View Profile
Scatter now has collision detection, which tests intersections with bounding boxes.
I wish this would go faster, but I have to do this in my spare time, around commuting to work for my day job.
« Last Edit: 2014-11-12, 16:43:07 by ChrisJ »

2014-11-12, 16:28:01
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8778
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Nice to see progress here! I hope we can get control over overlapping, otherwise it's not very useful ;]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-11-12, 16:51:01
Reply #2

arqrenderz

  • Active Users
  • **
  • Posts: 990
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
So nice to see the development of this great part of corona!Keep Up the good work! :)

2014-11-12, 17:12:59
Reply #3

agentdark45

  • Active Users
  • **
  • Posts: 579
    • View Profile
Could I put in a request to give the user the ability to change the bounding box to a more complex shape? Kind of like how Mass FX automatically calculates a simple convex / concave hull object  to fit the object better than a simple box. This is especially important when you are scattering more complexly shaped objects - you can see already that no cylinders are scattered near the teapot spout in your example due to using a simple bounding box, so there's a lot of empty space that won't be filled. Overlapping control won't really solve this as it will just cause object intersections where you don't want them to occur.
Vray who?

2014-11-12, 17:14:21
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
That would be waaaay more complicated and waaaay slower
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-11-12, 17:57:26
Reply #5

agentdark45

  • Active Users
  • **
  • Posts: 579
    • View Profile
I thought it might have been a bit of a long shot. What about letting the user add their own simple bounding object shape? I can sacrifice speed for a super dense and collision free scatter.
Vray who?

2014-11-25, 13:44:13
Reply #6

maumau3d

  • Users
  • *
  • Posts: 1
    • View Profile
I`ve been using the script ultimate painter, which I downloaded from the scriptspot website and it has helped me a lot. It is not actually a scatter, but it allows you to specify a distance in-between the objects, it also has a collision feature too but that one only crashes with me. I am just suggesting that maybe since collision seems to be a long shot for the corona scatter at the moment, maybe just a minimum distance feature/spinner could help some people)

2014-11-25, 20:05:03
Reply #7

borisquezadaa

  • Active Users
  • **
  • Posts: 614
    • View Profile
Have you seen this?
http://km-3d.com/freestuff/uncollider.ms

ITS FREEEEEEEE!!!!...
What i do with Corona My Corona post of random stuff rendering
WARNING: English.dll still loading...

2014-11-26, 09:30:36
Reply #8

CiroC

  • Active Users
  • **
  • Posts: 506
    • View Profile
    • Portfolio
Keep the great work ChrisJ.

I look forward to explore the new scatter options. :)

2014-11-26, 11:02:38
Reply #9

antanas

  • Active Users
  • **
  • Posts: 269
  • Hmm ...
    • View Profile
I thought it might have been a bit of a long shot. What about letting the user add their own simple bounding object shape? I can sacrifice speed for a super dense and collision free scatter.
I was thinking of exactly same type of thing + maybe selection between - custom, user made extremely low poly shape resembling original object (tree, grass, bushes, cars, whatever)  - box - cylinder - and maybe even sphere bounding shapes + the ability to set scaling of those + maybe some random scaling of those shapes would be good too, but I guess it will be really slow to calculate even if it would be quite useful in some cases.

Probably the most realistic thing to expect would be the ability to select between box and cylinder shapes and the ability to set scaling of those to semi-manually control overlapping like every other scatterers do + as I wrote before the ability to set some random scaling of those bounding shapes to randomize overlapping a bit would be quite welcome too :)

2014-12-07, 16:53:53
Reply #10

Utroll

  • Active Users
  • **
  • Posts: 164
    • View Profile
Nice to see progress here! I hope we can get control over overlapping, otherwise it's not very useful ;]
+1, with rand% eventually