Sign in to follow this  
chglove

DirectX 11 large size model

Recommended Posts

chglove    203
Hi, i am trying to convert a sample from Nvidia SDK 10 (Clipmap) to DirectX11, everything looks perfect but there is only one problem, if the sphere (or any other model) size is a little larger (I use a 20000 radius sphere), the model can not be rendered correct. see the image below.

any link or article is OK, thanks for your help!

PS:sorry for my bad English- -

[attachment=11573:000.jpg]

Share this post


Link to post
Share on other sites
kauna    2922
Difficult to say from the screen shot, but I could guess that the amount of geometry gets quite large with a huge planet. Are you using 16 or 32 bit indices?

Cheers!

Share this post


Link to post
Share on other sites
chglove    203
[quote name='kauna' timestamp='1349120648' post='4985841']
Difficult to say from the screen shot, but I could guess that the amount of geometry gets quite large with a huge planet. Are you using 16 or 32 bit indices?

Cheers!
[/quote]

It works fine in DX10, but i don't know why in DX11 it has this issue..

Share this post


Link to post
Share on other sites
chglove    203
OK, finally i found the reason about this problem, see this : [url="http://msdn.microsoft.com/en-us/library/windows/desktop/bb205120%28v=vs.85%29.aspx"]http://msdn.microsof...0(v=vs.85).aspx[/url]

in the output merge stage we need a DepthStencelState, anyway, thanks.

[attachment=11606:001.jpg]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this