Sign in to follow this  

Graphics Tools in VS 2012

This topic is 1943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I think most people know by now that VS 2012 has syntax highlighting for HLSL files and a built-in graphics debugger (basically PIX I think). I was surprised, however, to discover that it also has a functional extrusion-based 3D modeling tool for FBX files, an image editor with support for looking at mip levels and other DDS features, and a node-based visual shader tool. [img]http://public.gamedev.net//public/style_emoticons/default/blink.png[/img]

There's even MSBUILD tasks to compress textures and compile them into your app, and to precompile shaders and convert FBX files into .mesh objects (no luck finding any info on this format though).

Some images for people who might not believe this:

[img]http://i.imgur.com/whS4g.png[/img]


[img]http://i.imgur.com/FtKa9.png[/img]


I found this to be pretty wild, and they've made almost no mention of it anywhere. Seems like it could be useful for indie teams.

Edit: I did some hunting around in the VS folders to try to find the dll for a mesh loading API, but no dice. It'd be great to have this, since the FBX SDK is quite a pain in the neck to work with. It'd be nice if someone else handled that mess for me [img]http://public.gamedev.net//public/style_emoticons/default/happy.png[/img] Edited by Mike.Popoloski

Share this post


Link to post
Share on other sites
Actually there's a lot of articles how to use this feature, including tutorials how to detect bottlenecks in D3D app.

It also has pixel debugging and vertex debugging (though I failed to find how to debug specific vertex, it always debugs first one for me), which allows to step through HLSL code and see values of all variables. Edited by Ripiz

Share this post


Link to post
Share on other sites
Currently Visual Studio 2012 is in Beta stages, which is free Ultimate (probably cannot be used for commercial software).

I think these features will be available only in Ultimate version, Professional might offer partial features.

Share this post


Link to post
Share on other sites
I have been playing with the shader compiling in the release version of VS2012 (c++) and I think it is a little bit clunky with how they set it up.

Controlling the compiling options is done through the build property sheets, like compiling anything else. This is good in some ways and I find annoying in others.

The good, you can set up some property sheets for your project that ensure you compile the shaders the same way. Things like the shader model, whether you want optimizations and debug information.

What I find clunky is that the file level properties are also done through the property sheet. You need to specify the type of shader (vertext, pixel, etc) on the file level property sheet. Sort of annoying is that because this is a property sheet change, the entire project recompiles after changing that.

Worse, for file level properties, is that the property sheets are specific to your Configuration/Platform combinations. So you need to go into the file properties on each one: Debug|x86 -> Pixel Shader, Release|x86 -> Pixel Shader, Debug|x64 -> Pixel Shader, Release|x64 -> PIxel Shader (for each shader). Properties like that aren't going to change per Config/Platform and stuffing them in there feels a bit clunky. If you aren't using a consistent entry point name across all your shaders you would also have to specify this on a per file, per config/platform basis -- this one is at least easy to deal with (make them all the same).

Share this post


Link to post
Share on other sites

This topic is 1943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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