Jump to content
The Dark Mod Forums

Skybox Trees?


jaredmitchell

Recommended Posts

Hey there, guys.

 

I'm currently trying to finish up my map, and the last thing I need to do is decorate my 3D skybox to look like a convincing forest. Since I had prior experience using these in the Hammer editor, I didn't think that what was available to use for this feature would be radically different in Radiant.

 

The biggest issue I'm running into right now is a lack of models that are intended for use in the 3D skybox, trees being the most pressing need. I just wanted to double-check: are there any models made for this purpose that I'm not seeing in the directory? And if not, has anyone else found a good solution for this problem? I'm currently using patches to make miniature trees, but they look almost exactly like something a kindergartener would draw.

 

Thank you very much!

  • Like 1
Link to comment
Share on other sites

You could try normal tree models, and scale them down by 16 using this spawnarg on each of them:

 

"rotation" "0.0625 0 0 0 0.0625 0 0 0 0.0625"

 

Once you've done that, you can use the normal DR rotation tools to vary the look.

 

If you have lights in your skybox, you might want to turn off shadows ("noshadows" "1") on each tree.

  • Like 1
Link to comment
Share on other sites

A few remarks on the subject of forest skyboxes:

 

Try what it looks like when there's no ambient light reaching the skybox, you'll get black silhouettes of the trees against the background of the sky. I found that to be much more immersive.

 

You can fill any gaps between trees with easily self-made bushels as per Sotha's Outdoors Recipe.

 

Performance is a factor with this kind of skybox, so it'd be worth trying out the envshot command to turn the complete assembly of forest models into a texture. But I'd only suggest attempting this if you're already comfortable with setting up custom textures in TDM.

 

Otherwise, while downscaling with the rotation spawnarg is viable, it comes with the performance downside that you can't use SEED to merge identical models - SEED would really pay off in a forest skybox. Ideally you'd downscale via a modelling program.(Also note that the rotation hack breaks the collisionmesh and shadowmesh: you can get around this by creating brushes textured with nodrawsolid and shadow as a replacement, if either is needed).

 

Thanks for the reminder, especially since I have a rotating light for a lighthouse at the other end.

Interesting, does your mission have a maritime theme then?

  • Like 2
Link to comment
Share on other sites

Lots of good advice, Dragofer, thank you. That forum post you linked does seem helpful, especially because I found out a method I used to merge levels and 3D skyboxes in Hammer won't work with idTech's skybox camera.

 

Because of the lighthouse, though, a lot of it isn't really applicable, I'm afraid. I've got a rotating light in the skybox, so the player would be able to tell if it was all just a texture. I'm using noshadows on all of these models, as well, so fortunately I don't need to worry about the shadowmesh issue.

 

In terms of performance I actually seem to be doing just as well as before, maybe an average of 2-3 fps lower? I've had the skybox implemented for a while now with a rough terrain patch, so maybe that's why.

 

 

Interesting, does your mission have a maritime theme then?

 

Yes, kinda. The level takes place in a coastal manor that used to be a Hammer church. With the mountainous terrain and pine trees, it's starting to feel really Scandinavian, which I am more than fine with!

  • Like 3
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.

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.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 0 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...