Sign in to follow this  
solidworm

Exporter to DX

Recommended Posts

[quote name='solidworm' timestamp='1306248484' post='4815136']
Does blender 2.5 support export for directx ?

If it doesent, how to make one?


[/quote]

why are you useing Blender 2.5 ?
why are you not using Blender 4.48 / 5 ?
and the .X export wotks fine.
but for XNA you have to go into edit mode to move vertexs otherwise XNA wont reflect what you did (and i found that wierd too, but strait DirectX and C++ works fine)

Share this post


Link to post
Share on other sites
Truth is im begginer with dx. I`m not sure should i use it at all.

Got some books and i`m just getting the felling of dx, but i want to use blender for modeling, and later to use them in the dx.

Founded that .x is legacy in the new dx10 and 11. How the models are imported to the newer dx versions?
What modeling tool are the people using for making models for dx, 3ds max or something else? if so, how do they import the .3ds in the program?

Share this post


Link to post
Share on other sites
[quote name='solidworm' timestamp='1306249558' post='4815143']
Truth is im begginer with dx. I`m not sure should i use it at all.
[/quote]

then try OpenGL (graphics only), or you could use XNA (its the managed version of DirectX)

[quote name='solidworm' timestamp='1306249558' post='4815143']
Got some books and i`m just getting the felling of dx,
[/quote]
that very good, better then what i started with.

[quote name='solidworm' timestamp='1306249558' post='4815143']
Founded that .x is legacy in the new dx10 and 11. How the models are imported to the newer dx versions?
[/quote]

proberbly in a similar manor, but i dont know as i am useing the good old Windows XP SP1 x64 (which is actually Windows Server 2003 x64)

[quote name='solidworm' timestamp='1306249558' post='4815143']
What modeling tool are the people using for making models for dx, 3ds max or something else?
[/quote]

i think most professional game modellers use 3DSMax, but there seam to be more out there (i dont really know as im more of a programer then an artist)

[quote name='solidworm' timestamp='1306249558' post='4815143']
how do they import the .3ds in the program?
[/quote]

they would write / use a existing a custom importer.
Activision \ Crytek use custom formats for there models (others proberbly do too)

Share this post


Link to post
Share on other sites
[quote name='solidworm' timestamp='1306248484' post='4815136']
Does blender 2.5 support export for directx ?

If it doesent, how to make one?


[/quote]

Modern Direct X doesn't support any model format directly, Blender can export to most commonly used model formats or if needed your own custom formats (you have to write an exporter for that though), You can then use a model loading library or write your own model loader for whatever format you're using (This has nothing at all to do with DirectX).

What professionals use is pretty much irrelevant, expensive tools like 3dsmax and Maya won't let you create better models than the ones you can make with a free tool like Blender, they might reduce the time it takes you to make the models though.

Their main advantage however is the renderer. (This is an area where blender is lagging behind quite a bit and integration with third party renderers like Mental Ray is far better in 3dsmax and maya than it is in blender)

Share this post


Link to post
Share on other sites
[quote name='ryan20fun' timestamp='1306254117' post='4815175']
[quote name='solidworm' timestamp='1306249558' post='4815143']
Truth is im begginer with dx. I`m not sure should i use it at all.
[/quote]

then try OpenGL (graphics only), or you could use XNA (its the managed version of DirectX)

[quote name='solidworm' timestamp='1306249558' post='4815143']
Got some books and i`m just getting the felling of dx,
[/quote]
that very good, better then what i started with.

[quote name='solidworm' timestamp='1306249558' post='4815143']
Founded that .x is legacy in the new dx10 and 11. How the models are imported to the newer dx versions?
[/quote]

proberbly in a similar manor, but i dont know as i am useing the good old Windows XP SP1 x64 (which is actually Windows Server 2003 x64)

[quote name='solidworm' timestamp='1306249558' post='4815143']
What modeling tool are the people using for making models for dx, 3ds max or something else?
[/quote]

i think most professional game modellers use 3DSMax, but there seam to be more out there (i dont really know as im more of a programer then an artist)

[quote name='solidworm' timestamp='1306249558' post='4815143']
how do they import the .3ds in the program?
[/quote]

they would write / use a existing a custom importer.
Activision \ Crytek use custom formats for there models (others proberbly do too)
[/quote]

Everyone uses a pipeline that is often custom made, the 3D modeling tools file formats are really bad for high performance loading. The way they store data is in a convenient manner for a file but it is not a convenient layout for a GPU. So what most custom importers do is preprocess the model file in such a format that allows the game to load it in fast most of the time this means that the inside of the file is just a binary data blob. This data blob contains vertices and indices that can be memcopied into a VB or IB without any processing needed. They also contain the shaders and materials and how they are linked to the VBs and IBs in the file.


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this