Search found 19 matches

by tracerx
Mon Mar 23, 2009 11:54 pm
Forum: Beginners Help
Topic: TerrainRendering
Replies: 7
Views: 695

Endless terrain

The way this could be achieved is using a tiling terrain scene node, there is not one in irrlicht by default, but this thread http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=20940 probably has what you need. That demo looks very nice. However it is not a wrapping endless terrain. (There is a...
by tracerx
Mon Mar 23, 2009 8:46 pm
Forum: Advanced Help
Topic: How do I use Irrlicht + XCode + iPhone SDK ??
Replies: 47
Views: 9187

Any progress on landscape mode?
by tracerx
Mon Mar 23, 2009 6:41 pm
Forum: Beginners Help
Topic: Where is ITiledTerrainSceneNodeManager?
Replies: 0
Views: 379

Where is ITiledTerrainSceneNodeManager?

I've seen ITiledTerrainSceneNodeManager mentioned in a few posts and it
looks like what I need to repeat / wrap my terrain simply. I just want 4x4
or 8x8 connecting identical terrains that will just wrap around if you get to
the edge. Where is it located at?


thx,
by tracerx
Sun Mar 08, 2009 4:08 am
Forum: Advanced Help
Topic: How do I use Irrlicht + XCode + iPhone SDK ??
Replies: 47
Views: 9187

Re: You can create a static library for Irrlicht on iPhone

That's what I do and it works fine. Although it would be nice to see the source files in the static libs in the project file. Like you can for a MS Visual Studio solution. All the source is there. What I do is in addition to pulling in the .a static lib I also pull in all the source. Makes it easie...
by tracerx
Sat Mar 07, 2009 7:55 pm
Forum: Code Snippets
Topic: Terrain pager
Replies: 24
Views: 20197

thnks is it possible to use multiple textures for terrain? No, just 1 solid texture and 1 detail texture on fixed pipeline per terrain. But you can use texturing shader like splatting or anything else like that. I'm actually working on a texturing shader with alphamaps and texture atlas to blend mo...
by tracerx
Mon Mar 02, 2009 8:35 pm
Forum: Beginners Help
Topic: Collision "jump"
Replies: 1
Views: 468

Re: Collision "jump"

cdesseno wrote: Another little question: smgr->createCollisionResponseAnimator returns something when it collides? Is there any method to check if there is being a collision?
I'd like to know this also. Can we register a callback or check some variable to know when a collision occurs?
by tracerx
Sun Mar 01, 2009 9:46 pm
Forum: Beginners Help
Topic: Rotate the scene -90 degrees
Replies: 7
Views: 642

Re: Rotate the scene -90 degrees

I've been messign around with camera rotation but I think what I really need is to rotate the entire scene by -90 degrees (for landscape on mobile device). I'm fairly certain that this isn't really what you want to do. If you want landscape mode, you just create a window that is taller than it is w...
by tracerx
Sun Mar 01, 2009 6:10 am
Forum: Advanced Help
Topic: How do I use Irrlicht + XCode + iPhone SDK ??
Replies: 47
Views: 9187

Losing Touches in my UIView

After I spinup Irrlicht, I no longer get touch messages in my UIView. Is there a fix for this?

thx

edit: Oops, I see the engine has its own view, I'll have to redirect touches from that.
by tracerx
Sun Mar 01, 2009 2:20 am
Forum: Beginners Help
Topic: Best way to control camera manually
Replies: 2
Views: 408

So how do I keep that straight ahead? Move the target with setTarget as well? Setting the target y to 0 did the trick. Maybe this has something to do with the way the FPS camera is setup. m_pCamera = m_pSmgr->addCameraSceneNodeFPS(m_pParent,100.0f,1.2f); m_pCamera->setPosition(core::vector3df(2700*...
by tracerx
Sat Feb 28, 2009 8:21 pm
Forum: Beginners Help
Topic: Best way to control camera manually
Replies: 2
Views: 408

Best way to control camera manually

I've got existing code that gives me a height above the terrain, and a heading in degrees. I'm trying to get the camera situated height-wise, and make sure it always pointed straight ahead as I manually move my character position across the terrain based on heading (it's legacy code). I noticed afte...
by tracerx
Fri Feb 27, 2009 4:44 am
Forum: Beginners Help
Topic: Rotate the scene -90 degrees
Replies: 7
Views: 642

Re: Rotate the scene -90 degrees

I've been messign around with camera rotation but I think what I really need is to rotate the entire scene by -90 degrees (for landscape on mobile device). I'm fairly certain that this isn't really what you want to do. If you want landscape mode, you just create a window that is taller than it is w...
by tracerx
Fri Feb 27, 2009 4:02 am
Forum: Beginners Help
Topic: Rotate the scene -90 degrees
Replies: 7
Views: 642

I just realized the above won't work anyway because the sky and 2D bitmaps would not also be rotated as well.
by tracerx
Fri Feb 27, 2009 3:31 am
Forum: Beginners Help
Topic: Rotate the scene -90 degrees
Replies: 7
Views: 642

check this code out ;) : //load b3d scene IAnimatedMesh* mapMesh = smgr->getMesh("./data/maps/interior/interior_01.b3d"); IAnimatedMeshSceneNode* mapnode = smgr->addAnimatedMeshSceneNode( mapMesh ); mapnode->setScale(core::vector3df(150,150,150)); mapnode->setRotation( irr::core::vector3d...
by tracerx
Fri Feb 27, 2009 1:48 am
Forum: Beginners Help
Topic: Rotate the scene -90 degrees
Replies: 7
Views: 642

Rotate the scene -90 degrees

I've been messign around with camera rotation but I think what I really need is to rotate the entire scene by -90 degrees (for landscape on mobile device).

How do I do this?


thanks!
by tracerx
Fri Feb 27, 2009 1:14 am
Forum: Advanced Help
Topic: How do I use Irrlicht + XCode + iPhone SDK ??
Replies: 47
Views: 9187

Its working. I just need to figure out how to rotate the camera for landscape, and turn off my old rendering so I can get an accurate FPS reading. Update: No joy on landscape yet. Terrain (Example 12) is currently running at 12-13fps so I'm doing something very wrong or I need to turn something off....