I have a scene with an animated mesh (30 frames), an ambient and a diffuse light.
The first frame in the animated mesh is not enlightend by the diffuse light, the other frames are just fine.
The ambient light is fine for all frames.
This problem only occurs with dx8, not with opengl.
Also, the ...
Search found 17 matches
- Wed Jan 28, 2004 4:18 pm
- Forum: Advanced Help
- Topic: Animated mesh & lighting
- Replies: 0
- Views: 889
- Wed Jan 28, 2004 12:11 pm
- Forum: Beginners Help
- Topic: DX8 problemo
- Replies: 11
- Views: 1326
- Tue Jan 27, 2004 6:15 pm
- Forum: Advanced Help
- Topic: Icons
- Replies: 19
- Views: 6316
For a small icon, modify like this:
Code: Select all
WNDCLASSEX wcex;
...
wcex.hIconSm=LoadIcon(wcex.hInstance,(LPCTSTR)IDI_SMALL);- Tue Jan 27, 2004 10:22 am
- Forum: Beginners Help
- Topic: Adding light to scene?
- Replies: 0
- Views: 402
Adding light to scene?
How can I add lighting to a scene with a mesh, proceduraly created at runtime? The mesh has to be semi-transparent, something like colored glass.
If I don't set the ambient light, the part of the mesh that isn't lightend remains black. I want the black to be transparent. How?
If I don't set the ambient light, the part of the mesh that isn't lightend remains black. I want the black to be transparent. How?
- Mon Jan 26, 2004 3:23 pm
- Forum: Off-topic
- Topic: Who is everybody?
- Replies: 358
- Views: 573379
- Wed Jan 21, 2004 12:05 am
- Forum: Advanced Help
- Topic: stop the device?
- Replies: 3
- Views: 1618
- Tue Jan 20, 2004 5:07 pm
- Forum: Beginners Help
- Topic: wireframe
- Replies: 4
- Views: 775
- Tue Jan 20, 2004 4:04 pm
- Forum: Beginners Help
- Topic: wireframe
- Replies: 4
- Views: 775
- Tue Jan 20, 2004 3:52 pm
- Forum: Advanced Help
- Topic: stop the device?
- Replies: 3
- Views: 1618
stop the device?
I used to define my main loop like this. I copied this from a tutorial.
while(device->run())
{
driver->beginScene(true,true,SColor(0,100,100,100));
smgr->drawAll();
driver->endScene();
}
This worked fine in 0.4, but I've upgraded to 0.4.2 and this loop never exits anymore! If you close the app ...
while(device->run())
{
driver->beginScene(true,true,SColor(0,100,100,100));
smgr->drawAll();
driver->endScene();
}
This worked fine in 0.4, but I've upgraded to 0.4.2 and this loop never exits anymore! If you close the app ...
- Tue Jan 20, 2004 11:53 am
- Forum: Open Discussion and Dev Announcements
- Topic: Various 3D Engines
- Replies: 18
- Views: 3619
- Tue Jan 20, 2004 10:04 am
- Forum: Beginners Help
- Topic: wireframe
- Replies: 4
- Views: 775
wireframe
I have a custom mesh, wich is half a sphere. There's only a wireframe visible at the moment. Normaly, you should see the outside of the mesh, and also the inside (because it's only half a sphere).
In my app only the outside is painted, not the inside.
I assume this has something to do with culling ...
In my app only the outside is painted, not the inside.
I assume this has something to do with culling ...
- Mon Jan 19, 2004 11:37 pm
- Forum: Beginners Help
- Topic: DX8 problemo
- Replies: 11
- Views: 1326
- Thu Jan 15, 2004 11:34 pm
- Forum: Beginners Help
- Topic: DX8 problemo
- Replies: 11
- Views: 1326
Doh, I forgot, it wasn't Windows XP Beta 2, it was this application called GameXP, that tweaks all of the settings in XP to make it run faster. Even after uninstalling it, whatever change it made on the DX subsystem destroyed DirectX and caused me to start getting those "Unable to create a DirectX ...
- Thu Jan 15, 2004 6:05 pm
- Forum: Beginners Help
- Topic: DX8 problemo
- Replies: 11
- Views: 1326
- Thu Jan 15, 2004 12:29 pm
- Forum: Beginners Help
- Topic: DX8 problemo
- Replies: 11
- Views: 1326