03-24-2011, 11:17 PM
We are having a very big issue with textures getting loaded onto simple sources and object sources.
It seems that if you open up a file, select fumeFX and start simming and you have bitmaps (procedural textures seem fine) on your object sources or simple sources, those bitmaps are passed as being black untill you either view them in the material editor or use maxscript to do something like this:
I have attached a file that shows this problem. Open the file, select the fume grid and hit sim. You will notice nothing is happening. While it is simming open the material editor. Now the bitmaps are rendered and applied to the sources properly.
This is a huge issue and we cant rummage through the whole scene and put all our maps in the material editor every time we need to sim. And also breaks our sims if they are network simmed.
The above snippet of code works well for Object Sources, and i would be happy to put this in an 'on scene open' callback but there is no access to the Simple Source maps at all!
This brings me to another issue. If you open the attached file and run
you get the 4 fuel and smoke maps that are on the simple source and object source. Clear the material editor and run it again and you get nothing! Its like the Sources are hiding the maps from max completely!
Running this:
when you have the source selected the Maps dont turn up. And also the objects in the object source don't turn up either.
It would be great if we could get a fix for the texture issue as it is causing us a lot of problems in our pipeline.
Thanks!
It seems that if you open up a file, select fumeFX and start simming and you have bitmaps (procedural textures seem fine) on your object sources or simple sources, those bitmaps are passed as being black untill you either view them in the material editor or use maxscript to do something like this:
Code:
srcCount = 0
for obj in objects where classOf obj == Object_Src do
(
srcCount +=1
if(obj.fuelmap!=undefined) then renderMap obj.fuelmap
if(obj.tempmap!=undefined) then renderMap obj.tempmap
if(obj.densmap!=undefined) then renderMap obj.densmap
if(obj.extravelmap!=undefined) then renderMap obj.extravelmap
)I have attached a file that shows this problem. Open the file, select the fume grid and hit sim. You will notice nothing is happening. While it is simming open the material editor. Now the bitmaps are rendered and applied to the sources properly.
This is a huge issue and we cant rummage through the whole scene and put all our maps in the material editor every time we need to sim. And also breaks our sims if they are network simmed.
The above snippet of code works well for Object Sources, and i would be happy to put this in an 'on scene open' callback but there is no access to the Simple Source maps at all!
This brings me to another issue. If you open the attached file and run
Code:
getclassinstances RGB_MultiplyRunning this:
Code:
refs.dependents $It would be great if we could get a fix for the texture issue as it is causing us a lot of problems in our pipeline.
Thanks!
Jordan Walsh
VFX Technical Director
Showreel 2012
Check out my scripts on ScriptSpot!
VFX Technical Director
Showreel 2012
Check out my scripts on ScriptSpot!

