Search found 20 matches
- Fri Aug 14, 2015 6:58 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
Actually just tried doing it after a friend recommended it. I thought my method was plain and simple. Well in theory it is, the camera and billboard concept is easy to get, but it's much harder to actually get working. And you are also limited to the size of the billboard and stuff like that, painti...
- Tue Aug 11, 2015 10:10 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
Primary resolution is supposed to be 320x240, so 4:3. Then scaling will be just multiplying that resolution. Will try orthographic camera, see if i can get that working. EDIT: Okay didn't help much, not even sure if i got it working:S I can't believe it's this hard to put a distance of a billboard c...
- Mon Aug 10, 2015 12:23 pm
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
I think i get what you are saying. Problem is i use billboard as a stage, a "2D map", so it won't be following the aspect ratio, as it depends on the map i want. Often the width is probably much greater than the height (as the Player will probably be spawning on the left side and going tow...
- Mon Aug 10, 2015 11:56 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
I tried it, but the only thing it seems to do is make it fit into the camera, that's not my goal. My goal is to make it appear 1x1, no stretching, the entire billboard doesn't need to be visible it just needs to be at the distance so the texture rendered at it appears as if it was rendered on the sc...
- Sun Aug 09, 2015 11:45 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
screen quad, effects? Wait, wait. I just mean. If i create a billboard, render a texture on it. How do i know what distance it must have from the camera in order to be 1x1 in pixels, meaning it's not zoomed in/out, it looks exactly like if i was painting directly on the screen. Cause currently, it s...
- Sun Aug 09, 2015 3:07 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
Yeah i can kinda do it, i get the concept. But isn't there like some kind of way to figure how to get the distance between the camera and the mesh to be 1x1. Like, i have the mesh at a distance provides equal "pixel-density" as drawing on the screen would. I have done this manually, but it...
- Fri Aug 07, 2015 1:09 pm
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
How can i make the mesh/plane face the camera?
I am having much trouble coordinating it, billboard was a bit easier but i still have troubles with positioning etc:S
I am having much trouble coordinating it, billboard was a bit easier but i still have troubles with positioning etc:S
- Thu Aug 06, 2015 8:42 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Re: Drawing 2D and having a Camera for movement?
Ah, well i kinda get what you mean with that 3d thing, and i actually was trying to do something like that as i got that it would be the easy way instead of doing some weird offset thing. But i don't get what you mean with making the model in blender, can i just make a plane there and then scale it ...
- Thu Aug 06, 2015 5:06 am
- Forum: Beginners Help
- Topic: Drawing 2D and having a Camera for movement?
- Replies: 18
- Views: 2378
Drawing 2D and having a Camera for movement?
Okay i have come as far as i am able to draw stuff more or less, and play around with collision etc. However i am limited to the resolution as i have no idea how i can make a platformer so i can move and the world moves with the player. I tried playing around with cameras in irrlicht, but it only af...
- Fri Mar 06, 2015 3:26 pm
- Forum: Beginners Help
- Topic: Modify Irrlicht to use Direct3D9Ex
- Replies: 6
- Views: 1186
Re: Modify Irrlicht to use Direct3D9Ex
No one?
Also tried making some sort of Fullscreen toggle by resetting the device in the engine source code.
Didn't go well though, guess there is more to it;P
Also tried making some sort of Fullscreen toggle by resetting the device in the engine source code.
Didn't go well though, guess there is more to it;P
- Wed Mar 04, 2015 8:59 am
- Forum: Beginners Help
- Topic: Modify Irrlicht to use Direct3D9Ex
- Replies: 6
- Views: 1186
Re: Modify Irrlicht to use Direct3D9Ex
I think i got Window mode to work. D3DDISPLAYMODEEX* dm = NULL; if (Params.Fullscreen) { present.BackBufferWidth = Params.WindowSize.Width; present.BackBufferHeight = Params.WindowSize.Height; // request 32bit mode if user specified 32 bit, added by Thomas Stu...
- Wed Mar 04, 2015 8:04 am
- Forum: Beginners Help
- Topic: Modify Irrlicht to use Direct3D9Ex
- Replies: 6
- Views: 1186
Re: Modify Irrlicht to use Direct3D9Ex
No idea if it will solve anything, but perhaps:P
Probably need one of the developers to help me out, as they know how it's integrated.
Mainly interested in trying out FlipEx which i can't get to work even though fullscreen is working.
Probably need one of the developers to help me out, as they know how it's integrated.
Mainly interested in trying out FlipEx which i can't get to work even though fullscreen is working.
- Wed Mar 04, 2015 7:48 am
- Forum: Beginners Help
- Topic: Modify Irrlicht to use Direct3D9Ex
- Replies: 6
- Views: 1186
Re: Modify Irrlicht to use Direct3D9Ex
Direct3D9Ex is an Extended Version of Direct3D9, so it's not the same, though extremely similar with some additions.
Just would like to get it to work as i would like to play around with some stuff it has.
Just would like to get it to work as i would like to play around with some stuff it has.
- Wed Mar 04, 2015 7:31 am
- Forum: Beginners Help
- Topic: Modify Irrlicht to use Direct3D9Ex
- Replies: 6
- Views: 1186
Modify Irrlicht to use Direct3D9Ex
I am trying to make Irrlicht use Direct3D9Ex instead of the non-ex. I have been able to make it work with fullscreen, but for some reason i just can't get it to work in Windowed mode. As i don't know much about C++ overall i am totally confused. The only thing i have done is pretty much changed ever...
- Fri Feb 27, 2015 2:16 am
- Forum: Beginners Help
- Topic: Reading Back/Front buffer?
- Replies: 10
- Views: 1205
Re: Reading Back/Front buffer?
Okay trying to figure out how to implement this: http://www.codeproject.com/Articles/5051/Various-methods-for-capturing-the-screen As i guess that's pretty much what we want right? Though i get linking error even though d3d9.lib should be there, so yeah..stuck;P it complains on: extern IDirect3DDevi...