FSIC Messageboard
  Tech Talk
  Question for MH, Bryan, or Mighty

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Question for MH, Bryan, or Mighty
JT
Pilot
posted 11-28- 12:29 AM     Click Here to See the Profile for JT   Click Here to Email JT     Edit/Delete Message   Reply w/Quote
In SDOE, if you have one-sided polygons on screen but with their normals facing away from the point of view (thus making them invisible), are they still being drawn? Does the game still keep track of the verts? I'm assuming they don't get drawn, but I just want to make sure.

IP: Logged

Michael Harrison
General
posted 11-28- 12:54 AM     Click Here to See the Profile for Michael Harrison   Click Here to Email Michael Harrison     Edit/Delete Message   Reply w/Quote
No, if a poly's normal is facing away from you, and the poly is one-sided, it will not be clipped or drawn (it will completely ignored as far as rendering is concerned).

------------------
Director of Development
Inertia, LLC

IP: Logged

Bryan Russell
Pilot
posted 11-28- 06:44 AM     Click Here to See the Profile for Bryan Russell   Click Here to Email Bryan Russell     Edit/Delete Message   Reply w/Quote
Are you saying they don't get transformed if its determined the normal is facing away?

Does the engine use the normal defined for a poly exclusively for back face removal, regardless of the winding direction of the polygon verts? When I was writing out the terrain it seemed to be dependant on the vertices winding, regardless of which way the normal was set. Also I recently noticed that I forgot to import any face normal info on a LOD import in OPS (they are written out as all 0.0's), but every thing seems to work fine.

Do you optimise the polygon vertices when their loaded? If not I could imagine that it would be possible to skip the transformation step for a polygon's vertices based on the normals direction. Therefore it would be quite an important performance issue to get the normal right even if the backface removal is working fine. I will be fixing this little undocumented feature in OPS anyway but it is an interesting thing.


Bryan

IP: Logged

Sp@nky
Pilot
posted 11-28- 09:47 AM     Click Here to See the Profile for Sp@nky   Click Here to Email Sp@nky     Edit/Delete Message   Reply w/Quote

while playing with my p40 in ac3d i did the model with 2 sided everything cause when i went to one sided they were only visible from the inside

when i did a reverse normals it looked all messed

anyone know why?

IP: Logged

Sv
Pilot
posted 11-28- 10:33 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
In AC3D in 3D view select "show normals" from the 3d menu. Make sure all of the normals go the correct direction. You may need to select individual surfaces and choose "flip normals". Choose individual surfaces by selecting all of that surface's vertecies. - not fun

Usualy all you have to do is flip all of the normals for that entire object, but now always - be careful!

IP: Logged

Sp@nky
Pilot
posted 11-28- 04:26 PM     Click Here to See the Profile for Sp@nky   Click Here to Email Sp@nky     Edit/Delete Message   Reply w/Quote

cool sv thanks alot

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c