I try to make a very small RPG with Irrlicht. But I use BlitzMax, so it's little bit easier. But I can work with C++ Code.
Here is my intermediate.
And so I have and will have many questions. It will be nice, when you try to answer.
1. Is there a way, to color a Mesh with an easy function? And how can I make a Mesh transparent?
2. I wrote a function, which return the MeshY Position back:
Code: Select all
Function MeshY:Float(x:Float, z:Float)
Local Start_pos:vector3df = _VECTOR3DF(x, + 3500, z)
Local End_pos:vector3df = _VECTOR3DF(x, - 200, z)
Local y:Float
line.getStart().setEq(Start_pos)
line.getEnd().setEq(End_pos)
If (smgr.getSceneCollisionManager().getCollisionPoint( ..
line, selector, intersection, tri))
Driver.SetTransform(ETS_WORLD, Matrix4.Create())
EndIf
Return intersection.gety()
End Function
3. I try to make realistic water. And so I try to use cube mapping, to reflect realtime the environment. But I don't know, how I should past this 6 "Cameras rendered textures" in one.
4. And are there GLSL/HLSL shader examples? I searched a lot, but I don't find anything.
5. And I use a big terrain. And so I use at the moment a very big colormap. Is there a way, that I can texture a mesh terrain, with more colormaps? Then I can use low quality textures for regions, which are far away.
I hope you understand!:-D
Greetings, Steven