Toyland to legoland conversion[WIP]

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

Do you like the truck?

Yes
40
83%
No
8
17%
 
Total votes: 48

User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

Toyland to legoland conversion[WIP]

Post by Killer 11 »

2005.03.13
This set is now in progress and we need artists and coders and especialy aydan for rendering of lego models regular artis can do stuff to just post a message that showl include information of what will you do:
Drawing, Modeling, Rendering, Coding, Hosting of thew project site, etc.
This set is a TC(total conversion) so it will include lots of diferent stuff so you are free to contribute enything.



2005.03.11
I was thinking quite long and now when Aydan showed us that Povray can make things in ttd pallete too i remmembered that Ldraw(lego building program) files can be easily converted to Povray format and i decided to make a test car, a bulk cargo truck(coal iron ore etc.) i will post some pics and if Aydan will say yes then i will give him the .pov file and he will show us a lego car in ttd mode :)

The bulk cargo truck:
Attachments
Back side of the truck where THE GENERIC BULK CARGO OF DOOM(tm) can be loaded
Back side of the truck where THE GENERIC BULK CARGO OF DOOM(tm) can be loaded
back.png (85.14 KiB) Viewed 833 times
Doesn't this look like Coca Cola caravan :)
Doesn't this look like Coca Cola caravan :)
side.png (75.08 KiB) Viewed 866 times
Front-side shot
Front-side shot
front-side.png (105.39 KiB) Viewed 968 times
Last edited by Killer 11 on 13 Mar 2005 16:27, edited 1 time in total.
BobDendry
Tycoon
Tycoon
Posts: 2215
Joined: 06 May 2004 09:10
Location: Sydney

Post by BobDendry »

heck, I'm all for having a lego TRAIN set. We could base it off the various locos lego has released over the years
Formerly known as Lachie
User avatar
Aegir
Tycoon
Tycoon
Posts: 2883
Joined: 09 Feb 2004 10:02
Contact:

Post by Aegir »

Hey, why not turn it ALL into lego?

Great idea :lol: .
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
BobDendry
Tycoon
Tycoon
Posts: 2215
Joined: 06 May 2004 09:10
Location: Sydney

Post by BobDendry »

lol actually not bad an idea at all
Formerly known as Lachie
User avatar
Aegir
Tycoon
Tycoon
Posts: 2883
Joined: 09 Feb 2004 10:02
Contact:

Post by Aegir »

Indeed, if so I might have to 'aquire' this lego creator program.

EDIT: Ldraw, not Lego-creator. And Im downloading it now.
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
Singaporekid
Tycoon
Tycoon
Posts: 1966
Joined: 21 May 2004 07:39
Location: Singapore

Post by Singaporekid »

Looks cool
I wanna help too!
<+Raichase> ugh, I just ate some of my beard D:
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Did you already try to make a LEGO car in TTD's scale? Because I think it's way too small :!:
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

Post by Killer 11 »

to help you need:
To know how to model things in Ldraw,
or
Have good expierience in Povray,
or
You must be able to draw lego stuff,
Also we will need people to make up some stats and people who could count sizes in metters for the lego stuff in ldraw so it will be correctly scaled in povray rendering.

You know Povray can render 3d objects in ttd pallete and can use these lego models too so it fits best.
The best way to get Povray bundled with Ldraw and convertion and opengl wievers is to download ldraw tools installer(win98 and above)

BTW here's a powray shot but in normal colors and not in ttd view:
and also i add it with changed pallete(jasc ps8)
Attachments
TTD pall
TTD pall
TruckinTTD pallete.png (35.83 KiB) Viewed 6046 times
24bit
24bit
Truckin24bit.png (168.24 KiB) Viewed 6048 times
User avatar
Aegir
Tycoon
Tycoon
Posts: 2883
Joined: 09 Feb 2004 10:02
Contact:

Post by Aegir »

Got all of that, I had a little toy around with the app, Ill make a few vehicles in real lego then make some digital clones in the right colors.

Well, I *may* do that, I have other things to do aswell.
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Can Povray render in isometric view too?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

Post by Killer 11 »

yes you only have to set camera angles for that.
and i tried to make my car ttd size but not in povray but in Ldview but becouse lighting in Ldview just sucks it came out kinda flat but all details visible.
Singaporekid
Tycoon
Tycoon
Posts: 1966
Joined: 21 May 2004 07:39
Location: Singapore

