Author Topic: The Tree Thread  (Read 20534 times)

y00tz

  • Autococker
  • Posts: 2742
Re: Tree - 'Proof of concept'
« Reply #60 on: November 18, 2007, 03:43:02 AM »
Sure, to begin:

1. Save 'cmp.txt' (attached in the first post) to your scripts folder in the pball directory.  (this allows for alpha blending)
2. In your models folder, create a new folder call 'cmp', this is short for community model pack
3. (from the zip file attached above) put tree2.skp (skeletal pose file), tree2.skm (mesh), and tree2.skin (texture) and treeskin.tga in to the newly created cmp folder.

Now in a map, create a func_model, set the Key to "model" and the value to "models/cmp/tree2.skm"  (no quotes .. or else it crashes)

Post problems back here.

This reminds me, thanks to jitspoe for some last minute PM exchanges about alpha blending.

I've attached a tire, this works the same way as the tree,  EXCEPT create a folder called tire INSIDE of cmp and dump the contents of the zip in it.  (cmp/tire/*)

Pics:  tire & 2 trees


edit:

ViciouZ pointed out there are few branches, this is correct, outside of a proof, I'd use add two times as many branches at least; unless framerates won't allow it.

I think if I photosource some textures, and triple the branches... we could easily have trees that look like they are from HL2.


edit again:  3rd pic = lots of trees, running on 7600GT (just one) @ 63 celsius 1280x1024, all option at high, roughly 300fps

« Last Edit: November 18, 2007, 07:50:36 PM by y00tz »

Playah

  • 68 Carbine
  • Posts: 485
Re: Tree - 'Proof of concept'
« Reply #61 on: November 19, 2007, 12:43:49 PM »
forest ftw!

QueeNiE

  • 68 Carbine
  • Posts: 435
Re: Tree - 'Proof of concept'
« Reply #62 on: November 19, 2007, 02:23:08 PM »



Uh-oh.  Whats wrong  :-\

Termin8oR

  • Autococker
  • Posts: 1023
Re: Tree - 'Proof of concept'
« Reply #63 on: November 19, 2007, 02:37:45 PM »
Brock, you know what to do with these tree's.
Do it now  :D

y00tz

  • Autococker
  • Posts: 2742
Re: Tree - 'Proof of concept'
« Reply #64 on: November 19, 2007, 02:44:07 PM »
QueeNiE:  Looks fine to me... it just looks unlit, and it's the old texture that I used the airbrush to make...

QueeNiE

  • 68 Carbine
  • Posts: 435
Re: Tree - 'Proof of concept'
« Reply #65 on: November 19, 2007, 02:46:17 PM »
It is lit.  That is a full compile ...  :-\  (Notice the shadows)

So how should I fix this?

y00tz

  • Autococker
  • Posts: 2742
Re: Tree - 'Proof of concept'
« Reply #66 on: November 19, 2007, 02:48:01 PM »
QueeNiE:  I have a feeling it's a lighting issue (I prefer my maps to be dark, with a little lighting ... not ultra-bright with a few shadows), do you mind running the included 'spawninabox' and giving me some screenies?


-y00tz

QueeNiE

  • 68 Carbine
  • Posts: 435
Re: Tree - 'Proof of concept'
« Reply #67 on: November 19, 2007, 02:52:50 PM »


 

y00tz

  • Autococker
  • Posts: 2742
Re: Tree - 'Proof of concept'
« Reply #68 on: November 19, 2007, 02:56:43 PM »
Yep, that's exactly how my first screenshot looks.

You could re-skin it obviously, and redistribute that one with your map, but this model isn't even likely to be included in the cmp... it's just the barebones for some future trees.


QueeNiE

  • 68 Carbine
  • Posts: 435
Re: Tree - 'Proof of concept'
« Reply #69 on: November 19, 2007, 02:59:56 PM »


Alright :-\  keep up the good work though

y00tz

  • Autococker
  • Posts: 2742
Re: Tree - 'Proof of concept'
« Reply #70 on: November 19, 2007, 11:25:01 PM »
Thanks :D 

I've begun work on another new tree with more branches and leaves to look a little better. 

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Tree - 'Proof of concept'
« Reply #71 on: November 20, 2007, 07:20:01 PM »
Maybe something like this would look a little better?  http://www.treegenerator.com/

Edit: Oh, it's not free.  I thought I saw a free one somewhere.

Spook

  • Autococker
  • Posts: 2542
Re: Tree - 'Proof of concept'
« Reply #72 on: November 20, 2007, 07:36:08 PM »
There is, just go to "download treegenerator"

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Tree - 'Proof of concept'
« Reply #73 on: November 20, 2007, 09:09:15 PM »
There is, just go to "download treegenerator"

Quote from: http://www.treegenerator.com/download.htm
You can try TreeGenerator v2.0 for 30 days right now

It's not free.  I think Blender has some sort of plugin or script to generate trees.  I'll see if i can find that link.

Spook

  • Autococker
  • Posts: 2542
Re: Tree - 'Proof of concept'
« Reply #74 on: November 20, 2007, 09:20:20 PM »
Quote
You can try TreeGenerator v2.0 for 30 days right now : TreeGenerator V2.0

TreeGenerator v1.2 is still available for free....

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Tree - 'Proof of concept'
« Reply #75 on: November 20, 2007, 09:25:28 PM »
But that is the old one...

Besides, found the one for blender, complete with tutorial: Link

y00tz

  • Autococker
  • Posts: 2742
Re: Tree - 'Proof of concept'
« Reply #76 on: November 20, 2007, 11:45:41 PM »
I've tried TreeGenerator, programs such as Arbaro, and a few other open-source implementations that I can't recall... the biggest problem is that most of the stuff (Such as the blender tree generator I tried a few months ago) use a .obj format, which blender hates, and won't export as a .smd.  I've tried every work around I can  think of, I have a folder with 15 programs for 3D modeling... some of these are just obscure, but nothing has succeeded in making a .obj become a .skm.


RiMiNi

  • 68 Carbine
  • Posts: 418
Re: Tree - 'Proof of concept'
« Reply #77 on: February 07, 2008, 08:13:37 PM »
not to be criticizing your work yootz, and i know this is an old topic, but isnt the tire model a little small. i jsut play tested it and its sexy adn easy to use. but seems a little small to me. just a little fyi or w.e lol. and do you mind if i use your trees in my map? or is it already a community pack...

EDIT: nvm lol. thats why its called the community model pack ^^ also its nice to see someone doing some modeling in this game considering that the only model for the game before was like the midnight plant.. :-X keep up the good work
« Last Edit: February 07, 2008, 08:57:24 PM by RiMiNi »

y00tz

  • Autococker
  • Posts: 2742
Re: The Tree Thread
« Reply #78 on: February 29, 2008, 12:59:17 AM »
I made a lowpoly palm tree, I just need to make an actual skin for the trunk.


RiMiNi: I didn't see your comments before, my apologies.  The tire looked proportionate compared to bots so I left it :P

There is also a new skin to the tree I posted, if I find it I'll upload it.


Edited:  I found the skin (it's uploaded below) It should make the tree look a lot better for your map RiMiNi, also please not I no longer suck _as_ bad with unwrapping (I seriously just learned how to do it manually) so all my newer trees are cut a lot better (instead of by branch)

-y

Deranged

  • 68 Carbine
  • Posts: 409
Re: The Tree Thread
« Reply #79 on: February 29, 2008, 07:36:20 AM »
if you want to make the trunk look better, do something with this source image :)