Sketchup

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
Sypher_5
Engineer
Engineer
Posts: 3
Joined: 03 May 2006 01:23
Location: New Zealand
Contact:

Sketchup

Post by Sypher_5 »

Now that there's a free version of Sketchup released by Google I was wondering what the Camera ISO angles are for TT. I'm investigating what camera controls in Sketchup are available to see how compatible it would be.

Thanks for any help.
User avatar
CharlieMTA
Engineer
Engineer
Posts: 100
Joined: 09 Nov 2005 01:57
Location: Boston, MA

Post by CharlieMTA »

download this Ruby script:
http://amazone.crai.archi.fr/Ruby/EM%5C ... ameters.rb

Set the model units to metric
Go to Camera->Toggle OFF perspective, this is important
Go to Camera->Target (an option added by the script) and set the position values as follows
20, -20, 16.3
The target should be the origin at 0,0,0
Focal angle doesn't matter

The produced images, with 3rd party textures are suitable for OTTD, or if you use color by layer /materials set to the TTD palette you can do TTDP buildings with some resizing, pallette adjustment (photoshop works best to avoid dithering problems), and some recoloring to recover any lost details.
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

If blender would be under it I would really love it :)
Attachments
surely_not_the_right_way.png
surely_not_the_right_way.png (1.47 KiB) Viewed 4177 times
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

You have to adjust the origin of the light, Oskar. The perspective seems rather fair tbh.
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Atleast the google version doesn't allow* you to change the sun, you can change the day time, but that doesn't help much... it still wrong...

* or atleast I can't find it...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
CharlieMTA
Engineer
Engineer
Posts: 100
Joined: 09 Nov 2005 01:57
Location: Boston, MA

Post by CharlieMTA »

Location and setting the position of the sun is under the window->model info->location tab. Tick on show in model and select will allow you to set the angle of the sun direction wise while the geographic location will set the sun's height in the sky.
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Post by AndersI »

You must activate shadows to be able to adjust the light direction.
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Well, I would if I could: (PS: Consindering the groups it seems to only work in the pro version, look here)

Or in other words, like exporting they want you to buy the pro version... any other software compareing like this?
Attachments
sketchup_location_missing.png
sketchup_location_missing.png (9.58 KiB) Viewed 4018 times
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
Ramshill
Engineer
Engineer
Posts: 92
Joined: 25 Jan 2006 16:06
Location: England UK
Contact:

Post by Ramshill »

I maybe old but at least I'm not dead (yet).
OK! I admit it I AM dead (from the neck up)
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Post by AndersI »

Activate all toolbars, klick the shadow box (circled red i picture below), adjust month and time to match your preferred light direction.
Attachments
Image1.png
Image1.png (63.31 KiB) Viewed 594 times
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Sure sure, you rotated the camera, I guess I will rotate the model and the camera:

-20
20
16.5

That way it should be possible to adjust the camera with the tool you showed to fit to TTDs setup.
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
AndersI
Tycoon
Tycoon
Posts: 1732
Joined: 19 Apr 2004 20:09
Location: Sweden
Contact:

Post by AndersI »

Yes, you have to turn the model around because the TTD lighting model is for the southern hemisphere (or the TTD map has south upwards).
User avatar
CharlieMTA
Engineer
Engineer
Posts: 100
Joined: 09 Nov 2005 01:57
Location: Boston, MA

Post by CharlieMTA »

Almost forgot go into view->rendering and shut off profile edges

Then it is a personal preference for the appearence but also tick off display edges OR go into window->display settings and change edge color from All Same to By Material

Otherwise your image will have thick black lines around the corners and details when you shrink the exported images to fit TTD scale and go into indexed color.
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Output:
Attachments
house_test4_ttd.png
house_test4_ttd.png (1.59 KiB) Viewed 3843 times
house_test4_full.png
house_test4_full.png (410.37 KiB) Viewed 3843 times
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
CharlieMTA
Engineer
Engineer
Posts: 100
Joined: 09 Nov 2005 01:57
Location: Boston, MA

Post by CharlieMTA »

Providence and Boston station in the US development thread shows off some sketchup work if anyone is interested.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot] and 23 guests