Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Best Practice for 3D Cube mesh

 
 
Old 03-17-2006   #1 (permalink)
Avery Z


 
 

Best Practice for 3D Cube mesh

Hi,

What is the most performant methodology for creating a cube shaped mesh
which will need different textures on each of its faces.

The way I am doing it now is 6 GeometryModel3Ds (one per face) grouped into
a Model3D group, and it is not very performant (not bad, but there is some
chopiness when animating).

The north face demo code seems to indicate there is another way to do it,
but can that work if each face needs a different texture?

Thanks Guys,
Avery

My System SpecsSystem Spec
Old 03-17-2006   #2 (permalink)
Jordan Parker [MSFT]


 
 

Re: Best Practice for 3D Cube mesh

That sounds optimal to me. For the face geometry, use one MeshGeometry3D
that consists of two triangles and share it amongst all of the
GeometryModel3Ds.

It may appear choppy because the rendering isn't synched up to the refresh
rate of your monitor or because you aren't getting hardware acceleration.
What's your video card?

The SDK comes with a tool called perforator which will give you the
framerate and other perf information.

Jordan

> Hi,
>
> What is the most performant methodology for creating a cube shaped mesh
> which will need different textures on each of its faces.
>
> The way I am doing it now is 6 GeometryModel3Ds (one per face) grouped
> into
> a Model3D group, and it is not very performant (not bad, but there is some
> chopiness when animating).
>
> The north face demo code seems to indicate there is another way to do it,
> but can that work if each face needs a different texture?
>
> Thanks Guys,
> Avery



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
cube 3d configuration not working Gaming
3D cube in vista !!!! Vista hardware & devices
cube 3d Vista Games
CUBE 3D PROBLEM Vista Games


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46