Krakatoa breaks when a gradient is assigned

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  06 June 2012
Krakatoa breaks when a gradient is assigned

Hey there peeps

I'm having an issue with Krakatoa MX 2 in 3DsMax 2012. I'm trying to assign a velocity and vorticity to color KCM script and so far I have succeeded by using the simple blend colors by velocity magnitude technique. Only I want to have more control, so I want to be able to assign a gradient like in the tutorial done by PixelPro here: https://vimeo.com/10100296 ( Shameless plug, he inspired me to get to work with krakatoa, thanks pixelpro ).


I am unable to assign a gradient to my PRT sequence and have it display properly. All it does is show the first color in the gradient over all the particles in the viewport. When I try to render that it breaks completely! Only a few particles will be rendered ( and i think they're overexposed too ) and the rest is just all black. Not even anything inside the alpha channel.

I have tried just assigning the gradient to the RPT sequence. I have tried using KCM to read out the map channels. And a few other things. And they all break the render! In some cases i even get an EMPTY error from krakatoa just showing a warning sign and a OK button.


I will provide some examples

http://img10.imageshack.us/img10/5464/workingfine.jpg <- This is using a simple magnitude blend script.

http://img269.imageshack.us/img269/1039/krakatoa1.jpg <- as you can see it renders properly

Once I assign a Gradient it already starts behaving unlike you'd expect. http://img267.imageshack.us/img267/...kengradient.jpg

And once you try and render it its just completely ****ed. http://i.imgur.com/7L2ng.jpg ( I used a different uploader since imageshack resizes. )

Notice the three groups of pixels in the middle? It is not down to my lighting by the way.

So why does krakatoa not accept my gradient ramp?

What am I doing wrong? I have done everything that multiple tutorials have said. This is absolutely driving me nuts! Could some one please help me? I would be very grateful!

Last edited by Inferno Acid : 06 June 2012 at 04:28 PM.
 
  06 June 2012
Show us your magmamod's setup.
Generally, all you should do to map channel's data to gradient color:
1) define min and max value.
2) fit all values from your channel to [0,1] interval. And clamp all values > max to 1, <min to 0.
3) Use this normalized data as U mapping coord.
 
  06 June 2012
Originally Posted by 3ak: Show us your magmamod's setup.
Generally, all you should do to map channel's data to gradient color:
1) define min and max value.
2) fit all values from your channel to [0,1] interval. And clamp all values > max to 1, <min to 0.
3) Use this normalized data as U mapping coord.


I am an idiot.

I kept retrying the tutorials I found in a hasty manner without taking the time to check if their tutorials checked out themselves. I just used this one for the third time http://www.thinkboxsoftware.com/kra...lflow-and-frost

scroll down to Mapping A Gradient Ramp By Velocity Magnitude.

They skipped a step in the written down bit. ( to add the tovector node ). But its visible in the screenie that I did not check in my caffeinated haste.

Thanks for letting me recheck my steps more carefully. The thread is useless now.
 
  06 June 2012
Originally Posted by Inferno Acid: I am an idiot.

I kept retrying the tutorials I found in a hasty manner without taking the time to check if their tutorials checked out themselves. I just used this one for the third time http://www.thinkboxsoftware.com/kra...lflow-and-frost

scroll down to Mapping A Gradient Ramp By Velocity Magnitude.

They skipped a step in the written down bit. ( to add the tovector node ). But its visible in the screenie that I did not check in my caffeinated haste.

Thanks for letting me recheck my steps more carefully. The thread is useless now.


Not useless at all. Without letting us know we screwed up, how could we fix it?
It wasn't your fault, it was mine. I have updated the tutorial with the missing step.

I bet there are other similar issues in other parts of the tutorials, please don't hesitate to send us an email or post here when you find them!
__________________
Bobo
 
  06 June 2012
Originally Posted by Bobo: Not useless at all. Without letting us know we screwed up, how could we fix it?
It wasn't your fault, it was mine. I have updated the tutorial with the missing step.

I bet there are other similar issues in other parts of the tutorials, please don't hesitate to send us an email or post here when you find them!


Awesome service! I'll be sure to give a heads up whenever I bump into anything else.

I just finished my first krakatoa render! Its not very pretty but shiver me timbers it was a lot of fun to get it to work. Keep on doing that stuff that you guys do at thinkbox!
 
  06 June 2012
Originally Posted by Bobo: Not useless at all. Without letting us know we screwed up, how could we fix it?
It wasn't your fault, it was mine. I have updated the tutorial with the missing step.

I bet there are other similar issues in other parts of the tutorials, please don't hesitate to send us an email or post here when you find them!



Just as a thank you, here's the final result

https://vimeo.com/44535646
 
  06 June 2012
Originally Posted by Inferno Acid: Just as a thank you, here's the final result

https://vimeo.com/44535646


Love it! Thanks for posting!
__________________
Bobo
 
  06 June 2012
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:35 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.