Author Topic: Rotating whole populations  (Read 5671 times)

Offline FrankThomas

  • Member
  • *
  • Posts: 158
Rotating whole populations
« on: January 01, 2007, 06:19:56 PM »
is there a way of rotating an entire population through an angle ?

Supposing I have a single line of trees that are heading at 30deg and I want to rotate them 90deg Clockwise - is there a way of doing it without rotating the landscape ?

Offline Irmisato

  • Member
  • *
  • Posts: 18
Re: Rotating whole populations
« Reply #1 on: January 01, 2007, 10:32:16 PM »
Yes, you can.

Click on the Object-Population (for Example /Pop CL02mFir.tgo) to select the population which you want to turn, then look at "Object Maker", there is a Button with three points (...). Here you can select the Object, "go to CL02mFir.tgo". Now you have under "Transform" the possibility of Rotation, and it will rotate only the Population.

Offline swiftstream

  • Member
  • *
  • Posts: 44
Re: Rotating whole populations
« Reply #2 on: January 02, 2007, 04:02:05 AM »
Irmisato's method will rotate each tree individually, but not the whole population as a unit.

AFAIK, this is not currently possible, and Oshyan/JavaJones has said as much as well. You can use a density shader (image overlay or whatever), but other than that I think you are out of luck.

Offline Irmisato

  • Member
  • *
  • Posts: 18
Re: Rotating whole populations
« Reply #3 on: January 02, 2007, 10:51:44 AM »
Sorry, I was sure, a had rotated a population, but it was only a hopefull wish...

Offline FrankThomas

  • Member
  • *
  • Posts: 158
Re: Rotating whole populations
« Reply #4 on: January 02, 2007, 06:20:28 PM »
I had a horrible feeling that would be the case - oh well, I'm sure I can get round it somehow
Thanks guys :)

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 12124
  • Holy snagging ducks!
Re: Rotating whole populations
« Reply #5 on: January 04, 2007, 05:51:43 AM »
Correct, rotating a population is not currently possible. This should be supported in the future.

- Oshyan

Offline JimB

  • Member
  • *
  • Posts: 601
Re: Rotating whole populations
« Reply #6 on: January 04, 2007, 08:37:46 AM »
Can you use an Image Map Shader to control density of a population instead? Create a rectangle in a larger square in a graphics app, and use that as your Image Map texture controlling the density of the population. If you want to change the rotation then rotate the rectangle within the square in your graphics app, and that should change the population rotation in TG2? Not tried it, but it might be worth worth giving it a shot.
Some bits and bobs
The Galileo Fallacy, 'Argumentum ad Galileus':
"They laughed at Galileo. They're laughing at me. Therefore I am the next Galileo."

Nope. Galileo was right for the simpler reason that he was right.

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 12124
  • Holy snagging ducks!
Re: Rotating whole populations
« Reply #7 on: January 05, 2007, 12:36:27 AM »
That would more or less work but it's not the same as rotating the population of course. Doing that ought (in theory) to rotate all objects with it, and maintain absolute instance distribution. Whereas rotating an image map won't. Dependin gon how much accuracy is desired it should be fine though.

- Oshyan

Offline FrankThomas

  • Member
  • *
  • Posts: 158
Re: Rotating whole populations
« Reply #8 on: January 05, 2007, 01:25:05 AM »
I'll give that a try then - currently messing round with power fractal shaders as the colour input to a surface shader to try and get better looking grassy fields - I think I might have cracked it :)

Offline JimB

  • Member
  • *
  • Posts: 601
Re: Rotating whole populations
« Reply #9 on: January 05, 2007, 02:58:46 AM »
That would more or less work but it's not the same as rotating the population of course. Doing that ought (in theory) to rotate all objects with it, and maintain absolute instance distribution. Whereas rotating an image map won't. Dependin gon how much accuracy is desired it should be fine though.

The decider would be if you want distribution based on slope, altitude, etc, or if you want the exact pattern. I'd personally opt for the former for more realism, if we're talking about, say, trees.
Some bits and bobs
The Galileo Fallacy, 'Argumentum ad Galileus':
"They laughed at Galileo. They're laughing at me. Therefore I am the next Galileo."

Nope. Galileo was right for the simpler reason that he was right.

Offline Kranky

  • Member
  • *
  • Posts: 88
    • My website
Re: Rotating whole populations
« Reply #10 on: April 19, 2009, 12:45:59 PM »
I need to rotate a population, too (rock population on disc for planetary rings, which I'm trying to animate). Is it possible to rotate the population with functions? Or is it still impossible / does nobody knows, how to do that?

Offline buzzzzz1

  • Member
  • *
  • Posts: 569
Re: Rotating whole populations
« Reply #11 on: April 19, 2009, 12:56:12 PM »
Not sure if it would work but here's a Tutorial for rotating terrains  http://en.tgblog.de/?p=29  Might also work with Populations? Just a thought.
XFX 750i SLI  nFORCE Mobo
Intel Core2 Duo E8400 3.00 GHz Wolfdale
8 Gig Corsair DDR2 6400
Nvidia GForce 9600 GSO 768 MB
XP Pro 64 bit OS

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 12124
  • Holy snagging ducks!
Re: Rotating whole populations
« Reply #12 on: April 20, 2009, 03:08:00 AM »
Nothing has changed as far as TG2 functionality in this regard, but there may be workarounds as Buzzzz mentioned.

- Oshyan

Offline Kranky

  • Member
  • *
  • Posts: 88
    • My website
Re: Rotating whole populations
« Reply #13 on: April 20, 2009, 08:12:27 AM »
In the workaround the size of the terrain changes. I think it will be hard to get a smooth rotation of the population around the center.

 

anything