Jump to content
  • Advertisement
Sign in to follow this  
nareshn2003

face question

This topic is 5096 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I am using directx9 But i have some problem of face . I really don't know how to handle this problem. I am showing some Ascii Work for my problem Take a figure-1 look this one cube that loading from .x file But i don't Why it's render face 1,4 . I had seen some programe like deep exploration that not rendering this faces.Basically i am showing solid+outline object.I had checked in also directx7 retain mode sample has also not rendering 1,4 face. So why directx9 rendering this face.
 1-----2    
 | \   |
 |  \  |
 |   \ |
 3-----4
 figure-1
In deep exploration or Directx7 retain mode sample rendering like this in same file figure-2
 1------2
 |      |
 |      |
 |      |
 3------4
 figure-2
My faces structure like this 3:1,2,3,4, so it is has more than 3 faces in one line of .x file. So any good suggestion and help require :) thanx

Share this post


Link to post
Share on other sites
Advertisement
With D3DRS_CULLMODE, you can remove faces that have clockwise or counterclockwise vertices. In other words, faces that are facing the other way.

Share this post


Link to post
Share on other sites
Hi
thanx for reply.
But i had already done it . But i don't want to render 1,4 .
I found something on web about quardarangle,5 sided polygone so what is it ?

thanx

Share this post


Link to post
Share on other sites
Hi
But In my .x file Directx7 Retain mode "Viewer " Sample working fine like deep exploration But directx9 not working as i need .
Btw. Deep exploration also using directx9 render .

Directx9 Rendering Unused and Hided faces in my case :(
What u think about ?



thanx

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!