A scattering tool for Indigo
@Kram:
I've looked into adding this for blendigo, but A) it's a pain - blendigo has a ton of cruft (where does the "scatter" happen? at mesh export? at enumeration of the scene?) and B) I have not had the time.
Python isn't that hard to learn, and you can probably get by without using some of the neat Pythonic™ things that people like python for...
I'll get you started. Here is a complete program in python:
print "Hello World."
That's it. The language has a "batteries included" approach, whereby the stuff you're likely to use, is already there.
I've looked into adding this for blendigo, but A) it's a pain - blendigo has a ton of cruft (where does the "scatter" happen? at mesh export? at enumeration of the scene?) and B) I have not had the time.
Python isn't that hard to learn, and you can probably get by without using some of the neat Pythonic™ things that people like python for...
I'll get you started. Here is a complete program in python:
print "Hello World."
That's it. The language has a "batteries included" approach, whereby the stuff you're likely to use, is already there.
Well.. adding it to Maxigo would be easy, but it's unfinished and buggy and I'm not sure if this would be more useful than standard Max scattering. So I don't know if there is any point in it at all except getting zero slowdown in views compared to standard scatter. Also i think there is no scale map under standard max scattering tool?
I would appreciate it very much, even if it's buggy. It would help a lot to
do rugs'n sh*t. Especially with the get material option you've got there.
So please let us say "damn it's f*cking more buggy then I thought"!
But hey, ... you said it's buggy so I'll shut up. Anyway, would be nice
if you could list the known bugs and of course tell us if we should
report new bugs too.
Thanx in advance mate!
take care
psor
do rugs'n sh*t. Especially with the get material option you've got there.
So please let us say "damn it's f*cking more buggy then I thought"!
But hey, ... you said it's buggy so I'll shut up. Anyway, would be nice
if you could list the known bugs and of course tell us if we should
report new bugs too.
Thanx in advance mate!
take care
psor
"The sleeper must awaken"
Hey,
I've been fooling around with this old scattering script I made a while ago. I will maybe integrate it to new Maxigo version.
Thanks to more optimized Maxigo code I got the scattering export time down by 4 times. Before it took 6 minutes to export 100 000 copies and now it takes "only" 1.5 minutes.
Also now it is possible to control the density of the scattering by using a scale map.
I've been fooling around with this old scattering script I made a while ago. I will maybe integrate it to new Maxigo version.
Thanks to more optimized Maxigo code I got the scattering export time down by 4 times. Before it took 6 minutes to export 100 000 copies and now it takes "only" 1.5 minutes.
Also now it is possible to control the density of the scattering by using a scale map.
- Attachments
-
- scatter_test3.jpg (181.44 KiB) Viewed 8672 times
-
- scatter_test4.jpg (120.32 KiB) Viewed 8670 times
Well..cause it's related to Max only I thinkCTZn wrote:Didn't see that thread before, I'm wondering how much I mossed there
Why can't we see these images on the common forums ? Great carpets !
It is actually not limited with carpets. You can use it for anything.
Here's an example of teapot forest. Everything is generated during the export process (no heavy geometry in the viewports). And all are instances of course.
- Attachments
-
- scatter_test5.jpg (282.02 KiB) Viewed 8659 times
I am talking about nice images/objects, not creation techniquessuvakas wrote:Well..cause it's related to Max only I thinkCTZn wrote:Didn't see that thread before, I'm wondering how much I mossed there
Why can't we see these images on the common forums ? Great carpets !
Keep it going suv !
obsolete asset
Re: A scattering tool for Indigo
Hey,
I added one small thing to my scattering script. (which will be hopefully integrated into new Maxigo)
Scattered model can now have multiple materials and you can change the color of one of those mats by using a texture. Like for example material ID 1 has a constant texture/color, but material ID 2 gets it's color from texture map of a ground plane. Check out the image (not the best example, but illustrates what i'm talking about). The top of the strand is blue, but the body gets it's color from checker texture of the ground. Can make some interesting variations like that. For carpets or smth.
On the other image the top is emitter material (25 000 emitters total:P )
I added one small thing to my scattering script. (which will be hopefully integrated into new Maxigo)
Scattered model can now have multiple materials and you can change the color of one of those mats by using a texture. Like for example material ID 1 has a constant texture/color, but material ID 2 gets it's color from texture map of a ground plane. Check out the image (not the best example, but illustrates what i'm talking about). The top of the strand is blue, but the body gets it's color from checker texture of the ground. Can make some interesting variations like that. For carpets or smth.
On the other image the top is emitter material (25 000 emitters total:P )
- Attachments
-
- scatter+multimats.jpg (266.24 KiB) Viewed 8488 times
-
- 25k_emitters.jpg (250.48 KiB) Viewed 8483 times
Re: A scattering tool for Indigo
That's some impressive stuff there, Suvakas.
I'm looking forward very much to the new Maxigo!
Thanks again for your dedicated work with this.
I'm looking forward very much to the new Maxigo!
Thanks again for your dedicated work with this.
Re: A scattering tool for Indigo
I realize that this is almost a year since the last post.. but made any progress on it?
Who is online
Users browsing this forum: No registered users and 41 guests