Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Is there a way to apply terrain textures, detail maps, and normal maps? The Irrlicht editor allows this, but the results aren't visible in CopperCube? |
||||
|
There was a older way to do terrains with detail maps and LOD's in Irrlicht but not used in CC. The code is still there though in CC source code though. I don't think it was very popular and so why Niko did his own terrain system in CC. You can use my new API's to add normal maps to the CC terrain system and there is an overlay material API also - not quite like a detail map but more like a weather overlay effect. I think the detail map used a 2 texture co-ordinates system to get the detail in there. With my API's and CC terrain you do a lot more though - auto texture terrain textures with angle and height adjustments, get surface texture for player walking sounds, get surface height, angle, and all sorts of thigs actually. |
||||
|
Thanks Robbo. I don't understand why they removed something like that. Even in the ancient Blitz 3D, which is over 25 years old, it still works. And Copper Cube is much more advanced. Blitz3D code for such stuff. t0=LoadTexture ("vector.png",128) ; the light vector texture, flag set to cubemapping t1=LoadTexture ("normal.tga") : TextureBlend t1,4 ; the normal map texture t2=LoadTexture ("ambient.jpg") : TextureBlend t2,3 ; the ambient map t3=LoadTexture ("tex.jpg") ; diffuse map EntityTexture model,t0,0,0 ; vector EntityTexture model,t1,0,1 ; normal EntityTexture model,t2,0,2 ; ambient EntityTexture model,t3,0,3 ; diffuse |
||||
|
|