Search found 59 matches
- Wed Mar 10, 2010 4:33 am
- Forum: Beginners Help
- Topic: Sorting Polygons on CustomSceneNode
- Replies: 4
- Views: 358
- Tue Mar 09, 2010 2:26 pm
- Forum: Beginners Help
- Topic: Sorting Polygons on CustomSceneNode
- Replies: 4
- Views: 358
- Tue Mar 09, 2010 2:25 am
- Forum: Beginners Help
- Topic: Sorting Polygons on CustomSceneNode
- Replies: 4
- Views: 358
Sorting Polygons on CustomSceneNode
I created my own custom scene node and it works properly but the problem with it is that it always draws the polygons in the same order and disregards the z-buffer. Is there a way I can fix this? Obviously I could just do an algorithm to sort per frame based on distance to the camera but my node can ...
- Sat Feb 20, 2010 8:15 pm
- Forum: Beginners Help
- Topic: Creating Custom GUI Elements
- Replies: 2
- Views: 757
That was the "gotcha" I was missing. I was using CGUIScrollBar as a model and it just passes the parent variable along to its inherited class but when I looked at some of custom elements in the tools, they were passing along the rootGUIElement to the inherited class if parent was not set. Now it ...
- Sat Feb 20, 2010 4:42 pm
- Forum: Beginners Help
- Topic: Creating Custom GUI Elements
- Replies: 2
- Views: 757
Creating Custom GUI Elements
Is there a tutorial on how to make a basic custom GUI element? I have been trying by creating a class that inherits from IGUIElement and then I only overrode the constructor and draw functions but I can't get it to even enter the draw function. Am I missing some sort of registration step or is that ...
- Wed Feb 17, 2010 3:23 am
- Forum: Beginners Help
- Topic: Lighting Vertex Colors
- Replies: 2
- Views: 355
- Wed Feb 17, 2010 1:42 am
- Forum: Beginners Help
- Topic: Lighting Vertex Colors
- Replies: 2
- Views: 355
Lighting Vertex Colors
I'm trying to add an overhead light to Tutorial 3 (Custom Scene Node). So I added the following code:
scene::ILightSceneNode* light = smgr->addLightSceneNode();
video::SLight lightdata = light->getLightData();
lightdata.Type = video::ELT_DIRECTIONAL;
lightdata.AmbientColor = video::SColorf ...
scene::ILightSceneNode* light = smgr->addLightSceneNode();
video::SLight lightdata = light->getLightData();
lightdata.Type = video::ELT_DIRECTIONAL;
lightdata.AmbientColor = video::SColorf ...
- Sat Feb 13, 2010 6:33 pm
- Forum: Beginners Help
- Topic: Adding a Texture to IBillboardTextSceneNode
- Replies: 1
- Views: 323
Adding a Texture to IBillboardTextSceneNode
I'm trying to add a texture to a IBillboardTextSceneNode. My goal is to create a bubble around the text but I can't get it to do it. Can anyone tell me what's wrong with the code?
scene::IBillboardTextSceneNode* bb = mgr->addBillboardTextSceneNode(mgr->getGUIEnvironment()->getBuiltInFont(),
L"Test ...
scene::IBillboardTextSceneNode* bb = mgr->addBillboardTextSceneNode(mgr->getGUIEnvironment()->getBuiltInFont(),
L"Test ...
- Mon Feb 01, 2010 2:11 pm
- Forum: Beginners Help
- Topic: Heightmap terrain data
- Replies: 3
- Views: 457
Here's a thread that should help get you going:
http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
http://irrlicht.sourceforge.net/phpBB2/ ... highlight=
- Sun Jan 31, 2010 9:42 pm
- Forum: Beginners Help
- Topic: Pulldown Menus on Win32
- Replies: 0
- Views: 487
Pulldown Menus on Win32
Has anyone been able to implement pulldown menus on the Win32 example using standard Windows libraries? I've been trying using examples I have found on the web but all the different methods aren't working because either it doesn't register the events when they're selected or it does register but it ...
- Thu Jan 21, 2010 9:50 pm
- Forum: Beginners Help
- Topic: Why isn't my terrain being modified?
- Replies: 15
- Views: 2504
- Mon Jan 18, 2010 10:44 pm
- Forum: Beginners Help
- Topic: Why isn't my terrain being modified?
- Replies: 15
- Views: 2504
- Sun Jan 17, 2010 10:36 pm
- Forum: Beginners Help
- Topic: Why isn't my terrain being modified?
- Replies: 15
- Views: 2504
- Sun Jan 17, 2010 10:23 pm
- Forum: Beginners Help
- Topic: Why isn't my terrain being modified?
- Replies: 15
- Views: 2504
Thanks for the help. I changed the section that gets the data to
And still no dice. Any other thoughts? Thanks again for the help.
Code: Select all
scene::IMesh* buffer = terrain->getMesh();
video::S3DVertex2TCoords* data = (video::S3DVertex2TCoords*)buffer->getMeshBuffer(0)->getVertices();
- Sun Jan 17, 2010 12:31 am
- Forum: Beginners Help
- Topic: Why isn't my terrain being modified?
- Replies: 15
- Views: 2504
Why isn't my terrain being modified?
Hi,
I'm trying to modify my ISceneTerrainNode on the fly and it's not working. Can someone explain to why it isn't working? My code is attempt to just modify the height and turn it white but it's showing up black and flat. Thanks. Is there still that limit on terrain sizes of 129x129?
scene ...
I'm trying to modify my ISceneTerrainNode on the fly and it's not working. Can someone explain to why it isn't working? My code is attempt to just modify the height and turn it white but it's showing up black and flat. Thanks. Is there still that limit on terrain sizes of 129x129?
scene ...