Search found 30 matches

by troopa
Thu Jul 13, 2006 7:31 am
Forum: Advanced Help
Topic: textbox background color different from skin
Replies: 1
Views: 230

up!
by troopa
Wed Jul 12, 2006 8:57 am
Forum: Advanced Help
Topic: textbox background color different from skin
Replies: 1
Views: 230

textbox background color different from skin

I would like to set a background color for my StaticText which is different from the one of the skin. Indeed, I want for exemple a grey listbox and a red static text. Is is possible or not.


Thanks !
by troopa
Fri Jun 30, 2006 6:39 am
Forum: Beginners Help
Topic: listbox : scrollbar problem
Replies: 2
Views: 352

you right, it was this !! Sorry to post so silly question

thanks
by troopa
Wed Jun 28, 2006 2:35 pm
Forum: Beginners Help
Topic: listbox : scrollbar problem
Replies: 2
Views: 352

listbox : scrollbar problem

I have create some listboxes but the scrollbar doesn't appear.

There is a little space for it on the left side of the listbox, but no scrollbar.

I don't understand where it can coming from

I paste the code I :

Code: Select all

m_pGui->addListBox( core::rect<s32>( 0, 100, 0, 60 ), 0, 3, true);
by troopa
Tue Jun 13, 2006 8:27 am
Forum: Advanced Help
Topic: Light doesn't work !!
Replies: 1
Views: 411

Light doesn't work !!

I have a problem with Light. I have a sphere which is red and I would like to light it. I have try many things but I don't manage to have Light effect on my sphere, it's desperatly red.

Did you have any remark on the code I wrote :


scene::ISceneNode* node = NULL ;
scene::IAnimatedMesh ...
by troopa
Mon Jun 05, 2006 10:55 am
Forum: Advanced Help
Topic: [SOLVED] picking accurate in openGL
Replies: 3
Views: 466

I solve my problem. I just have to put these lines at the top of the first method :

m_pDriver->beginScene(true, true, 0);
m_pSmgr->drawAll();


... and these lines at the end :

m_pGui->drawAll();
m_pDriver->endScene();

and It perfectly works !!!
by troopa
Mon Jun 05, 2006 8:20 am
Forum: Advanced Help
Topic: [SOLVED] picking accurate in openGL
Replies: 3
Views: 466

up !!

help me !!
by troopa
Mon Jun 05, 2006 8:19 am
Forum: Advanced Help
Topic: [SOLVED] picking accurate in openGL
Replies: 3
Views: 466

up
by troopa
Fri Jun 02, 2006 1:56 pm
Forum: Advanced Help
Topic: [SOLVED] picking accurate in openGL
Replies: 3
Views: 466

[SOLVED] picking accurate in openGL

For my application, I need a picking which is pixel accurate, so i wrote one.
I take in count all the object whose id is geater than Zero.

But I have one problem when I have Gui node. Indeed it seems the gui drawing change many parameters. Is someone have an idea or an advice onto the code I wrote ...
by troopa
Tue May 23, 2006 11:58 am
Forum: Beginners Help
Topic: CAmera movement Problems
Replies: 4
Views: 450

I have got the same problem !! can you tell me how did you solve your problem. It's really boring this stuff !!
by troopa
Thu May 04, 2006 2:11 pm
Forum: Advanced Help
Topic: change terrain vertex color
Replies: 4
Views: 622

I comment the piece of code who scale the terrain in CTerrainSceneNode and then it doesn't works with the scale function define in ISceneNode.

But I don't understand why there is no need to define one in AnimatedSceneNode and why you have to in TerrainSceneNode.

a Terrain is just a mesh with some ...
by troopa
Thu May 04, 2006 2:04 pm
Forum: Advanced Help
Topic: change terrain vertex color
Replies: 4
Views: 622

maybe I've missed something but why did you have this setScale and setPosition function.

I was looking for answer to your response and i was watching after the source code of AnimatedMeshSceneNode. It has only one mesh buffer and has no setScale, or setPosition function.

Why did you override the ...
by troopa
Thu May 04, 2006 11:17 am
Forum: Advanced Help
Topic: change terrain vertex color
Replies: 4
Views: 622

change terrain vertex color

I use irrspintz. I have created a terrainscenenode thanks to the function addterrainSceneNodeRaw. Its works great but I would like to change the color of the vertex belong the Y value of each vertex. I've tried to modify the color of the vertex of the MeshBuffer but it doesn't change anything ...
by troopa
Wed Apr 05, 2006 1:33 pm
Forum: Advanced Help
Topic: Material questions
Replies: 4
Views: 616

Thanks !! it works but I don't understand why. Why sould have to grab the IAnimatedMesh object because I never drop it by myself. I did not understand well the mechanism of the drop and grab methods and the methods description into the API is not enough for me. I would like to know exactly when and ...
by troopa
Wed Apr 05, 2006 12:19 pm
Forum: Advanced Help
Topic: Material questions
Replies: 4
Views: 616

thanks for your reply and sorry to answer so late but I have no time this last days.

1) I register the node as transparent but I have the same problem...


void TrajectoireSceneNode::OnPreRender()
{
if (IsVisible)
SceneManager->registerNodeForRendering(this, scene::ESNRP_TRANSPARENT ...