Search found 12 matches
- Thu Nov 23, 2006 3:52 pm
- Forum: Beginners Help
- Topic: understanding of Material
- Replies: 1
- Views: 158
understanding of Material
Hi, sorry for stupid questions but i would like to confirm if i've really understand some things correctly in the engine. Does the SMaterial structure manages all the samplerstates for each texturestage and keeps all other needed texture properties in it? e. g If i wan't to use an iron texture,i wil...
- Thu Nov 16, 2006 11:16 pm
- Forum: Beginners Help
- Topic: Why so many structures instead classes?
- Replies: 10
- Views: 583
I didn't say that was a good reason. You know, unless those are the last 6 bytes of storage on your hard drive, and Alyson Hannigan has just given you her phone number and you need to write it down somewhere. Then you'd be glad you used a struct. Very funny. You don't have to held account for somet...
- Tue Nov 14, 2006 7:36 pm
- Forum: Beginners Help
- Topic: Why so many structures instead classes?
- Replies: 10
- Views: 583
Why so many structures instead classes?
Hi,
is there a reason why using a structure for Vertex?
Why not using a class for Vertex?
Is there a technical reason or is it just design style of the coder?
Same for Materialstructure.
thx
is there a reason why using a structure for Vertex?
Why not using a class for Vertex?
Is there a technical reason or is it just design style of the coder?
Same for Materialstructure.
thx
- Fri Sep 29, 2006 5:34 pm
- Forum: Beginners Help
- Topic: static libs vs DLLs
- Replies: 6
- Views: 484
- Fri Sep 29, 2006 9:59 am
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
Thx vitek, my problem was that i only saw the empty methods in CNullDriver last night. That's why i didn't understand what everybody is trying to explain me. But after a detailed look in he morning 've seen that i was blind. ;) And you confirmed my question in my last posting ... Why does all of thi...
- Fri Sep 29, 2006 8:20 am
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
- Fri Sep 29, 2006 8:00 am
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
No you do not need to implement them again if a superclass already implements them (and they are declared virtual). BUT THEY ARE implemented again and again ... Have a look at the DirectX.cpp and opengl.cpp files. And you will see that they all have a function body with driverdependent code ... So,...
- Thu Sep 28, 2006 10:37 pm
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
- Thu Sep 28, 2006 10:11 pm
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
Because you then had to write the same code in the opengl driver and the software drivers. Why write the same code four times, when a single time suffices? ??? But the code is already written in DirectX.cpp files in OpenGL.cpp etc.. So the virtual prototypes of IVideoDriver can get their bodies fro...
- Thu Sep 28, 2006 9:58 pm
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
- Thu Sep 28, 2006 9:43 pm
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
- Thu Sep 28, 2006 8:48 pm
- Forum: Beginners Help
- Topic: CNullDriver
- Replies: 19
- Views: 898
CNullDriver
Hi, i'm trying to understand the code and ideas of implementations behind the irrlicht project. I didn't really understand why the Videodriverclasses like CD3D9Driver is derived from CNullDriver. What is the idea behind CNullDriver? Why is it not enough deriving from IVideoDriver? Like CD3D9Driver :...