Quote from: aphexjh on August 04, 2021, 12:37:46 AM
Blendo released a minimal pack to get the process started.
Thanks.
One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371
idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: aphexjh on August 04, 2021, 12:37:46 AM
Blendo released a minimal pack to get the process started.
r_showtris 1/2
Quote from: The Happy Friar on January 26, 2021, 09:35:13 PM
q3a did?
Quote from: LDAsh on January 27, 2021, 01:37:53 AM
idTech4 only for patch-meshes
const int maxLod =Com_Clamp (0,ghoul2[0].currentModel->numLods,3); //limit to the number of lods the main model has
/*
=================
R_ComputeLOD
=================
*/
#ifdef _XBOX
int R_ComputeLOD( trRefEntity_t *ent ) {
#else
static int R_ComputeLOD( trRefEntity_t *ent ) {
#endif
float radius;
float flod;
float projectedRadius;
int lod;
if ( tr.currentModel->numLods < 2 )
{ // model has only 1 LOD level, skip computations and bias
return(0);
}
// multiple LODs exist, so compute projected bounding sphere
// and use that as a criteria for selecting LOD
// if ( tr.currentModel->md3[0] )
{ //normal md3
md3Frame_t *frame;
frame = ( md3Frame_t * ) ( ( ( unsigned char * ) tr.currentModel->md3[0] ) + tr.currentModel->md3[0]->ofsFrames );
frame += ent->e.frame;
radius = RadiusFromBounds( frame->bounds[0], frame->bounds[1] );
}
if ( ( projectedRadius = ProjectRadius( radius, ent->e.origin ) ) != 0 )
{
flod = 1.0f - projectedRadius * r_lodscale->value;
flod *= tr.currentModel->numLods;
}
else
{ // object intersects near view plane, e.g. view weapon
flod = 0;
}
lod = myftol( flod );
if ( lod < 0 ) {
lod = 0;
} else if ( lod >= tr.currentModel->numLods ) {
lod = tr.currentModel->numLods - 1;
}
lod += r_lodbias->integer;
if ( lod >= tr.currentModel->numLods )
lod = tr.currentModel->numLods - 1;
if ( lod < 0 )
lod = 0;
return lod;
}
QuoteTry making sure the game is patched to v1.01.
QuoteOpenJK uses SDL as a window and input manager. A side effect of this is that on certain international keyboard formats, the original console keybind does not work correctly.
As a workaround, we have implemented SHIFT+ESC as an alternative. On standard keyboard formats, the original ` (~ key) still works - the SHIFT is no longer required for this keybind.
If you don't like this, you can adjust it with the cl_consoleKeys cvar.
Quotejamp.exe +set fs_game ojpenhanced