Post by Singaporekid »

Can we draw them instead of rendering them?
I think it'll be faster
<+Raichase> ugh, I just ate some of my beard D:
User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

Post by Killer 11 »

yes you can
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Singaporekid wrote:Can we draw them instead of rendering them?
I think it'll be faster
That'll probably be better, when drawing you can draw any detail you wish, while with 3D rendering some details are probably too small for 1 pixel
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Aydan
Traffic Manager
Traffic Manager
Posts: 199
Joined: 28 Feb 2003 14:49
Location: Germany

Post by Aydan »

I'm not rendering in TTD palette directly. For that I use PSP.
I tender the pics as 24Bit tga and then apply the palette.

For rendering i use orthographic camera and the following stuff:

Code: Select all

#ifndef (TTD_inc)
  #declare TTD_inc=true;
  
  #macro TTD(o,w) // pass object and spacing (i use 1.2 normally) to this macro and it will place all the views appropriately in a row
    union{
      #local i=0;
      #while (i<8)
        object{o 
          rotate y*i*45
          rotate -z*30
          //scale <.5,1,1> 
          translate (3.5-i)*z*w}
        #local i=i+1;
      #end
    }
  #end
  
  #macro Tiles(w) //with this macro you can create reference tiles
    union{
      #local i=0;
      #while (i<8)
        box{<1,.001,1>,<-1,0,-1> scale .5
          rotate y*45
          rotate -z*30
          //scale <.5,1,1> 
          translate (3.5-i)*z*w}
        #local i=i+1;
      #end
      pigment{color Green}
    }
  #end    
  
  #declare TTD_BG=Blue;
  #declare CC_0=rgb <100,172,224>/255;
  #declare CC_1=rgb <72,152,216>/255;
  #declare CC_2=rgb <56,120,188>/255;
  #declare CC_3=rgb <40,92,164>/255;
  #declare CC_4=rgb <28,68,140>/255;
  #declare CC_5=rgb <20,52,124>/255;
  #declare CC_6=rgb <12,36,104>/255;
  #declare CC_7=rgb <8,24,88>/255;
#end
that's my basic TTD scene:

Code: Select all

#version 3.5;

#include "colors.inc"
#include "transforms.inc"
#include "TTD.inc"

global_settings {
  assumed_gamma 1.0
}

// ----------------------------------------

#declare zoom=1; //standard zoom for 1:1 renders
//#declare zoom=10; //use this line to resize render for details
#declare base=<0,0,0>;
//#declare base=<0,1,1>; //used to focus on certain location
#declare v_pitch=sqrt(.5*.5*2); //vertical tile spacing
#declare TTD_multi=2.206875; //zoom multiplier so the output has exact TTD size (1 by 1 unit equals 1 tile)

camera{
  orthographic
  location <50,0,0>+base    // position & direction of view
  look_at  <0,0,0>+base
  right 1/zoom*y*image_width*TTD_multi/100            // horizontal size of view
  up 1/zoom*z*image_height*TTD_multi/100               // vertical size of view
  scale 1
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>*1.3  // light's color
  translate <300, 300, -300>
  //shadowless
}

// ----------------------------------------

sky_sphere {
  pigment {
    color Blue
  }
}

//here goes your object
/*
#declare o=object{somethinorother scale ...}
object{TTD(o,1.2) [translate ...]}
*/
have fun
Aydan
Traffic Manager
Traffic Manager
Posts: 199
Joined: 28 Feb 2003 14:49
Location: Germany

Post by Aydan »

Here's he truck. it doesn't come out too well, since it's rather detailed. The size seems about right though.
Attachments
lego.png
lego.png (3.97 KiB) Viewed 5949 times
Aydan
Traffic Manager
Traffic Manager
Posts: 199
Joined: 28 Feb 2003 14:49
Location: Germany

Post by Aydan »

This one is 50% bigger. I had a look at the original vehicles and this size fits better.
Attachments
lego.png
lego.png (6.03 KiB) Viewed 5939 times
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

well, it could use some shading... although it is a toyland / lego vehicle :?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Aydan
Traffic Manager
Traffic Manager
Posts: 199
Joined: 28 Feb 2003 14:49
Location: Germany

Post by Aydan »

Played around with the lighting some.
Attachments
lego.png
lego.png (5.87 KiB) Viewed 5910 times
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Is that company color blue?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Semrush [Bot] and 21 guests