Search found 56 matches

by Ric
Thu 02 Apr 2020, 20:34
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

Once again, thank you.
I will not have chance to look at it until Monday because of work. But hopefully this will help me produce a viable 3d application.
Kind regards Ric
by Ric
Thu 02 Apr 2020, 19:43
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

Thankyou Richard,
Could you supply the code for that please, because i do not know how using the library to create the 3 buffers with different attributes. That would probably change my approach to how i go about d3d.
Regards Ric
by Ric
Wed 01 Apr 2020, 18:50
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

The code does not do anything that the D3D9LIB doesnt do yet, that is why i can not understand why is doesnt work. All i have done is produce 3 buffers with different qualities, I assume that if i ran these through the D3D9LIB it would work, but i want to fine tune the process a bit further down the...
by Ric
Wed 01 Apr 2020, 14:52
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

I have now successfully got d3d9 up and running NEARLY! As DDRM pointed out order does matter and so to this end i have created a veretex_buffer with opaque colour objects, a vertex_buffer with transparent colour objects and one with opaque textured objects. When i run the code the scene does not qu...
by Ric
Thu 26 Mar 2020, 08:55
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

Thank Richard,
I have heard Michael's name banded about before regarding D3D. I will put out a plea.

Regards Ric
by Ric
Wed 18 Mar 2020, 22:16
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

Here is the program as it stands. In my search to understand i have translated all in to what i consider code that is easier to understand. The only problem is that it is unstable! 50% of the time when the program is closed it crashes, can someone with a higher knowledge of D3D9 help with this aspec...
by Ric
Wed 18 Mar 2020, 16:55
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

I have now decreased the total number without d3d9 by 1. Upgrade successful.

I have also now got a working version of my program in D3D9 :D

Is there a way to multiply two matrices together that already have FN_f4() elements?

Regards Ric
by Ric
Mon 16 Mar 2020, 21:15
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

My appologies for invoking your wrath, but you presume too quickly. The only reason i am using D3DLIB and not D3D9LIB is because i have not got it. An update is obviously required.

Ric
by Ric
Mon 16 Mar 2020, 17:48
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

The "magic number 228" turned out to be the wrong one, had a look in the library file and changed it to 200 which works fine. The number 228 corresponds to "SetRenderState" in the list of methods i have, is the difference because the D3DLIB is written using D3D8 or am i barking up the wrong tree? If...
by Ric
Sat 14 Mar 2020, 11:37
Forum: Graphics and Games
Topic: D3D problem
Replies: 43
Views: 12745

Re: D3D problem

Thank you for that demo. The more small steps I take the bigger I can take in the future.
Regards Ric