model size
#24
(19 Jul 13, 08:18PM)Mr.Floppy Wrote: Backface-culling isn't done with modelling, some coder (lucas?) has to get his fingers on this. It's an openGL/DX feature which, at least on DX, can be set for each entity separatly. Though, it could just be set for all models except the player and hud models if things should kept simple, in our case.

You pretty much just pass the info whether or not backfaces should be culled to the graphics card. I guess it's merely a single line of code at the loading function where the particular gl flag gets set.

However, I'm quite certain some simple algorythm which would leave out very small or flat models according its bounding box's size wouldn't be such a bad idea. I have models like signs or those screw and cigarette in mind actually.
Yes, it could be done with very little code.
But i'm not going to do that, because it's isn't worth rendering so many extra hidden faces, imo.
Thanks given by:


Messages In This Thread
model size - by Boeufmironton - 17 Jul 13, 11:27AM
RE: model size - by ExodusS - 17 Jul 13, 12:48PM
RE: model size - by Cleaner - 17 Jul 13, 01:25PM
RE: model size - by D3M0NW0LF - 17 Jul 13, 06:13PM
RE: model size - by Mr.Floppy - 18 Jul 13, 11:58AM
RE: model size - by ExodusS - 18 Jul 13, 12:45PM
RE: model size - by Cleaner - 18 Jul 13, 03:32PM
RE: model size - by Mr.Floppy - 18 Jul 13, 05:21PM
RE: model size - by Bukz - 18 Jul 13, 07:16PM
RE: model size - by ExodusS - 18 Jul 13, 07:37PM
RE: model size - by PhaNtom - 18 Jul 13, 07:21PM
RE: model size - by Bukz - 18 Jul 13, 07:27PM
RE: model size - by PhaNtom - 18 Jul 13, 07:33PM
RE: model size - by Bukz - 18 Jul 13, 07:41PM
RE: model size - by Mr.Floppy - 19 Jul 13, 08:50AM
RE: model size - by ExodusS - 19 Jul 13, 01:57PM
RE: model size - by Cleaner - 19 Jul 13, 05:53PM
RE: model size - by PhaNtom - 19 Jul 13, 06:01PM
RE: model size - by Cleaner - 19 Jul 13, 06:16PM
RE: model size - by PhaNtom - 19 Jul 13, 06:23PM
RE: model size - by Mr.Floppy - 19 Jul 13, 08:18PM
RE: model size - by Luc@s - 19 Jul 13, 08:33PM
RE: model size - by Luc@s - 19 Jul 13, 08:58PM
RE: model size - by Ronald_Reagan - 19 Jul 13, 08:55PM
RE: model size - by |HP| - 19 Jul 13, 09:09PM
RE: model size - by Cleaner - 19 Jul 13, 09:33PM
RE: model size - by Mr.Floppy - 20 Jul 13, 10:35AM
RE: model size - by Cleaner - 20 Jul 13, 11:56AM
RE: model size - by Ronald_Reagan - 20 Jul 13, 08:44PM
RE: model size - by Boeufmironton - 20 Jul 13, 09:16PM
RE: model size - by Cleaner - 20 Jul 13, 10:35PM
RE: model size - by Boeufmironton - 20 Jul 13, 10:39PM
RE: model size - by Mr.Floppy - 21 Jul 13, 06:31PM