My Blender age is causing game lag

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

My Blender age is causing game lag

Postby Jakuru » Mon Jun 10, 2013 3:19 pm

I have roughly 15,000 verts in my age, all UV mapped and textured. After it's exported to Chronicles causes game lag that is impossible to navigate. I Googled help on this subject and could'nt find the answers I was seaching for. I know I'll find answers with you good folks. I've tried a number of settings in Blender trying to solve this problem with no luck. I'm using Blender 2.49b with PYPRP 1.6 on my Win 7 PC. The strange thing is that my old XP has no lag in game.
User avatar
Jakuru
 
Posts: 20
Joined: Fri Aug 19, 2011 7:51 pm
Location: South Texas

Re: My Blender age is causing game lag

Postby Calena » Mon Jun 10, 2013 4:29 pm

Standard protocol is to count polys, not vertices. I'm going to assume you have less polys than vertices since a poly needs a minimum of three vertices. That is a VERY small age to be getting lag in already. First two culprits to check are how you set up collision and whether or not you have run-time lighting in the age. I'm hypothesizing on what could possibly cause lag in an age that tiny and the only theory I can think of is:

1 - you have triangle mesh collision on everything, plus
2 - you have every material set to utilize in-game lighting, plus
3 - you have a waveset, plus
4 - you have shadows on your avatar, and maybe
5 - there's also something else animated on link-in
OR
6 - you have a 20 year old computer :)

Have you always had the lag or has it started recently? Can you do a trace back and determine when the lag started? Are you saving your builds in increments (a LOT of increments)?

Sorry that I have more questions than answers, but the only way to find a solution is to get to the root cause.
Galatians 2: 20-21

"Don't mess with me today. I have my CAPS LOCK key and I know how to use it!"
User avatar
Calena
 
Posts: 222
Joined: Thu Jan 13, 2011 11:38 am

Re: My Blender age is causing game lag

Postby Jakuru » Mon Jun 10, 2013 4:42 pm

Well I'm using Win 7, 1.5 years old now. I don't have wavesets or shadows yet. Static triangle mesh is set to about 9 objects. Lighting is not a factor at this point yet but there is an animated wheel turning 360 degrees in the distance.
User avatar
Jakuru
 
Posts: 20
Joined: Fri Aug 19, 2011 7:51 pm
Location: South Texas

Re: My Blender age is causing game lag

Postby Tsar Hoikas » Mon Jun 10, 2013 4:46 pm

I think by #2, Calena meant: make sure you turn off SADBUF on all of your materials. This setting causes lots of lag and is on by default.
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: My Blender age is causing game lag

Postby Jakuru » Mon Jun 10, 2013 5:01 pm

Hoikas, turning off Shadbuf for every object worked and the lag has disappeared, thankyou my friend. Also thanks to Calena.
I hope this post helps others with the same problem using Blender.
User avatar
Jakuru
 
Posts: 20
Joined: Fri Aug 19, 2011 7:51 pm
Location: South Texas


Return to Building

Who is online

Users browsing this forum: No registered users and 5 guests