Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sun Aug 19, 2018 11:48 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Feb 13, 2013 11:45 pm 
Offline
Engineer
Engineer

Joined: Wed Feb 13, 2013 11:27 pm
Posts: 2
Hi All

Been playing Openttd for quite some time now, and i'm loving the new 32bpp graphics. I know there aren't many 32bpp grf's available at present (been using zbase and a few of the others cant remember the ones)

I have quite an advanced knowledge with 3D cad systems, and was wondering if i could create my own 3d models within my cad system then export them as stl files for use in blender. My only problem is i have no idea whatsoever whether this is possible or whether these can be used for the creation of new grf's for use in the game.

Would this be any help to the community as i'm more than willing to create some new trucks, trains, planes, etc. But i'm hesitant to start this as my coding skills and knowledge of grf's is very limited. I have been reading various tutorials regarding the rendering also. But believe this could possibly be done just as effective with the 3D cad environment.

Also just a thought could the 3D models downloaded freely from 3dcadbrowser website be used for the creation of new sprites/models for new 32bpp grf's. I know these would need tweaking slightly but thought this might be route to take. This would probably mean contacting the creator for permission to use of these within new grf's.

Any ways thanks for taking time to read this post, any help or advice/tutor would be gratefully appreciated.

Thanks

Alan


Top
   
PostPosted: Thu Feb 14, 2013 1:48 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5300
Location: The Moon
Welcome to the forums. :)

Mason2214 wrote:
i have no idea whatsoever whether this is possible or whether these can be used for the creation of new grf's for use in the game. [...] But believe this could possibly be done just as effective with the 3D cad environment.


32bpp graphics for OpenTTD, like the 8bpp graphics, are just flat bitmap sprites. How those sprites are created - whether rendered out of blender or another 3d program or hand-drawn - is immaterial. So yes, if your CAD program can create good-looking images, you can export your sprites straight from there.

Turning those sprites into a grf is about as complex as you want it to be - a simple grf with no whizz-bang features is quite easy to write, and you'll find plenty of people around here willing and able to help.

_________________
Pikkarail.com blog | Patreon
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API


Top
   
PostPosted: Thu Feb 14, 2013 2:34 am 
Offline
Tycoon
Tycoon

Joined: Sun Dec 16, 2007 10:24 pm
Posts: 1648
Location: Idaho, USA
If you can render some excellent vehicles/whatnot and export them as images (.png, optimally) with transparent backgrounds, I (and several others) can code them into a working .grf in no time. :)

For instance, several of the vehicles from my Eyecandy Road Vehicles .grf are rendered in Sketchup. 32bpp sprites for them are planned for the near future; I just have to make the time to resize the renders, inspect the pixels, and write a few more lines of code.

_________________
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton


Top
   
PostPosted: Thu Feb 14, 2013 9:06 pm 
Offline
Engineer
Engineer

Joined: Wed Feb 13, 2013 11:27 pm
Posts: 2
Thanks for replying to my post.

I'm in the middle of creating models within the cad environment, so will keep you updated on my progress. However never had any real need to learn rendering with models i have created but im very eager to learn. Do i need my models to be a certain size just i'm currently creating them at full size but not with all details as Openttd doesn't need this level of detail.

Regarding the code writing for grf's, like i said early i have no coding experience at all, so would need either a helping hand along the way.

Do the new grf's use the sound from another part of the software or are they coded into the grf itself.

Is there any tutorial for absolute beginner's as i would like to learn and maybe give some thing back to the community, as i have loved bringing a little of my youth back with Transport Tycoon.

Thx

Alan


Top
   
PostPosted: Thu Feb 14, 2013 9:10 pm 
Offline
Tycoon
Tycoon

Joined: Sun Dec 16, 2007 10:24 pm
Posts: 1648
Location: Idaho, USA
Mason2214 wrote:
Is there any tutorial for absolute beginner's as i would like to learn and maybe give some thing back to the community, as i have loved bringing a little of my youth back with Transport Tycoon.


Yep: http://www.tt-wiki.net/wiki/NMLTutorial

_________________
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects

"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton


Top
   
PostPosted: Thu Feb 14, 2013 9:18 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7089
If you are creating vehicles, they need to have specific sizes. Easiest if you find one of the vehicle templates that are floating out there to compare.

Note that the dimensions in (Open)TTD are a bit tricky, so that vehicles in - or | directions have different proportions than vehicles in / or \ direction, which may require certain magic in your CAD program (or you live with the fact that there may be gaps between your vehicles)

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.