To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12936
  Seemingly insane poly counts in official games - how?
 
Hi y'all, I'm just curious if anyone knows how Lego gets away with their models having studs and tubes and everything in their games? It seems like the poly count would be unplayably ridiculous. -Stefan- (19 years ago, 22-Jun-05, to lugnet.cad, lugnet.games)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) To which game are you referring? All the ones I've seen use surface textures, not actual polygons to simulate studs. Allister (19 years ago, 22-Jun-05, to lugnet.cad)
 
  Re: Seemingly insane poly counts in official games - how?
 
For the most part you're right, and that's something I had not realized. However, there are a few instances that I've seen in Lego Island, Island 2, where an ingame model actually has studs. Lately of course, there is the new SW game: (URL) So I (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) I'm guessing it is because each in game object is a single instanced mesh that has been severely optimised rather than a collection of individual part and subpart meshes that are all being drawn regardless of whether they are visible or not (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) Hi Stefan, My guess is that the studs are a special primitive which is just attached as a bitmap. A cylinder is very quick to render and so a simple routine to map an angle to a cone bitmap which is then added in the right place wouldn't be (...) (19 years ago, 22-Jun-05, to lugnet.cad)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) Well, you're partially right, but the amount of polys per model would still be ridicilous (sp?) due to the tubes and studs still existent on the top and bottom. (URL) (...) That is an interesting idea. For BrickSpace, the game mod I'm making, (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) I hadn't thought of that. So the studs don't quite exist, the game engine just knows where to draw them, right? Indeed, the studs don't seem to cast shadows, though they are shaded. -Stefan- (19 years ago, 22-Jun-05, to lugnet.cad)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) IIRC someone did do a mod to Simcity that turned the buildings into LEGO ones. I remember that simcity came with its own building designer, but IIRC these were somehow imported from LDraw. (I'm NOT a techie guy, and you know that, so forget (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) One way to do this would be project rays through a model, selecting rays with random angles. Keep track of which polygons in the model initially (and finally) intersect the ray -- these polygons are visible. Repeat this process for enough (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) Hmm, How many poly's in that model? and what game is it a mod for? Balancing poly budgets in games is a non-trivial problem, how you do it is very dependant on the game, how many instances of a model is the game expected to render at once? how (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) Yeah, I considered that, The other way I thought of doing it is to create some sort of projection volume for each tri (Basically the halfspace stretching from the front face of the tri out to infinity), then clip that by the other tri's in the (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
--SNIP-- (...) The shading and drawing could be done only once per angle (three total in the picture you gave before). Since the shading depends only on the relative angle of the stud and light-source all you'd need do is pass the nearest light (...) (19 years ago, 22-Jun-05, to lugnet.cad)
 
  Re: Seemingly insane poly counts in official games - how?
 
That woulda been cool to see. Unfortunately, the models in simcity are actually just image files, iirc. Thus there are no polys. -Stefan- (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) Actually, Homeworld does exactly that. I've yet to finish texturing the first batch of 28 or 30 ships, afterwards I'll LOD em. This is my first mod, so I was unsure what the poly count guidelines should be, since I want to keep the amount of (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
If you were to couple those routines with the script available here, and Blender's power: (2 URLs) You would have a relatively easy way to make CG Lego sequences. It could lead to some really cool stuff, perhaps more things in the vein of the (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
(...) Sorry to reply to myself but I remembered (after posting) that I had the demo for the SW Lego game. I took a screenshot of the explosion at the start and am almost certain I'm correct. Looking here (URL) you can see that the studs are (...) (19 years ago, 22-Jun-05, to lugnet.cad, FTX)
 
  Re: Seemingly insane poly counts in official games - how?
 
I am wondering whether you could do this: Pass a plane through a model along the X axis. Keep track of which polys intersect the plane. If these intersections then intersect with each other, they will form 2D shapes on the plane. If any of these (...) (19 years ago, 7-Jul-05, to lugnet.cad)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR