A scattering tool for Indigo

Announcements, requests and support regarding the 3DS MAX exporter
User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Thu Dec 06, 2007 11:55 pm

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...

User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Fri Dec 07, 2007 12:11 am

Hi
Suv,
I was vaguely planning on it.. but I haven't got round to it yet.
Feel free to continue working on yours!

User avatar
psor
1st Place Winner
Posts: 1295
Joined: Sun Jun 25, 2006 1:25 am
Location: Berlin
Contact:

Post by psor » Fri Dec 07, 2007 9:11 am

:shock: :shock: :shock: Darn! I missed this ... WOW! :D :lol: :wink:



take care
psor
"The sleeper must awaken"

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Fri Dec 07, 2007 12:01 pm

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).
Attachments
view_dependent_scatter.jpg
view_dependent_scatter.jpg (111.21 KiB) Viewed 5712 times

User avatar
psor
1st Place Winner
Posts: 1295
Joined: Sun Jun 25, 2006 1:25 am
Location: Berlin
Contact:

Post by psor » Fri Dec 07, 2007 12:17 pm

:shock: What a freakin' cool idea suvakas! 8) :wink:


take care
psor
"The sleeper must awaken"

User avatar
zsouthboy
Posts: 1395
Joined: Fri Oct 13, 2006 5:12 am

Post by zsouthboy » Fri Dec 07, 2007 2:35 pm

Again, suv, you never cease to amaze - great idea.

vansan
Posts: 67
Joined: Fri May 04, 2007 2:35 am

Post by vansan » Fri Dec 07, 2007 9:47 pm

Hey Suv, show us your interface screenshot, please!
Great work, btw.

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Fri Dec 07, 2007 10:14 pm

Interface is not completely done yet.
Here's what i have so far (it's a modifier):
Attachments
maxigo_scatter.jpg
maxigo_scatter.jpg (19.9 KiB) Viewed 5675 times

User avatar
rgigante
Posts: 326
Joined: Wed Jun 28, 2006 6:46 am
Location: Italy

Post by rgigante » Sat Dec 08, 2007 12:07 am

Bowing the head.

Riccardo.

vansan
Posts: 67
Joined: Fri May 04, 2007 2:35 am

Post by vansan » Sat Dec 08, 2007 4:25 am

Suv, do you plan to do the same view-dependant feature for fly-through animated cameras?

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Sat Dec 08, 2007 4:36 am

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:

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Sun Dec 09, 2007 10:48 am

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 :)
Attachments
grass_scattertest-2.jpg
grass_scattertest-2.jpg (153.5 KiB) Viewed 5588 times

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Dec 09, 2007 12:28 pm

Do you think, you could write it in C but write a simple maxscript, that starts the C-script? :)

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Sun Dec 09, 2007 9:21 pm

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:

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Dec 09, 2007 11:46 pm

:D
Can you then also write a blender patch? xD

Post Reply
73 posts

Who is online

Users browsing this forum: No registered users and 1 guest