RenderBump, does it work?


(BackSnip3) #1

Hello everyone,

I’m trying to use the RenderBump tool from ET:QW, following this tutorial from the mod wiki.

I’ve got two models:
One model called bench_01.obj which is the low-poly version, with UV-map and a material applied to it. I correctly replaced the backslashes with double underscores in the file and it displays fine in-game.



The other model called bench01_high.obj is the high-poly model from which I want to extract details and bake them to the normalmap. Both models are triangulated.

This is the material that I’m using :

material models/wolfmp/props/bench_01
{
	//nonsolid
	renderbump -size 1024 1024 -aa 1 -trace 0.01 models/wolfmp/props/bench01_local.tga models/wolfmp/props/bench01_high.obj
	{
		diffusemap 		models/wolfmp/props/bench01_d.tga
		specularmap		models/wolfmp/props/bench01_s.tga
		bumpmap			models/wolfmp/props/bench01_local.tga
	}	
}

When I launch the game, I type the renderbump command. The CPU is working for a few seconds and the operation is a success and outputs TWO images. But these images are not normalmaps. It doesn’t work. It’s just a gray image of my UV’s with alpha channel on empty space. The other output is a “mask”.



What am I doing wrong here? Hope someone can help. Thanks in advance.