Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Best Practice for 3D Cube mesh

Closed Thread
 
Thread Tools Display Modes
Old 03-17-2006   #1 (permalink)
Avery Z
Guest


 

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
Old 03-17-2006   #2 (permalink)
Jordan Parker [MSFT]
Guest


 

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



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
cube 3d configuration not working buicksale Gaming 12 07-17-2008 07:32 AM
3D cube in vista !!!! Thomas Vista hardware & devices 0 03-20-2008 11:07 PM
cube 3d cube 3d Vista Games 0 10-05-2007 03:36 PM
CUBE 3D PROBLEM DUALS Vista Games 1 10-05-2007 03:11 PM
Mesh Geometry for a Cube and a Sphere Kevin Hoffman Avalon 15 03-15-2006 02:09 AM








Vistax64.com 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 2005-2008

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 47 48 49 50