Tree won't rotate

Tips and discussion about scenery creation for RailWorks.

Tree won't rotate

Unread postby SAR704 » Fri Aug 21, 2015 11:43 pm

I've exported a 2d tree into the sim, with the TrainUprightViewFacingFlora.fx shader, and yet it fails to rotate at all. I checked a file of a Kuju 2d tree which has the shader and works fine, and I couldn't find any real difference with the exported file.

What could I be doing wrong with this file? I'm using 3d Canvas 7.0.2.
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Tree won't rotate

Unread postby Ericmopar » Sat Aug 22, 2015 12:57 am

I'm not an expert in scenery, but I believe there is something in one of the bins that has to be set to always facing the driver.
It's been awhile since I looked so I don't remember exactly where a person finds this.
I would assume the 2D object in question would also have to have a designated "front" for that to work.

This might be the setting in the bin.
<RotateEndGeometry d:type="cDeltaString">eTrue</RotateEndGeometry>

If you have Donner Pass this is a 2D hedge bin you can check out for guidance.
Steam\SteamApps\common\RailWorks\Assets\RSC\DonnerPass\Scenery\Vegetation\Bush_hedgeline01.bin
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2797
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.

Re: Tree won't rotate

Unread postby ex-railwayman » Sat Aug 22, 2015 3:26 am

Hmmm, but, it's 2D, you can't rotate it because it doesn't have a side view like a 3D shape, all you get is a front and a back and that's what you see and it follows you round with the camera, it isn't a static object it moves in symmetry, a 3D will remain static and you can go round it in 360 degrees by default.

Cheerz. ex-railwayman.
i7 10700k 3.8GHz Eight Core CPU, Gigabyte Z590 AORUS ELITE AX, 32GB RAM, nVidia RTX3060ti 8GB, WIN10 PRO 64-bit. 10TB HDDs in total.
ex-railwayman
 
Posts: 1203
Joined: Tue Jun 22, 2010 6:17 pm
Location: Nottingham, England

Re: Tree won't rotate

Unread postby Ericmopar » Sat Aug 22, 2015 2:39 pm

ex-railwayman wrote:Hmmm, but, it's 2D, you can't rotate it because it doesn't have a side view like a 3D shape, all you get is a front and a back and that's what you see and it follows you round with the camera, it isn't a static object it moves in symmetry, a 3D will remain static and you can go round it in 360 degrees by default.

Cheerz. ex-railwayman.

That's just it, he can't get it to rotate with the camera view.
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2797
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.

Re: Tree won't rotate

Unread postby bnsfsubdivision » Sun Aug 23, 2015 2:53 am

This might help you (; http://www.engine-driver.com/article/sh ... g-the-mesh
Another great article from Mike! For a quick tip I'd suggest to check for the right shader: TrainUprightViewFacingFlora.fx
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Tree won't rotate

Unread postby Ericmopar » Sun Aug 23, 2015 5:01 pm

bnsfsubdivision wrote:This might help you (; http://www.engine-driver.com/article/sh ... g-the-mesh
Another great article from Mike! For a quick tip I'd suggest to check for the right shader: TrainUprightViewFacingFlora.fx


He said in his first post, that he was using that shader...
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2797
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 1 guest