Jump to content

Source engine, use models as buildings.


clankill3r

Recommended Posts

Afaik, Lajron uses models as buildings his de_havana. I think the modeled ones are not enterable tho. But i think there is a modeled building on de_crown in the connecting path which is enterable, but FMP should probably explain that himself :P I'm not sure on that one.

 

For the performance you could set a rendering distance(if possible because of the line of sight).But optimization is kinda bad to do with using models instead of brushes.

Edited by El_Exodus
Link to comment
Share on other sites

It's possible, sure, but it's difficult to get anything that looks very nice because of the way models are lit in Source (except for TF2 after a very recent update, models don't accept lightmaps like brush geometry does). Getting reasonable-looking results typically means that you end up needing more edges (= more verts) in your models which means they become more performance intensive (and there are often still lighting issues, especially when transitioning from bright outdoors to dimly lit indoor areas, like in the case of buildings you can enter). This, in addition to visibility and optimization purposes, is why you usually see a 'base' structure built with brushes and then details added with unique models - the Monastery map is an example of this as many of the interior areas consist of unique models which conform to the brushwork 'frame'.

But technically it works as you might expect; you can model large structures and give them a collision model and this would function just fine (although if I remember right, collision meshes are relatively expensive as well, so you'd probably be better off creating 'collision' out of invisible brushes for big structural models). 

Edited by spence
Link to comment
Share on other sites

 

Also, if prop's origin is in different and in a not-visible vis-leaf to where you are (even if geometry of the building sticks out and is visible), then the prop is not drawn.

 

I don't think it's true, if the bounding box of the props is in a leaf, then it's draw.

 

 

3Dnj is right.

Link to comment
Share on other sites

 

Also, if prop's origin is in different and in a not-visible vis-leaf to where you are (even if geometry of the building sticks out and is visible), then the prop is not drawn.

 

I don't think it's true, if the bounding box of the props is in a leaf, then it's draw.

 

 

Then I mixed it up with something else. Sorry for wrong info!

Link to comment
Share on other sites

Yea good call JP, it has to have unique UV space. 

 

shared UV space doesn't work in csgo either

It doesn't? Does this just cause lighting problems or? 

 

ok nvm, did a quick test and it seems to work.. strange.. last time I had overlapping UVs the texture didn't show up, it acted as if it was missing UVs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Mapcore Supporters

    Our incredible Patreon supporters keep Mapcore's lights on. If you'd like to donate, check out our Patreon announcement.

    Note: This is brand new! The format will be tweaked and rolled out to more pages soon.

×
×
  • Create New...