Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am designing an Real time plotting project, which plot surface of sea floor with different color according to depth.

I have used Microsoft direct x9.0 with Visual Studio 2005[C#].
Form this i have taken Vertex buffer,index buffer, device, camera, position Colored array of 3d.

The project doing plotting but the process is very slow and Zoom in and Zoom out is also very slow. After it plot the complete binary file. Surface remains on the screen but not zoom in, zoom out and not rotate(through Keyboard).

Can any one suggest my how i can improve its performance in plotting and zoom in and zoom out and rotation. while plotting and after complete plotted.

I want to give mouse rotation through "mouse pointer".

It Is real Time Plotting Project.

Any Suggestion will be helpful.
Thanxs for Suggestion.......
Posted

1 solution

You might try picking apart some of the code I used for one of my articles - AViD[^]. It uses the mouse to rotate the camera and zoom in/out. It might not be exactly what you're looking for, but it might atleast give you a direction of where you need to go.

As for performance, you can reduce the number of meshes you create, the complexity of those meshes, and reduce the field of view of the camera. Or change the rendering to use hardware, if its not already.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900