1
Graphics / Re: SFML's client/server model; fine spheres and cubes
« on: May 05, 2012, 09:33:31 pm »
1) Does my client register a callback method with a DLL function, to cause the OS to send mouse and keyboard events to that callback method? The C++ tutorial showing "Hello SFML" does not use a client window. It has SFML make an instance of an sf::RenderWindow. I suppose that will work, but I was hoping to use my own dev environ window, and pass its handle. Is this possble?
2) Yes, I know I can define my own geometry. The previous engine (Dx9- and Dx11-based) I used had a function for producing the stack-and-slice sphere model. Does SFML have one? Also, we get more symmetry per polygon rendered by using icosahedral subdivision. I've an algorithm for doing this. I'm currently translating it from C++ to Smalltalk. If someone has already done this in SFML, I would like to know. That would save me some time.
2) Yes, I know I can define my own geometry. The previous engine (Dx9- and Dx11-based) I used had a function for producing the stack-and-slice sphere model. Does SFML have one? Also, we get more symmetry per polygon rendered by using icosahedral subdivision. I've an algorithm for doing this. I'm currently translating it from C++ to Smalltalk. If someone has already done this in SFML, I would like to know. That would save me some time.