Jump to content
  • Advertisement
Sign in to follow this  
winsrp

newbie with lots of questions

This topic is 2469 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've started with slimdx the other day, and its interesting, but sure lacks examples (at least for newbs) I was previously using XNA (learning more than using), and as I wanted to use the geometry shader I moved to SlimDX.

So I started with the tutorials in the slimdx page (for which the 3rd zip file with code always downloaded as corrupted) but I have managed to finally end the example, and now I want to recreate the Riemers XNA tutorials in slimdx for learning purposes but I cant seem to get passed the yellow triangle.

So, here are some questions for which I have already searched the internet with little to no luck at all.

How do I do a similar structure for a vertex declaration?
How do I do an Index buffer, fill it, and pass it to my video card?
How do I import a 2d file so it can be read by pixel? heightmap.
how do I write text to the screen?

And more related to the interaction of slimdx and a geometry shader..

How can I do to send a single point to the Geometry shader and make it do a box for me?

Thanks all for the help.

Share this post


Link to post
Share on other sites
Advertisement
ok... not a single answer, well, I don't give up that easy, and I've found patches of code here and there, and now I have a vertex structure and pass it to the effect file, I still need to do an Index buffer but I have an idea how to accomplish that and I'll give it a try latter today.

Still no idea how to import a 2d file or write text to screen, once I figure these 2 out, I'll try the geometry shader.

I also found how to read key from the rawinput, and store it in a dictionary element to simulate the keyboardState.

Share this post


Link to post
Share on other sites
In general you don't really need tutorials for SlimDX itself. It mostly wraps existing D3D interfaces into .NET, so any D3D tutorial will do so long as you're able to read C++ and convert the concepts across.

To be honest if you haven't worked out how to load a 2d file or write text to the screen, the geometry shader is going to be a bit of a struggle. You should at least work out vertex and pixel shaders before you do a geometry shader!

Share this post


Link to post
Share on other sites
oh i've done some basic vertex and pixel shaders when I was playing around with XNA. And thanks for the heads up, C++ is not my strong point, as It have been more than 8 years since my last program in C++, but I'll see what I can do with it, thanks for the info.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!