POST
|
Hi David I'm back for another question. It's about randomizing map picked up on the same shape. I builded a rule about creating manhole above the street (like roadmark). I made two test maps ( a green and a blue). But they don't mix on the same street. It's one or the other, but never both on the same street. I want to fill this folder with 4 or 5 different manhole texture and then they mix on the same street. Then i will apply the same method to garbage and trash can on sidewalk As I promised, when I finish the first par of my project, we can discuss about improving texture if you need it Bastien
... View more
07-08-2017
02:56 AM
|
0
|
1
|
1541
|
POST
|
1] No it's working. so I think it's ok. 2] commenting setUpProjection being or with tileUV change nothing. BrideSide too. And extrude drain to 1cm is a problem in my case. I can't do this (specification of my project). [EDIT] I just found !!! I commented X. at the end of sidewalk rule. Bastien
... View more
06-27-2017
09:03 AM
|
1
|
1
|
1201
|
POST
|
1]About the texture problem. The code is the same. I just recover the original texture. I changed the dimension to 80192x2048 But i found another solution by reducing the zone. and now it's ok. 2]for the drainage It works but it seems there is a conflict with a shape at the same place. If I extrude (for test) the drainage it's ok. I don't know what this shape is ! Thx Bastien
... View more
06-26-2017
02:24 AM
|
0
|
3
|
1201
|
POST
|
Thx I'll check this. When I apply in some configuration (curves, with bus/cycle lanes etc)... drains have problem. They don't stay at the bottom of the sidewalk Ps : for the sidewalk map... i'ts just a work in progress I did in 5 minutes. Nervermind, because you help a lot, after my project i'll be very happy to make some texture for you
... View more
06-23-2017
07:54 AM
|
1
|
5
|
1201
|
POST
|
Hi David. First Thank you very much. It vas very helpful !!! All my roadmarks are duplicated and translated 1-2cm above asphalt I have just some issues : 1] I modified "lanes_4_stop_word_14x14m.jpg" in photohop... but it's wraped and do not match with the other asphalt textured modified. I keep the resolution on every map. I tried to change UV in LaneMarkings(dir,lanenumber,markings) --> but doesn't work I think there is UV scale/tile problem but can't solve it 2] I added drain (caniveau in fr) between road and sidewalk with : Lanes(dir,stopType) --> split(v,unitSpace,0){0.2:caniveau | {~_Actual_Lane_Width : LaneReporting(dir,split.total,split.index,stopType,"MainLanes")}*} caniveau --> setupProjection(0,scope.xy,~2,'1) texture("assets/Complete_Streets/Lanes/CITY_TIL_ground_caniveau.jpg") tileUV(0,3.5,0.2) deleteUV(_Texture_Switch) But I can't find where I can add them at the crosswalk and between crosswalk and stop line ("2" on the pictures) Thanks again for helping on these two points. regards Bastien
... View more
06-23-2017
03:43 AM
|
0
|
7
|
1037
|
POST
|
Hi David, Here are my progress. (see picture attached) 1) first I can't reduce the A roadmark line width without reduce the B one. So i think i'll use a simple tiled asphalt texture to make it "invisible". If you have another idea const _centerWidth = case oneWay: 0 (...) else:PaintLineWidth*4 #change both A and B line width CenterSpace --> case Center_Type =="Median": (...) else: CenterLineMarkings("double_"+ Centerline_Color ) CenterLineMarkingsUp("double_"+ Centerline_Color ) CenterLineMarkingsUp(tex) --> translate(rel, object, 0, 0.15, 0) (...) 2) Then for the dotline roadmark. Can you tell me the name of the rule where the left/right lane are build ? Can't find it. And i want to use au split then somthing like this : Street --> color(noir) StreetGeometry. # Original shape Dotedline # shape duplicated! Dotedline --> split(u, uvSpace, 0) { 0.5 : PlacementStrip }* PlacementStrip --> split(u,unitSpace,0) {objectDist: NIL | placementWidth : PlacementPoint }* PlacementPoint --> alignScopeToGeometry(yUp, 0) primitiveQuad(1.50,0.20) t(0,0.15,0) center(xz) color(jaune) Thanks Bastien
... View more
06-12-2017
06:53 AM
|
0
|
9
|
1037
|
POST
|
Why do they need to be raised? That was something I am not sure I understand. I texture the road with a nice asphalt texture. Then, I have poly above the road textured with just the white painting and transparency on border. Concerning the rules you gave me : 1) When I adjust "else:PaintLineWidth*4" it's change the width of the red line too I just want to reduce the width of the shape above 2) not tested yet 3) I'm trying actually (with just a cube on a test scene) but sorry I think I d'ont understand. Is it possible to have a simple example ? NEW question 4 is it possible to make something like this : Street --> primitiveQuad(0.20, u of the street*) translate(rel, object, 0, 2, 0) *how to make an independant shape 0.20cm width and along the street length. Then translate 2cm above the street Thank for your help again
... View more
06-08-2017
11:52 AM
|
0
|
11
|
1037
|
POST
|
Thank you, I'll try this. I'm a beginner in CE but I'll try my best. I need this for roadmark because of the realtime engine used. Far distant roadmark appear blurry when they are in the road texture.
... View more
06-08-2017
09:18 AM
|
0
|
13
|
1037
|
POST
|
Ok thank you, it's the idea. See the picture below I think i used your code correctly. Now to complete : 1) is it possible to reduce the Width of the previous centerline space (in light blue on the picture above) ? I need it with asphalt or at least less width to be covered by the center white line (at 2cm up). 2) Is it possible to have the same thing on the 2 edges (green arow) to make the same thing with dotted lines (I'll use a own correct map to texture theses shape after ; first, my priority is to have shape along the road, between ways and above the asphalt) ? Ps : I can't find if is it possible in City engine to clone a shape (then translate it above, on the right way, on the left way etc.) Thank you David
... View more
06-08-2017
02:21 AM
|
0
|
15
|
1037
|
POST
|
Hi, thanks As you can see on my picture (previous project in CAO software) i have to get the roadmark in polygon separate above the road. (only 2-3cm up). roadmark and road are different objects. Like street lamps on side walk. So basically i need to keep the ways structure you write in your rule. but instead of roadmark in the asphalt texture I try to have center line shape and cross walk shape above the street. Below these "flying" roadmark, it's just the asphalt
... View more
06-07-2017
08:10 AM
|
0
|
17
|
1893
|
POST
|
Hi David, First, congratulation for your awesome work. I have a precise question about the roadmark. If i'm not clear (english is not my native language) I can complete with pictures. I need roadmark above (2-3cm) the street. for my visualization I can't have it in the asphalt texture. How can I manage with this for : 1) The ceenter line 2) roadmark line between two ways 3) the crosswalk. I need to keep the shape generated. but have it above the street while my asphalt continue below. Thank you for your reply and your help. Regards Bastien
... View more
06-07-2017
06:07 AM
|
0
|
19
|
1893
|
Title | Kudos | Posted |
---|---|---|
1 | 06-23-2017 07:54 AM | |
1 | 06-27-2017 09:03 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|