Jump to content


Photo

Skybox Trees?

art trees models skybox miniature

5 replies to this topic

#1 jaredmitchell

jaredmitchell

    Member

  • Member
  • PipPip
  • 34 posts

Posted 26 November 2016 - 02:15 PM

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!


  • Anderson likes this

#2 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 11685 posts

Posted 26 November 2016 - 03:21 PM

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.


  • Anderson likes this

#3 jaredmitchell

jaredmitchell

    Member

  • Member
  • PipPip
  • 34 posts

Posted 26 November 2016 - 04:04 PM

Oh, you can scale models? Feel like I should've found that out by now.

 

And yes, I agree about using "noshadows". Thanks for the reminder, especially since I have a rotating light for a lighthouse at the other end.

 

Thank you very much!



#4 Dragofer

Dragofer

    Modeler

  • Member
  • PipPip
  • 440 posts

Posted 26 November 2016 - 07:56 PM

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?
  • jaxa and Anderson like this

#5 jaredmitchell

jaredmitchell

    Member

  • Member
  • PipPip
  • 34 posts

Posted 26 November 2016 - 11:14 PM

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!


  • jaxa, Anderson and Destined like this

#6 VanishedOne

VanishedOne

    Advanced Member

  • Member
  • PipPipPip
  • 719 posts

Posted 27 November 2016 - 10:09 AM

Some of the pine trees use particle leaves, so for the more distant trees you might be able to get away with just placing loads of func_emitters.


Some things I'm repeatedly thinking about...

- louder scream when you're dying




Reply to this topic



  



Also tagged with one or more of these keywords: art, trees, models, skybox, miniature

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users