Jump to content

image3d gen ....


lorduk

Recommended Posts

image3d metaDensity()
{
        float   ballDensity   = 0,
                       maxDensity    = 0;
	export vector  blendedColor  = 0;

	forpoints(P) {
  ballDensity = mdensity(P);

  if(ballDensity > maxDensity)
 	 maxDensity = ballDensity;
  
  blendedColor = ballDensity*mattrib("Cd", P);
	}
	density = maxDensity;
}

But it just will NOT export extra channel called blendedColor, am I missing something really simple or might it be a bug or God knows what. :ph34r:

I have been banging my head against the brick wall for 4 hours now and getting bit weary :angry:

So any help would be verrrryyy much aprichiated

-Kaspar

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...