Bunch of Questions

I’ve got Unity free version. Note this is my first post. Therefore, you guys can call me an idiot, since that’s what you’re supposed to do.

Okay, questions:

  1. Is there a built in way to warp the screen? As in, in the free version. Kind of that texcrd kind of effect.

  2. The engine I just got stonewalled on - bad support for meshes - had a particle system that was great but didn’t offer much flexibility. To make angled rain, I rendered a warp texture - a 3d colored raindrop - in to use in the particle system, which gave it the illusion of a rotating particle.

  3. I haven’t explored the materials to the full extent, in fact, I haven’t installed Unity, and I’m asking for animated bump maps. That’s right.

  4. Procedural textures: how do I turn code into an asset? Even better, where is the documentation for those methods?

  5. I’m guessing that a lot of the effects that PWN are Pro only. My team has only been able to save up 46 dollars in the last two months. It’s not the shadows I want - hey, we’ve got a nice baking solution and anything is better than the two light limit we had with the bump mapped specular - but rather the post screen shaders. I was hoping to see how hard it would be to turn my ASM shaders into that HLSL looking stuff. So, my question is if it is possible to toggle the thirty day Pro trial on and off - because as deprived students that are about to waste money - I mean - put money to good use on our colleges that we are attending next year - I don’t think we’ll be able to mass more than a thousand dollars as we did in the past. Not to mention, I’m getting the hell out of California while the rest of my team is staying. Just doesn’t work.
    So is there an on and off button?

  6. Finally, since I can’t get some render targets - where the heck is the cube maps button?

Anyhow, I’m off to download it! Thanks for the infoes!

Okay, now this question is more serious as I don’t want to port my code from C++:

How would I access some methods in my DLL? Just a DLL, nothing else. I know how to do this in C++, and it sure isn’t pretty, and I’m thinking it ain’t pretty here either, but I’d like to know how to do this.

Partly because I filched the code from Mr. Perlin’s website and I don’t get how it works. Well, enough to write a wrapper for it.

Edit:
Muahahaha, found the noise example. Ignore this post then. Muahahaha. Upper questions still sort of stand.

So, I can generate height maps on the fly - but how do I load that up as a normal map?

This messy thing is what I got:

function buildTexture ( )
{

	var texColors : Color [] = new Color [ textureWidth * textureHeight ];
	// Kewl, just like old times
	var noiseAmt : float;
	var noisePosX : float;
	var noisePosY : float;
	var noiseC : Color;
	for ( var ix : float = 0; ix < textureWidth; ix += 1 )
	{
		for ( var iy : float = 0; iy < textureHeight; iy += 1 )
		{
			noisePosX = ix/textureWidth;
			noisePosY = iy/textureHeight;
			//noiseAmt = myNoise.RidgedMultifractal( noisePosX*15, noisePosY*13, 0,  0 );
			noiseAmt = myNoise.HybridMultifractal( noisePosX*8, noisePosY*5, 0 );
			noiseAmt = ( noiseAmt + 1 )*0.5;
			noiseC = new Color ( noiseAmt, noiseAmt, noiseAmt, 1 );
			texture2D.SetPixel( ix,iy, noiseC );
		}
	}

	var rawOutput = texture2D.EncodeToPNG( );
	File.WriteAllBytes(Application.dataPath + "/../temp.png", rawOutput);
	
//	var imageTextAsset : TextAsset;
//	textureBP.LoadImage( imageTextAsset.bytes );
	File.Delete( "/../temp.png" );

	texture2D.Apply( false );
}

The two commented out lines near the bottom is what I got so far. I can’t find anywhere in the docs on how to load that stuff up.

So, I think I’m going to go work on porting my collision system.

Edit:
That or see how easy it is to make bouncy breasts. Flip side to each choice.