POST
|
🙂 he he he, it works beautifully 🙂 Thanks Matt. Let me try and explain what I'm up to. Our architectural company does a few animations now and again for larger rail infrastructure projects. we do animations like this: https://www.youtube.com/watch?v=tYBezHzobFk Since we didn't know of cityengine and its amazing features and support staff we modeled every building in sketchup, we modeled every road by tracing it in CAD and then extruding in sketchp, took a lot of time and result was average. SOmetimes we just used Googlemaps image since we ran out of time. Before we get another large animation project like this, I am experimenting with cityengine to see if we can get similar or better city modeling. My experiment so far has been promising but lack of coding knowledge and lack of knowledge of all possible functions that the program can use is limiting me in my experiments. So far, with your help I have this: [ATTACH=CONFIG]34828[/ATTACH] Question 1- Building is split into Inside and Base. Is there a way to remove Base (marked in yellow color) or at least join it with Garden? I can always make it same texture and just leave as it is, just trying to conserve polygons 🙂 Question 2- Right now my random offset for front and back garden is the same due to the formula I'm using. Is there a way to have one random element for front and another set of random values for back garden? I tried and failed. This is so close to what we need it for it is ridiculous 🙂
... View more
06-23-2014
05:11 PM
|
0
|
0
|
806
|
POST
|
Hi matt, Do I use comp(f) on my Building part of the Lot or on the original Lot before splitting? If I use it to replace the "extrude Building" formula all I get is this: [ATTACH=CONFIG]34807[/ATTACH] This is what I did for Lot: Lot -->
setback(rand(4,10)) { street.front : Garden | street.back : Garden | remainder : Building }
Garden --> color("#00ff00")
attr BlgOffsetMin = -1
attr BlgOffsetMax = -2.5
attr BlgExtrMin = 3
attr BlgExtrMax = 9
Building-->
offset(rand(BlgOffsetMin, BlgOffsetMax))
comp(f) {inside: extrude(world.y, rand(BlgExtrMin, BlgExtrMax)) | all : extrude(0.1)}
OffsetLot --> comp(f) { inside: Footprint }
Footprint --> extrude(60)
Am I supposed to use the comp(f) on the Lot prior to splitting it into Garden and Building parts?
... View more
06-22-2014
03:44 PM
|
0
|
0
|
806
|
POST
|
Hi Guys, I've used this forum to get this far and I need your help once again. After splittng Lot into Garden (front and back) and Building, I have Building on random offset and extrude, but I don't know how to make area that is not extruded to building height to extrude and match height of the sidewalk and gardens. Any help is appreciated. Lot -->
setback(rand(4,10)) { street.front : Garden | street.back : Garden | remainder : Building }
Garden -->
color("#00ff00")
extrude(0.1)
attr BlgOffsetMin = -1
attr BlgOffsetMax = -2.5
attr BlgExtrMin = 3
attr BlgExtrMax = 9
Building-->
offset(rand(BlgOffsetMin, BlgOffsetMax), inside)
extrude(world.y, rand(BlgExtrMin, BlgExtrMax))
OffsetLot --> comp(f) { inside: Footprint }
Footprint --> extrude(60) [ATTACH=CONFIG]34726[/ATTACH]
... View more
06-19-2014
12:06 AM
|
0
|
5
|
1193
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|