Search found 37 matches
- Wed Feb 08, 2017 10:52 am
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
video::EDT_OPENGL
- Wed Feb 08, 2017 10:20 am
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
Void Linux, Intel HD5500
- Tue Feb 07, 2017 6:34 pm
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
Hm, guess I'd have to code a test - can't really tell from the image (it's pretty hard as that stuff depends on the angle between light and normal and I don't even see the light here - somehwere to the left I guess). Also long thin triangles like those are somewhat tricky for per-vertex lighting ...
- Tue Feb 07, 2017 6:31 pm
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
already tried that without changekornwaretm wrote:have you try recalculating normals?orCode: Select all
yourNode->getMaterial(0).setFlag(video::EMF_NORMALIZE_NORMALS, true);
Code: Select all
yourNode->setMaterialFlag(video::EMF_NORMALIZE_NORMALS, true);
- Tue Feb 07, 2017 12:18 pm
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
http://bedroomcoders.co.uk/tmp/2017-02-07-120835_1280x720_scrot.png
I've changed to a loaded obj - notice the shading is at 90 degrees to some of the other objects, and also its not interpolated between vertexes as I'd expect and see with the same model in libgdx
I'm now loading the scene node like ...
I've changed to a loaded obj - notice the shading is at 90 degrees to some of the other objects, and also its not interpolated between vertexes as I'd expect and see with the same model in libgdx
I'm now loading the scene node like ...
- Mon Feb 06, 2017 4:49 pm
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
I can throw the same 3d objects at libgdx and get nice shading so I'll probably just stick with that...
- Sun Feb 05, 2017 9:20 pm
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
Re: light seems to be coming from different directions per o
there is only 1 light - additionally touching cylinders that are at different angles, often don't have constant shading
- Sun Feb 05, 2017 6:58 pm
- Forum: Beginners Help
- Topic: light seems to be coming from different directions per objec
- Replies: 15
- Views: 3119
light seems to be coming from different directions per objec
I have created a light like this
scene::ILightSceneNode* l = smgr->addLightSceneNode(0, core::vector3df(100.f,100.f,100.f),
video::SColorf(1.f, 1.f, 1.f, 1.0f), 600.0f);
l->setLightType(video::ELT_POINT);
smgr->setAmbientLight(video::SColorf(.4f, .4f, .4f, 1.0f));
When creating each object ...
scene::ILightSceneNode* l = smgr->addLightSceneNode(0, core::vector3df(100.f,100.f,100.f),
video::SColorf(1.f, 1.f, 1.f, 1.0f), 600.0f);
l->setLightType(video::ELT_POINT);
smgr->setAmbientLight(video::SColorf(.4f, .4f, .4f, 1.0f));
When creating each object ...
- Sat Feb 04, 2017 7:51 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Simple ODE example
- Replies: 5
- Views: 2194
Re: Simple ODE example
couldn't resist having a play with trimesh and got it working without too much trouble (need to encapsulate it now), which is nice, just gotta find some nice resources 'cause I suck at making terrains... 

- Sat Feb 04, 2017 3:24 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Simple ODE example
- Replies: 5
- Views: 2194
Re: Simple ODE example
thx - please do contact me if you should think of any improvements, I'd like to improve it and provide a more in depth tutorial at some point...
- Sat Feb 04, 2017 10:09 am
- Forum: Open Discussion and Dev Announcements
- Topic: Simple ODE example
- Replies: 5
- Views: 2194
Simple ODE example
It was news to me that the site was hacked some time ago, and trying to look at some source for an irrlicht / ode example prompted me to throw something together.
It's probably not the best example of C++ but it's a simple starting point and I'm more than willing to work with someone to improve it ...
It's probably not the best example of C++ but it's a simple starting point and I'm more than willing to work with someone to improve it ...
- Mon Oct 20, 2008 10:09 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: bullet irrlicht demo
- Replies: 33
- Views: 33760
- Thu Dec 21, 2006 8:51 am
- Forum: Bug reports
- Topic: [not a bug?] device->drop() and leaks
- Replies: 11
- Views: 1038
- Fri Dec 15, 2006 5:57 am
- Forum: Bug reports
- Topic: [not a bug?] device->drop() and leaks
- Replies: 11
- Views: 1038
- Thu Dec 14, 2006 1:32 pm
- Forum: Bug reports
- Topic: [not a bug?] device->drop() and leaks
- Replies: 11
- Views: 1038