Search found 11 matches
- Thu Mar 24, 2011 11:37 am
- Forum: Beginners Help
- Topic: What's this? .Pos.Y += (up) ? step : -step;
- Replies: 5
- Views: 446
- Thu Mar 24, 2011 10:03 am
- Forum: Beginners Help
- Topic: What's this? .Pos.Y += (up) ? step : -step;
- Replies: 5
- Views: 446
What's this? .Pos.Y += (up) ? step : -step;
...[index].Pos.Y += (up) ? step : -step; General question here. I have NO idea how I'd begin to look this up so if someone could explain the (up), ?, and : portions of this that would be great. up is a bool that's passed in, but why's it in () and how's it used to perform what seems like a math calc...
- Tue Mar 22, 2011 6:34 pm
- Forum: Code Snippets
- Topic: terrain height painting
- Replies: 28
- Views: 20480
- Tue Mar 22, 2011 6:01 pm
- Forum: Code Snippets
- Topic: terrain height painting
- Replies: 28
- Views: 20480
Can't seem to get this line of the code from the first post working. Looks like the engine has changed: if (smgr->getSceneCollisionManager()->getCollisionPoint(ray, terrainSelector, pos, Tri)) How could I modify it to work correctly? It now needs 5 params, the 5th being an outNode and I cant pass th...
- Tue Mar 22, 2011 3:18 am
- Forum: Beginners Help
- Topic: How to edit mesh vertices?
- Replies: 7
- Views: 1357
- Tue Mar 22, 2011 1:10 am
- Forum: Beginners Help
- Topic: How to edit mesh vertices?
- Replies: 7
- Views: 1357
- Mon Mar 21, 2011 8:44 pm
- Forum: Beginners Help
- Topic: How to edit mesh vertices?
- Replies: 7
- Views: 1357
Ok reading over that, sounds like he was almost in the same predicament as I am. The difference though is that I wish not to use a heightmap. I was editing the post above when you posted your last response, but now, how does one go about skipping the heightmap portion to great the geometry of the me...
- Mon Mar 21, 2011 8:13 pm
- Forum: Beginners Help
- Topic: How to edit mesh vertices?
- Replies: 7
- Views: 1357
I've looked at and extracted a lot of things from these two tutorials, the thing that I either can't figure out or is missing is the editing of a vertex during runtime. What function is it? EDIT: Ok so to elaborate a little more. This is the impression that I'm under: I need a mesh and a meshbuffer....
- Mon Mar 21, 2011 10:03 am
- Forum: Beginners Help
- Topic: How to edit mesh vertices?
- Replies: 7
- Views: 1357
How to edit mesh vertices?
Hey guys, just looking for some guidance here. In short I'm doing like a terrain editor. I want a plane and I want to be able to manipulate the vertices in it. I don't wish for anyone to do it for me, just some direction. The different mesh types have confused me thus far. So: 1. What is it that I n...
- Mon Mar 21, 2011 4:30 am
- Forum: Code Snippets
- Topic: (C++) RTSCamera
- Replies: 39
- Views: 32553
Haven't had a chance to look at it much, but it may be helpful to others searching to post your edge scrolling findings and solution? For anyone else wondering: The following section of RTSCamera::animate() is responsible for edge scrolling, either remove this section or add a condition to allow it ...
- Mon Mar 14, 2011 10:59 am
- Forum: Beginners Help
- Topic: Terrain placement ?'s
- Replies: 2
- Views: 298
Terrain placement ?'s
So I came across Irrlicht 12 hours ago and have been non-stop since. It seems to be exactly everything I've been looking for to get started...however, there's one issue. I'm placing terrain to get a feel of what I can do and what I'm shooting for is a Simcity-ish sort of look. Turns out I'm just not...