Click here to Skip to main content
15,909,205 members

Comments by HD86_ (Top 9 by date)

HD86_ 28-May-17 15:25pm View    
Deleted
I don't get this. If I write List<animal> animals = cats then that should mean that I am open to adding any animal type to the list, even though I initialized it with felines only.

What is the problem in having a list with mixed animal types? Unless there is some technical limitation that prevents it, it seems just an unfortunate limitation.
HD86_ 27-May-17 0:49am View    
For building a website you should start by learning HTML.
HD86_ 17-Mar-17 12:38pm View    
I made the following test: I built several GeometryModel3D objects with the same material. Then I changed the material for one of them and that changed the material for all the other objects that share the same material. Next I built GeometryModel3D objects each with its own material. I changed the material for one object, but the others were not affected. Conclusion: if I use one material instance for each GeometryModel3D instance, that will occupy more memory.
HD86_ 17-Mar-17 11:55am View    
Deleted
I made the following test: I built several GeometryModel3D objects with the same material. Then I changed the material for one of them and that changed the material for all the other objects that share the same material. Next I built GeometryModel3D objects each with its own material. I changes the material for one object, but the others were not affected. Conclusion: if I use a material instance for each GeometryModel3D instance, that will occupy more memory.
HD86_ 17-Mar-17 11:30am View    
No, because I don't know how to detect the difference. I'd like a theoretical answer and not only a practical one. Does creating more brush instances occupy more memory than assigning a single brush to many GeometryModel3D objects?