TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Thu Jul 19, 2018 9:22 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Mar 09, 2017 5:03 pm 
Offline
Albertosaurus
Albertosaurus
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2278
Location: Canada, eh?
So I was just doing a bit of testing on my Trespasser HD level and ran GeomAdd to check for an unrelated error when I noticed something in the "Verify Level" results: it seems one of the sub-models on my Monorail Terminus exceeds the 2048 triangle limit, at 2240. I know from past experience on ATX that doing this would prevent the level from loading until the triangles were reduced, so naturally I hopped into CE and booted up the level...and it worked! No crash, no errors. Just to be sure, I flew over to the model in question and gave it a thorough examination, and sure enough, it seems the game loaded the model flawlessly, all faces and textures intact, and the game remained stable. :o
Considering this is the only model I have that currently possesses greater than 2048 triangles, I'm unable to try a second one and see if the results are the same, but it seems just from this that CE is capable of bypassing the usual triangle limit! Meaning we can, in theory, now import higher-poly models to the game without using shanty tricks like sub-models and all that jazz. Of course having too many high-poly models will likely lag the game pretty heavily, but in my experience it takes a LOT of polys rendered at once to really bog CE down below 30 FPS on a good computer.
Is there anyone else who can help confirm this breakthrough in Trespassing?

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
PostPosted: Thu Mar 09, 2017 6:52 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 4761
Location: That country nobody likes (you know the one)
Lee must have upped the value. It's been a long time since I looked at the source code, but I'd assume that it was simply
a static value and not relying on some complex mathematical formula. Then, again.... That source code gave me a damn
headache. :lol:


Top
 Profile  
 
PostPosted: Fri Mar 10, 2017 2:11 am 
Offline
-=TresCom Website Manager=-
-=TresCom Website Manager=-
User avatar

Joined: Fri Jun 24, 2005 9:40 pm
Posts: 3250
Location: Sweden
Lee fixed so objects with more than 2048 triangles don't crash the level. AFAIK he said it he couldn't say those objects would load and show properly, but they shouldn't crash a level anymore.

_________________
"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."

"The main laboratory and administrative buildings. This is where we made our work, where the real magic trick happen. When they are in need of height fixing, they'll come here." - Hammond


Top
 Profile  
 
PostPosted: Fri Mar 10, 2017 2:36 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Mon Dec 06, 2004 5:21 pm
Posts: 10734
Location: Portland, OR
Yeah I sorta remember Lee having mentioned that..

Btw, as a test, you could always create a geosphere or something with a ton of polys (and applied texture?) and test it that way.

_________________
Click on Image
(Click on thumbnail for full size)
Image

Image Image T-Script Reference / Trespasser Twilight / JP Dark Secrets / Tres File Box


Top
 Profile  
 
PostPosted: Fri Mar 10, 2017 3:01 am 
Offline
Albertosaurus
Albertosaurus
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2278
Location: Canada, eh?
tatu wrote:
Lee fixed so objects with more than 2048 triangles don't crash the level. AFAIK he said it he couldn't say those objects would load and show properly, but they shouldn't crash a level anymore.

Aah, okay, that's what I thought, but I missed the part about 2048 tri models and seemed to think it applied to all models in general for some reason...well, I can gladly report that said models seem to render correctly after all!

Quote:
Btw, as a test, you could always create a geosphere or something with a ton of polys (and applied texture?) and test it that way.

Derp. Will definitely try that.

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
PostPosted: Wed Aug 16, 2017 2:03 pm 
Offline
Albertosaurus
Albertosaurus
User avatar

Joined: Thu Feb 20, 2014 9:13 pm
Posts: 2278
Location: Canada, eh?
I've tested the triangle limit quite a bit recently, and I think I've got it figured out. It appears CE bumped up and doubled the limit, but did not remove it. I'm able to load models with up to 3072 triangles in CE without an error, but getting near 4096 or going above causes a crash every time. I've tested models in the 2500, 3000, and 3500 poly range and these are all completely stable, though I've only tried it with single instances, so that may not be the case with multiple instances of high-poly models. The highest stable number seems to be around 3500, after that it seems the amount of tris that break the game is somewhere after that.

_________________
Image

My currently active projects:
Return to Jurassic Park: A Trespasser Mod - Forum or ModDB | Trespasser HD: Beach (Released!) / Jungle Road | TheIdiot's release thread


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Sir Jack Of Baidu and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group