Search found 17 matches
- Tue Mar 06, 2018 1:49 pm
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
Re: How can i let diffuse lighting work?
Looks like the sum of all your lighting is already beyond full lighting. So basically in first step you have to get back to a situation where it's not full bright and then slowly turn the lights up. For example start with only 1 light - either dynamic or ambient and check how it's there. Reasons it...
- Tue Mar 06, 2018 9:42 am
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
Re: How can i let diffuse lighting work?
When I switch off all the lights everything is dark.manni63 wrote:What happens, when you switch off both light sources, ambient and directional?
And how do you make the shadows?
I make the shadows by adding a scenenode:
Code: Select all
((scene::IAnimatedMeshSceneNode*)n)->addShadowVolumeSceneNode();
- Tue Mar 06, 2018 1:09 am
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
Re: How can i let diffuse lighting work?
The first thing: Which video driver do you use? It seems to me that the software driver as well as the burningsvideo driver seems not to support direct lighting. The second thing is a little bit tricky and it took me some time to understand this effect: With the coordinates of your light source (-1...
- Mon Mar 05, 2018 12:51 pm
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
Re: How can i let diffuse lighting work?
Diffuse illumination means that light comes from all space directions on your mesh object. So the brightness of a mesh is completely independent of normal directions. This is exactly the situation you show in your first image, so your diffuse illumination works pretty well. To get a brightness that...
- Mon Mar 05, 2018 1:29 am
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
Re: How can i let diffuse lighting work?
yes, of course. It shows shadow. Any suggestion?
- Mon Mar 05, 2018 1:13 am
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
Re: How can i let diffuse lighting work?
still not workMel wrote:Try to normalize the normals.Code: Select all
n->getMaterial(0).normalizeNormals = true;
- Sun Mar 04, 2018 4:59 pm
- Forum: Beginners Help
- Topic: How can i let diffuse lighting work?
- Replies: 12
- Views: 1487
How can i let diffuse lighting work?
I am using 1.7.2. I load a 3ds mesh to the scene and add a light (see below). It seems that the diffuse lighting does not work. https://preview.ibb.co/eaXznn/nodiffuse.png I want get the following effect which I got in the rhinoceros software: https://preview.ibb.co/eGON7n/diffuse.png I tried these ...
- Fri Jan 09, 2009 4:58 am
- Forum: Beginners Help
- Topic: How can I add a parallel light?
- Replies: 7
- Views: 544
sorry, guys. I am not tending to bother you. But it is really difficult for a 3d beginners to precisely manipulate irrlicht. It will take you just a minute but few hours of me to solve a problem. I just want to integrate irrlicht into my spatial analysis framework MicroCity.
- Thu Jan 08, 2009 3:17 pm
- Forum: Beginners Help
- Topic: How can I add a parallel light?
- Replies: 7
- Views: 544
How can I add a parallel light?
I found there is a type of light scenenode which can be used as a dynamic point light. But I want add a parallel light that is emitted from infinity. How can I do that?
- Thu Jan 08, 2009 3:05 pm
- Forum: Beginners Help
- Topic: Can not draw a 3d line
- Replies: 6
- Views: 499
I got it, thanks.randomMesh wrote:That's wrong. You need to call it betweensunzhuo wrote:I call it before the loop.andCode: Select all
driver->beginScene()
Code: Select all
driver->endScene()
- Thu Jan 08, 2009 2:29 pm
- Forum: Beginners Help
- Topic: Can not draw a 3d line
- Replies: 6
- Views: 499
how/when do you call it ??? it works for me this way: SMaterial m; m.Lighting = false; while(device->run()){ driver->beginScene(true, true, video::SColor(0,0,0,0)); smgr->drawAll(); guienv->drawAll(); driver->setMaterial(m); driver->setTransform(video::ETS_WORLD, core::matrix4()); driver->draw3DLin...
- Thu Jan 08, 2009 1:52 pm
- Forum: Beginners Help
- Topic: Can not draw a 3d line
- Replies: 6
- Views: 499
- Thu Jan 08, 2009 1:39 pm
- Forum: Beginners Help
- Topic: Can not draw a 3d line
- Replies: 6
- Views: 499
Can not draw a 3d line
I am using 1.5. This issue made me crazy. I tested it in the helloword example. It doesn't work. see below: smgr->addCameraSceneNode(0, vector3df(0,30,-40), vector3df(0,5,0)); SMaterial m; m.Lighting = false; driver->setMaterial(m); driver->setTransform(video::ETS_WORLD, core::matrix4()); driver->dr...
- Thu Dec 25, 2008 7:17 am
- Forum: Bug reports
- Topic: The default MAYA camera can't be repositioned
- Replies: 4
- Views: 2288
- Wed Dec 24, 2008 5:24 pm
- Forum: Beginners Help
- Topic: Lose mouse response outside irrlicht window
- Replies: 0
- Views: 268
Lose mouse response outside irrlicht window
I embeded a irrlicht window in wxWidgets. It worked fine for most time. But sometime when I use mouse control the camera in irrlicht window, the mouse seems trapped by irrlicht window. The interface outside the irrlicht window does not respond on mouse click. Such as close, minimize, etc. At that ti...