Search found 87 matches

by instinct
Fri Mar 12, 2010 10:34 am
Forum: Beginners Help
Topic: work-around for getSceneNodeFromScreenCoordinatesBB() ?
Replies: 2
Views: 318

work-around for getSceneNodeFromScreenCoordinatesBB() ?

I recently switched from 1.5 to 1.7.1 and noticed getSceneNodeFromScreenCoordinatesBB() returned wrong results. This is a known bug: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=35674&postdays=0&postorder=asc&highlight=getscenenodefromscreencoordinatesbb&start=0 Does any1 k...
by instinct
Fri Feb 12, 2010 11:27 am
Forum: Beginners Help
Topic: Can someone compile this for me?
Replies: 14
Views: 997

have you tried a clean and build? Can do miracles sometimes ... :)
by instinct
Thu Jan 28, 2010 8:56 am
Forum: Beginners Help
Topic: Why isn't my terrain being modified?
Replies: 15
Views: 1704

Code: Select all

video::SColor ( 255, 0, 0, 0 ),   // vertexColor 
shouldnt this be 255,255,255,255 if you want it white? :P
by instinct
Thu Jan 21, 2010 2:11 pm
Forum: Beginners Help
Topic: Rotation around parent?
Replies: 4
Views: 709

Doh, why didn't i think of this....thanks hybrid!
by instinct
Thu Jan 21, 2010 1:40 pm
Forum: Beginners Help
Topic: Rotation around parent?
Replies: 4
Views: 709

Rotation around parent?

I want to rotate a SceneNode around it's parent. The docs say rotation is done relative to its parent, but apparently calling setRotation does not rotate it around the parent :( my problem is best explained using sample code: pParent->setPosition(vector3df(0,0,0)); pChild->setParent(pParent); pChild...
by instinct
Thu Jan 14, 2010 8:59 am
Forum: Beginners Help
Topic: weird absolute position
Replies: 9
Views: 517

thanks CuteAlien :)
by instinct
Thu Jan 14, 2010 8:11 am
Forum: Beginners Help
Topic: weird absolute position
Replies: 9
Views: 517

Can i do this by simply calling smgr->getRootSceneNode()->updateAbsolutePosition() or do i have to do it individually?
by instinct
Tue Jan 05, 2010 4:33 pm
Forum: Beginners Help
Topic: weird absolute position
Replies: 9
Views: 517

Unfortunately that didnt solve the problem :(
by instinct
Tue Jan 05, 2010 2:46 pm
Forum: Beginners Help
Topic: weird absolute position
Replies: 9
Views: 517

weird absolute position

I've been trying to understand why my SceneNode has a weird absolute position for a couple of hours but i just cant find the reason why. Situation: I have a 'pallet', which is an AnimatedMeshSceneNode, with an emptySceneNode as parent. It's position is correct. I also have a 'box', which also is an ...
by instinct
Tue Jan 05, 2010 8:15 am
Forum: Beginners Help
Topic: How to make loading progress before game scene
Replies: 4
Views: 354

Basically what you want to achieve is to load everything into memory before rendering. You can do this by simply keeping a boolean bLoading, which will be TRUE by default and FALSE when all the loading is done. In your game loop you can make a call to a function showing the loading screen, when bLoa...
by instinct
Tue Jan 05, 2010 8:12 am
Forum: Beginners Help
Topic: Displaying text
Replies: 7
Views: 657

I guess what instinct wants is text in another perspective. indeed ;) I guess it might be possible to render the text to a texture and use that texture on another object. I don't think we have already a general easy way to put text on some object otherwise. that's too bad. I was hoping something li...
by instinct
Mon Jan 04, 2010 2:51 pm
Forum: Beginners Help
Topic: Displaying text
Replies: 7
Views: 657

Displaying text

I was wondering if it's possible to display some text in the world that does not act like a billboard. I noticed the basic ITextSceneNode is visible from every direction and 'through every wall'. I would like to place some text on the ground, without it being a billboard. How do i do this?
by instinct
Mon Jan 04, 2010 11:25 am
Forum: Beginners Help
Topic: possible to set size of mesh? [solved]
Replies: 1
Views: 195

This can be done easily by using Smgr->getMeshManipulator()->scale().

Sorry for not looking into the docs better :oops:

I'll leave it here if some1 is wondering about this...
by instinct
Mon Jan 04, 2010 11:00 am
Forum: Beginners Help
Topic: possible to set size of mesh? [solved]
Replies: 1
Views: 195

possible to set size of mesh? [solved]

I was wondering if it is possible to set the size of an AnimatedMesh, just like you can when calling Smgr->addCubeSceneNode(). Since every mesh can have a different size, depending on how it's modeled, this is a problem for me. For example, when i have 2 models of buildings, they can have different ...
by instinct
Mon Dec 21, 2009 12:01 pm
Forum: Beginners Help
Topic: relative positioning to parent
Replies: 5
Views: 285

thanks for pointing that out to me CuteAlien. Turned out i did and fixed the bug in my own code ;)!