Forum: Carrara


Subject: Add a textured road to your terrain!

MarkBremmer opened this issue on Dec 16, 2008 · 18 posts


MarkBremmer posted Tue, 16 December 2008 at 1:51 PM

 Hi everyone,

One of the most requested suggestions I get is how to create roads on Carrara terrains that look respectable. Well, now you can see one of the methods that I use over in the Carrara Dark Arts area. 

Just let me know if you have any questions!

Mark






holyforest posted Tue, 16 December 2008 at 3:48 PM

Mark,
Thanks for sharing :)

 
---------------------------------------
Holyforest,
Hundreds of shaders for Carrara


GKDantas posted Tue, 16 December 2008 at 5:02 PM

YEAAAA! You are great Mark!  Thanks!

Follow me at euQfiz Digital




Xerxes0002 posted Tue, 16 December 2008 at 6:22 PM

Thank you!!!


DocMatter posted Wed, 17 December 2008 at 4:23 PM

You're the best, Mark!


bwtr posted Wed, 17 December 2008 at 6:05 PM

Brilliant--as allways!

Thanks Mark.

Brian

bwtr


DocMatter posted Thu, 18 December 2008 at 10:54 AM

Okay...first problem encountered (already!).  Being a complete newbie at Illustrator, I encountered the following problem when applying my new brush to the path.  It applied it at right angles to the path! I've tried to figure out how to fix it, but haven't been able to yet. Any suggestions?

DocMatter posted Thu, 18 December 2008 at 11:25 AM

Never mind... I figured it out!

MarkBremmer posted Thu, 18 December 2008 at 11:30 AM

 Knew you would. ;-)  

I notice that you have kink towards the bottom of the road. This is easy to fix by smoothing the Bezier node. (that's what I was doing to the path in Photoshop but you can do it in Illustrator just as easily)






Thelby posted Fri, 19 December 2008 at 5:21 AM

This is Awesome to know!!! Thanks and
Merry Christmas to you and your family!!!

I would rather be Politically Incorrect,
Then have Politically Correct-Incorrectness!!!


UVDan posted Sat, 20 December 2008 at 3:16 AM Forum Moderator

Will this work in Corel Draw as well as Illustrator?  HMMMMM  I have Quicktime, but the movies are not loading for me.  The VTC movies for C6 Pro play, but not the other tuts like the road tut and the weatherize tut.

Free men do not ask permission to bear arms!!


MarkBremmer posted Sat, 20 December 2008 at 12:38 PM

 Hi UVDan,

I do use the h.264 QT codec so your QT may simply need to be updated. (It's free - http://www.apple.com/quicktime/)

I do know that VTC compresses the movies to the lowest common denominator for video viewing on the Web for obvious reasons. I don't do that. However, I can fit twice as much content with better clarity within the same Megabytes. Ergo, my choice for h.264.  :-P The Web always bites back somehow.

Mark






UVDan posted Sat, 20 December 2008 at 2:16 PM Forum Moderator

I will try to update thanks.

Free men do not ask permission to bear arms!!


DocMatter posted Sun, 21 December 2008 at 9:57 PM

Mark -- I only have Photoshop Elements (which doesn't deal with paths) and Uleads PhotoImpact (which does do paths), so I tried this in Ulead and got the following results.  Yuch! First off, it seems my scale is wrong.  My original terrain texture I exported was 2049 x 2049 (and still was when it came back, as well as the alpha and tex maps).  My World size in Carrara is 1000 x 1000.   I want to scale this to allow me closeups of the car on the road without the fuzzy edges and lines on the roads.  Where is my scaling off? Also, the 'terracing' effect you mentioned in the video is occuring, even though I'm keeping the Terrain Editor window open the entire time I work on the road, alpha and texture maps...and then immediately import them back into Carrara. Do you think its a Ulead problem?

MarkBremmer posted Mon, 22 December 2008 at 8:22 AM

 There is a couple of things that may be going on but I can't tell you for sure. Part of this may be a larger answer than you were looking for. ;-)

  1. before rendering, make sure you engage the subdivision smoothing by checking the box in the upper right hand corner of the terrain modeler and increasing it's division to 2 or 3. Carrara also doesn't like it when you change scale mid project and try to execute methods like this. How you've worked your file is the big unknown for me. 

  2. for the textures, map "density" or pixels per inch/cm is more important than scene size or map pixel size. This is a problem that is artfully managed in most TV and movie studios by deft camera moves and transitions with clouds or fade through on objects. Creating a one-size-fits-all texture map suitable to close ups and long shots is tough to do because creating enough pixels for the close up creates massive texture files that render slow. But you can try.

So here is what the math looks like - i'll use round  numbers to make things easy on my soft brain. Screen resolution is usually 72 pixels per inch but let's pretend that its 100 pixels per inch. Now, if  your terrain is 1000 pixels wide and you make your texture map 1000 pixels also. This means that we can't bring the camera in any closer than a view showing more than 1/10 of the texture map in the closest portion of the render (left to right). If we do, than it starts to pixelate and break up into squares upon render because of the resolution of the map. To keep textures clean with painting programs, you need to calculate how close you're bringing the camera in to the scene and adjust your texture maps accordingly. For close ups, it's not unreasonable to need texture maps (if your using our example) 20,000, by 20,000. This is not a smart thing to do for any 3D program because at render time it's going to calculate very slowly because of the sheer size of the texture map. It's also why in CG movies, you'll see an aerial shot followed by a quick cut to a close up that focuses on the vehicle (usually composited) with motion blur  on the background elements to help disguise pixels. 

Special effects, which is what you'd consider this, is both art and science - the art being how to use as few resources as possible and still make it work. Movie studios can do this in certain situations because they'll be running a render farm with 3000 quad core machines - t hat helps a bunch. 

So, you may want to try doubling or tripling  the size of your texture maps and see if that works. If it doesn't, pulling of some post render motion blurring using g-buffers or C7s new multi channel render filters in photoshop if it's a still shot  or your video editing program if this is a motion file. You can also try reorganizing your scene to use a high resolution map up close and low resolution in the distance.






DocMatter posted Mon, 22 December 2008 at 2:52 PM

I know my road texture is a little off-kilter, but I think I'm finally starting to get the hang of this. A 30-day free trial of Illustrator definitely helps!

MarkBremmer posted Tue, 23 December 2008 at 7:08 AM

 Looking better all the time!






ren_mem posted Thu, 25 December 2008 at 1:08 PM

Did you try the free inkscape?

No need to think outside the box....
    Just make it invisible.