C
Coga19000
Guest
I mean, besides from the d3d draw functions; to be exact, to import a model from third-party software and have it render in 2d in the game.
Interesting... but how do I do that? I thought d3d functions draw 3d "models" out of 2d sprites, instead of importing full 3D models from elsewhere. (Let it be clear that I have no actual experience with d3d; last time I used Game Maker I had the GM8 Lite Version, which did not support 3D in any way.)You can use d3d functions (particularly model loading, drawing, and d3d transforms) perfectly fine without enabling d3d mode.
Prior to introduction of SWF import, this was actively used for displaying vector graphics in games.
I thought of that, but decided to only use it as a last resort; just thinking of all the frames I would have to render and copypaste separately makes me shiver3d software(blender,3ds max etc) can render in 2d(png frames) then you can import them to GM sprites.
That does sound fast, and awesome, and it's exactly what I need. However, how do I do such a thing?I guess it is going to be data consuming if you use rendered animations and load them into GameMaker while you can load 3D animation in GameMaker and use built-in lighting and shaders to make a good render, That is fast and awesome.
This is not really what I'm looking for, but thanks anyways!game maker is always drawing 3d, even when it is 2d. The normal projection is orthographic. If you want to use a perspective projection (where things that are closer to the camera appear larger), you'll need to set one.
Well, It will take a lot of work and a lot of time, I truly don't know where to start, But I can tell you the steps, And those steps are hard :-
So here are the Animation steps, But for render and light it will take a crap load time of work, It is not that easy :/ you should at least have a very good experience with d3d before you do that
- Make a model.
- Texture the model.
- Rig the model.
- Animate the model.
- Find an MD2 python exporter for blender because you made the model and animated in blender.
- Export as an MD2 animated model.
- Find an MD2 loader for GM:Studio or write your own.
- Make a 3D game in GM:Studio.
- Import the MD2 model into GM:Studio.
- Do some animation in the step event.
- Draw the model in the draw event and remember that each frame are an array index so Model[frame] is the drawing ID.
- Enjoy nTris, nTC bugs for a while until you fix them.
I see. It's a good thing 3D models are really low priority on my current project... but I do want it for my second, so I better have learnt how to do al this by thenWell, It will take a lot of work and a lot of time, I truly don't know where to start, But I can tell you the steps, And those steps are hard :-
*snip*
So here are the Animation steps, But for render and light it will take a crap load time of work, It is not that easy :/ you should at least have a very good experience with d3d before you do that