Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


my app is really slow

This topic is 5466 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

hi! i''m making a game which consists of a map (isometric of course) but the rendering is really slow, how can i improve it? (using DX9) i''m using: - a class for a tile which receives the texture from another class call GRID in which is stored all the terrain textures - a class for a mouse pointer (using Direct3D) - all of my classes ar set as pointers... is there anything i can do? TIA!

Share this post

Link to post
Share on other sites
I''m not familiar with DX9,
and without seeing your code i really cant gage what is wrong.

but im gonna take a stab and say that, your program is slow because your misusing the DX9 API,

for instance,

1. creating the device wrong, using only software mode or somthing
2. using too many or too few verticies in a given vertex buffer.
3. making too many texture (switches?) requiring the hard ware to do alot of unneccisary information transfer work,

again like i said, this is a stab in the dark, i would check some online tutorials (let google be your guide) how to properly setup DX9 for the kind of rendering your going to be doing.

hope that helps=)

Raymond Jacobs,



Share this post

Link to post
Share on other sites
what do you mean with IMMEDIATE or DEFAULT???
i''m not loading the texture the frames every frame, it''s loaded at the constructor, but i''m using a vertex buffer for each cell... how could i use just one VB in all the grid...maybe that''s what''s slowing it down... hehe
since the grid is 20 x 20 cells

Share this post

Link to post
Share on other sites
One of my trial-run programs was running really slowly until I noticed that I was rebuilding every vertex from a master array each cycle = waste of processing time.

You mentioned you had a tile class... this sounds kinda similiar to what I did... if you''re converting each tile into vertex coordinates each cycle you''re gonna get really bogged down really fast.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!