Jump to content

  • Log In with Google      Sign In   
  • Create Account

I need help with Direct3D


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
10 replies to this topic

#1 SnpProgrmr   Members   -  Reputation: 122

Like
Likes
Like

Posted 02 September 1999 - 02:23 AM

I need some help with D3D.
No web site that I've gone to so far has a Direct3D sample that gives only the bare basic in Win SDK format. So I'm asking if anyone would be kind enough give me a very easy sample with comments. Assume that the WinMain and WndProc is already defined.
Thanks

Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 18 August 1999 - 10:40 AM

I was going to ask the same question, good thing I read this first. If anyone replys with a bare-bones example, then I would really like a copy.

Pseudo_me@email.com


#3 WizardUSMC   Members   -  Reputation: 122

Like
Likes
Like

Posted 26 August 1999 - 02:21 AM

A book that I have found that answered alot of my D3D questions was Windows Game Programming For Dummies. You may want to pick it up.

#4 FlyFire   Members   -  Reputation: 122

Like
Likes
Like

Posted 26 August 1999 - 08:50 AM

As i remember, here is some examples, including bare bones (maybe) http://www.darwin3d.com/gamedev.htm
or here http://www.gdmag.com/

FlyFire/CodeX
http://codexorg.webjump.com


#5 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 26 August 1999 - 11:39 AM

Wizard, Windows Game Programming for Dummies *doesn't* have any Direct3D stuff. Are you sure your not thinking Tricks of the Windows Game Programming Gurus? I believe that has a short Direct3D book on the CD.

#6 WizardUSMC   Members   -  Reputation: 122

Like
Likes
Like

Posted 26 August 1999 - 06:59 PM

Yes, I stand corrected. It does not cover Direct3D specifically. However, it was very helpful to me to learn how to set up the whole windows environment in preparation. It answered alot of questions (fundamentals) I had. The Awesome Power of Direct3D/DirectX, although only version 5.0, was good. The code got confusing at times, but overall it was a help. DX7.0 books are due out in a couple months.

#7 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 29 August 1999 - 02:07 PM

I for one think that microsoft makes the worst sample applications. They use a format that is imposible to follow, and it takes hours to extact the smallest bit of usefull information. Now, there must be some place on the internet that is offering that bare bones D3DIM, using there own code.(not that d3dframe crap) All I want is some code to show me how to create textures properly, and I can't seem to find this anywhere.

#8 NuFAN   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 August 1999 - 04:53 AM

Yeah, the source is crap ! You need much time, but after a while and you stepped throught their notation (a mix between hungarian and something else), it isn't that hard. For creating textures, why not look into the D3D_Textr.cpp, it's a bit hard to understand, but working through the whole code (and understanding it) helps much.

CU

------------------
Skullpture Entertainment
#40842461


#9 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 30 August 1999 - 08:33 AM

I have read through d3dutil_texture.cpp ...or whatever it is called. I have a few questions about it. First off, why do they create a temporary surface, and then copy the bitmap into it, and then blt that onto the texture surface? Isn't that a wait of time? Why not copy the bitmap strait into the texture surface? Also, why do they keep the HBITMAP valid, doesn't this hold the bitmap in system memory? why would they need it, if they have the texture surface?

If you just wanna email some answers, instead of posting, it's pseudo_me@email.com


#10 arrogantgod   Members   -  Reputation: 122

Like
Likes
Like

Posted 30 August 1999 - 05:44 PM

I agree with you, the SDK examples suck. I finally got tired of their examples and all the other ones on the net that dont work and have started compiling my own examples as I learn it.

I finally got some basic primitives working on the screen and am in the process of "cleaning" the code that has been thrown together.

I will give you an email when I have something "presentable."

AG


#11 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 02 September 1999 - 02:23 AM

Just like arrogantgod, I got sick of looking for examples, and just started testing everything I could. I figured it out pretty well, and would like to offer my source to anyone looking for something simple. I also have a half create astroids game, if anyone wants to look at that. Just send me an email at Pseudo_Me@email.com, and I'll send over the source. Also you can contact me at ICQ# 10076314.




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