Saloon car 2
saloon-car-2
dresses asset:car
— and nothing else. Appearance is invisible to the drawing set, so adding this changes no
plan, no section and no elevation.
- 44of 500 meshes
- 7slots
- 4finishes
Drag to orbit · scroll to zoom
$frame
$glazing
$hardware:tyre
$hardware:rim
$surface:head
$surface:tail
$hardware:hardware
This definition leaves
$frame and $glazing and $hardware:tyre and $hardware:rim and $surface:head and $surface:tail and $hardware:hardware
open, and a look line fills them. Every combination is one body — same
geometry, same selector, same sheets — so the block below rewrites itself as you pick.
Only materials are slottable: a size would have to agree with the plan, so it stays on
the entity.
Paste this
Every part: the 7 materialdefs the body resolves to, then the definition. Copying the lookdef alone still compiles and still validates — it just renders grey.
{"t":"materialdef","id":"pack-car-glass","of":"glass","value":20,"body":{"type":"MeshPhysicalMaterial","transmission":0.62,"ior":1.46,"thickness":0.02}}
{"t":"materialdef","id":"pack-car-graphite","of":"car-paint","value":20,"accent":"#33383d","body":{"type":"MeshPhysicalMaterial"}}
{"t":"materialdef","id":"pack-car-silver","of":"car-paint","value":72,"accent":"#c3c8ce","body":{"type":"MeshPhysicalMaterial"}}
{"t":"materialdef","id":"pack-head-lamp","of":"paint","value":92,"accent":"#fdf6de","body":{"emissive":"#fdf6de","emissiveIntensity":1.6,"roughness":0.2}}
{"t":"materialdef","id":"pack-tail-lamp","of":"paint","value":20,"accent":"#8d2a24","body":{"emissive":"#a32a20","emissiveIntensity":1.1,"roughness":0.3}}
{"t":"materialdef","id":"pal-steel","of":"steel","value":72}
{"t":"materialdef","id":"pal-steel-dark","of":"steel","value":20}
{"t":"lookdef","id":"saloon-car-2","for":"asset:car","desc":"Four-door saloon car with a conventional three-box profile.","slots":{"frame":"pack-car-silver","glazing":"pack-car-glass","hardware:tyre":"pal-steel-dark","hardware:rim":"pal-steel","surface:head":"pack-head-lamp","surface:tail":"pack-tail-lamp","hardware:hardware":"pack-car-graphite"},"note":"Mid-size saloon, 1.84 x 4.68 x 1.46 m. Glass greenhouse with a painted roof panel over it, so the cabin reads as windows rather than as a second block.","body":{"type":"Group","children":[{"type":"Mesh","material":"$hardware:tyre","geometry":{"type":"TorusGeometry","radius":0.1692,"tube":0.0658,"radialSegments":16,"tubularSegments":28,"arc":6.283185307179586},"position":[-0.78,0.235,-0.45]},{"type":"Mesh","material":"$hardware:rim","geometry":{"type":"CylinderGeometry","radiusTop":0.1316,"radiusBottom":0.1316,"height":0.12,"radialSegments":24},"position":[-0.78,0.235,-0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"CylinderGeometry","radiusTop":0.0376,"radiusBottom":0.0376,"height":0.126,"radialSegments":24},"position":[-0.78,0.235,-0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:tyre","geometry":{"type":"TorusGeometry","radius":0.1692,"tube":0.0658,"radialSegments":16,"tubularSegments":28,"arc":6.283185307179586},"position":[-0.78,0.235,0.45]},{"type":"Mesh","material":"$hardware:rim","geometry":{"type":"CylinderGeometry","radiusTop":0.1316,"radiusBottom":0.1316,"height":0.12,"radialSegments":24},"position":[-0.78,0.235,0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"CylinderGeometry","radiusTop":0.0376,"radiusBottom":0.0376,"height":0.126,"radialSegments":24},"position":[-0.78,0.235,0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:tyre","geometry":{"type":"TorusGeometry","radius":0.1692,"tube":0.0658,"radialSegments":16,"tubularSegments":28,"arc":6.283185307179586},"position":[0.76,0.235,-0.45]},{"type":"Mesh","material":"$hardware:rim","geometry":{"type":"CylinderGeometry","radiusTop":0.1316,"radiusBottom":0.1316,"height":0.12,"radialSegments":24},"position":[0.76,0.235,-0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"CylinderGeometry","radiusTop":0.0376,"radiusBottom":0.0376,"height":0.126,"radialSegments":24},"position":[0.76,0.235,-0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:tyre","geometry":{"type":"TorusGeometry","radius":0.1692,"tube":0.0658,"radialSegments":16,"tubularSegments":28,"arc":6.283185307179586},"position":[0.76,0.235,0.45]},{"type":"Mesh","material":"$hardware:rim","geometry":{"type":"CylinderGeometry","radiusTop":0.1316,"radiusBottom":0.1316,"height":0.12,"radialSegments":24},"position":[0.76,0.235,0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"CylinderGeometry","radiusTop":0.0376,"radiusBottom":0.0376,"height":0.126,"radialSegments":24},"position":[0.76,0.235,0.45],"rotation":[1.5707963267948966,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"ExtrudeGeometry","profile":[[-1.28,0.16],[-1.25,0.4],[-1.12,0.54],[-0.72,0.62],[0.48,0.6],[1.08,0.52],[1.26,0.38],[1.23,0.16]],"depth":0.88,"curveSegments":10,"bevelEnabled":false},"position":[0,0,-0.44]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"ExtrudeGeometry","profile":[[-0.64,0],[-0.38,0.4],[-0.12,0.47],[0.37,0.44],[0.72,0]],"depth":0.74,"curveSegments":10,"bevelEnabled":false},"position":[0,0.59,-0.37]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.045,"height":0.43,"depth":0.035,"radius":0.011,"segments":4},"position":[-0.47,0.82,-0.382],"rotation":[0,0,-0.5]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.045,"height":0.45,"depth":0.035,"radius":0.011,"segments":4},"position":[0.02,0.82,-0.382],"rotation":[0,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.045,"height":0.4,"depth":0.035,"radius":0.011,"segments":4},"position":[0.53,0.8,-0.382],"rotation":[0,0,0.5]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.045,"height":0.43,"depth":0.035,"radius":0.011,"segments":4},"position":[-0.47,0.82,0.382],"rotation":[0,0,-0.5]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.045,"height":0.45,"depth":0.035,"radius":0.011,"segments":4},"position":[0.02,0.82,0.382],"rotation":[0,0,0]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.045,"height":0.4,"depth":0.035,"radius":0.011,"segments":4},"position":[0.53,0.8,0.382],"rotation":[0,0,0.5]},{"type":"Mesh","material":"$frame","geometry":{"type":"TorusGeometry","radius":0.26,"tube":0.026,"radialSegments":16,"tubularSegments":28,"arc":3.141592653589793},"position":[-0.78,0.235,-0.462]},{"type":"Mesh","material":"$frame","geometry":{"type":"TorusGeometry","radius":0.26,"tube":0.026,"radialSegments":16,"tubularSegments":28,"arc":3.141592653589793},"position":[-0.78,0.235,0.462]},{"type":"Mesh","material":"$frame","geometry":{"type":"TorusGeometry","radius":0.26,"tube":0.026,"radialSegments":16,"tubularSegments":28,"arc":3.141592653589793},"position":[0.76,0.235,-0.462]},{"type":"Mesh","material":"$frame","geometry":{"type":"TorusGeometry","radius":0.26,"tube":0.026,"radialSegments":16,"tubularSegments":28,"arc":3.141592653589793},"position":[0.76,0.235,0.462]},{"type":"Mesh","material":"$surface:head","geometry":{"type":"RoundedBoxGeometry","width":0.04,"height":0.04,"depth":0.2,"radius":0.012,"segments":4},"position":[-1.235,0.53,-0.315]},{"type":"Mesh","material":"$surface:tail","geometry":{"type":"RoundedBoxGeometry","width":0.04,"height":0.075,"depth":0.18,"radius":0.012,"segments":4},"position":[1.235,0.49,-0.315]},{"type":"Mesh","material":"$surface:head","geometry":{"type":"RoundedBoxGeometry","width":0.04,"height":0.04,"depth":0.2,"radius":0.012,"segments":4},"position":[-1.235,0.53,0.315]},{"type":"Mesh","material":"$surface:tail","geometry":{"type":"RoundedBoxGeometry","width":0.04,"height":0.075,"depth":0.18,"radius":0.012,"segments":4},"position":[1.235,0.49,0.315]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.04,"height":0.12,"depth":0.62,"radius":0.01,"segments":4},"position":[-1.27,0.36,0]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.04,"height":0.055,"depth":0.68,"radius":0.01,"segments":4},"position":[-1.275,0.25,0]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":1.52,"height":0.022,"depth":0.018,"radius":0.006,"segments":4},"position":[0.02,0.56,-0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.018,"height":0.29,"depth":0.018,"radius":0.005,"segments":4},"position":[-0.18,0.43,-0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.018,"height":0.29,"depth":0.018,"radius":0.005,"segments":4},"position":[0.43,0.43,-0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.11,"height":0.018,"depth":0.025,"radius":0.005,"segments":4},"position":[-0.29,0.61,-0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.11,"height":0.018,"depth":0.025,"radius":0.005,"segments":4},"position":[0.32,0.61,-0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":1.52,"height":0.022,"depth":0.018,"radius":0.006,"segments":4},"position":[0.02,0.56,0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.018,"height":0.29,"depth":0.018,"radius":0.005,"segments":4},"position":[-0.18,0.43,0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.018,"height":0.29,"depth":0.018,"radius":0.005,"segments":4},"position":[0.43,0.43,0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.11,"height":0.018,"depth":0.025,"radius":0.005,"segments":4},"position":[-0.29,0.61,0.452]},{"type":"Mesh","material":"$hardware:hardware","geometry":{"type":"RoundedBoxGeometry","width":0.11,"height":0.018,"depth":0.025,"radius":0.005,"segments":4},"position":[0.32,0.61,0.452]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.16,"height":0.07,"depth":0.11,"radius":0.025,"segments":4},"position":[-0.48,0.79,-0.47]},{"type":"Mesh","material":"$frame","geometry":{"type":"RoundedBoxGeometry","width":0.16,"height":0.07,"depth":0.11,"radius":0.025,"segments":4},"position":[-0.48,0.79,0.47]},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.38,1.01,-0.39],[-0.05,1.08,-0.39],[0.37,1.03,-0.39]],"radius":0.022,"radialSegments":8,"tubularSegments":16}},{"type":"Mesh","material":"$frame","geometry":{"type":"TubeGeometry","path":[[-0.38,1.01,0.39],[-0.05,1.08,0.39],[0.37,1.03,0.39]],"radius":0.022,"radialSegments":8,"tubularSegments":16}}]},"preview":{"projection":"perspective","azimuth":55,"elevation":13,"fov":29,"margin":1.02}}
Or take the whole pack, which brings every entry and every material at once:
cat packs/parking.ndjson model.ndjson > dressed.ndjson
Download parking pack
53 KB · NDJSON ↓
The 4 finishes this pack ships
Combinations the pack author curated, rendered under one light and one camera because a comparison needs everything but the variable held still. Pick one to load it above — or mix your own with the slot controls.