Page 3 of 5

Posted: Thu Dec 06, 2007 11:55 pm
by suvakas
Hey Ono !

If you happen to read this...
Do you still plan to implement the scattering stuff?
If you don't, then I can continue with mine...

Posted: Fri Dec 07, 2007 12:11 am
by OnoSendai
Hi
Suv,
I was vaguely planning on it.. but I haven't got round to it yet.
Feel free to continue working on yours!

Posted: Fri Dec 07, 2007 9:11 am
by psor
:shock: :shock: :shock: Darn! I missed this ... WOW! :D :lol: :wink:



take care
psor

Posted: Fri Dec 07, 2007 12:01 pm
by suvakas
I picked this little "project" up again today and came up with a little idea. I made the scattering view dependant. It means, that scattering only happens in camera's field of view. I think it should save some memory while rendering.
Here's a small example. The grass is generated according to the viewable area of the camera on the ground (1st image is from the ground).

Posted: Fri Dec 07, 2007 12:17 pm
by psor
:shock: What a freakin' cool idea suvakas! 8) :wink:


take care
psor

Posted: Fri Dec 07, 2007 2:35 pm
by zsouthboy
Again, suv, you never cease to amaze - great idea.

Posted: Fri Dec 07, 2007 9:47 pm
by vansan
Hey Suv, show us your interface screenshot, please!
Great work, btw.

Posted: Fri Dec 07, 2007 10:14 pm
by suvakas
Interface is not completely done yet.
Here's what i have so far (it's a modifier):

Posted: Sat Dec 08, 2007 12:07 am
by rgigante
Bowing the head.

Riccardo.

Posted: Sat Dec 08, 2007 4:25 am
by vansan
Suv, do you plan to do the same view-dependant feature for fly-through animated cameras?

Posted: Sat Dec 08, 2007 4:36 am
by suvakas
vansan wrote:Suv, do you plan to do the same view-dependant feature for fly-through animated cameras?
Nope. The scattering is totally random and that would cause the grass to change it's pattern in every frame. I think I'll add this field of view thing as an user selectable option. It's only useful for stills. Also you can't cover large areas with this scattering tool cause the amount of instances are currently limited to 99 000. So I'm not sure how useful this is at all. It sure is good for carpets :lol:

Posted: Sun Dec 09, 2007 10:48 am
by suvakas
Just another test. Trying to optimize this stuff, but it's still quite slow.
100 000 grass strands took 6 minutes to export. Oh well. Can't get it any faster at the moment. Maxscript is not C :)

Posted: Sun Dec 09, 2007 12:28 pm
by Kram1032
Do you think, you could write it in C but write a simple maxscript, that starts the C-script? :)

Posted: Sun Dec 09, 2007 9:21 pm
by suvakas
Kram1032 wrote:Do you think, you could write it in C but write a simple maxscript, that starts the C-script? :)
Unfortunately I don't know C.
Also I've heard, that Max SDK isn't that easy to pick up too. (at least not as easy as maxscript).
Learning C is in my plans though :lol:

Posted: Sun Dec 09, 2007 11:46 pm
by Kram1032
:D
Can you then also write a blender patch? xD