Jump to content

  • Log In with Google      Sign In   
  • Create Account


newbie with lots of questions


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 winsrp   Members   -  Reputation: 273

Like
0Likes
Like

Posted 05 March 2012 - 10:44 AM

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.

Sponsor:

#2 winsrp   Members   -  Reputation: 273

Like
0Likes
Like

Posted 07 March 2012 - 02:00 PM

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.

#3 RobinsonUK   Members   -  Reputation: 108

Like
0Likes
Like

Posted 07 March 2012 - 03:30 PM

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!

#4 winsrp   Members   -  Reputation: 273

Like
0Likes
Like

Posted 09 March 2012 - 08:34 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS