Comments (1)
You are right, the borders are not taken into account by the 640x480 given to CreateWindow. In this case though, that was actually my intent. I have tried this library on virtual Windows XP machines with 640x480 resolution. In this setup the window should not be larger than the screen, I actually really mean a 640x480 window, not client here. For this basic example the thing to show is how to get a triangle up on the screen. It is not intended to show inane Windows API quirks. They annoy me, I know about them, but this is not the place for them I think.
But thanks for the suggestion. I guess a way to solve this is to have multiple tutorials/examples, going from small-scale to large. We could have a nice tutorial with all these real-world problems that someone will face trying to create a real desktop 3D application, concentrating on one topic at a time. Unfortunately this is very time consuming and the thing I do not have right now is time...
from d3d9.
Related Issues (10)
- panic: calling Direct3DCreate9: The specified program requires a newer version of Windows. HOT 32
- I want to make a generic DirectX screenshot tool with d3d9 HOT 9
- Issue when enabling zbuffer/depth-culling HOT 10
- Surface.LockRect -> Invalid call HOT 4
- Binding for D3DX HOT 7
- Best way to take a screenshot of a third-party application/game HOT 2
- cannot use flag (type uint32) as type uintptr in argument to procRedrawWindow.Call HOT 7
- cannot use flag (type uint32) as type uintptr in argument to procRedrawWindow.Call HOT 1
- Not an issue: drawing using vertex buffers? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3d9.