Wpf 3d with lots of models

I am making a human anatomy model. there are about 2100 mesh and model. I used the Helix 3D toolkit to import all the files into the scene, but it takes about 20 seconds to import and the scrolls and rotations are slow. and it takes 800 megs of RAM.

objects are optimized, and the sum of verticals must be less than 2 million.

I don't need shadows or any special effect. but I need to scroll, scale, test hit and ..

what format should i use to save models? I think .obj files are slow. Should I be using 3ds? or xaml?

Should I use 2000 modelvisual3d or one with 2000 Geometrymodel3d?

or should I use XNA?

Can I disable some features to speed up my work?

TNX

+3


source to share


2 answers


you can try to save them as .vtk (visual toolkit) and load them with a library like three.js in webgl canvas. (he also understands collada)



0


source


It's a very interesting idea to present 3D "Live" - ​​interactive human anatomy in WPF3D.

what format should i use to save models? I think .obj files are slow. Should I be using 3ds? or xaml?

I'm sure .obj is one of the fastest. It is slow on boot but works.

Should I use 2000 modelvisual3d or one with 2000 Geometrymodel3d?

One ModelVisual3D, not 2000 Geometrymodel3d, if possible when coding. Geometrymodel3d is for different materials. It has .Geometry, .BackMaterial and .Material.



or should I use XNA?

XNA is faster, but not interactive. You are working on an application outside of a game.

Can I disable some features to speed up my work?

A very interesting problem. When preparing the model, remove all back materials, keep the materials as simple as possible, and factor in the meshes you don't need. Rotate the camera if possible. You can send me a model and I will try to help.

0


source







All Articles