No one asked me - Diomede screenshots on whatever - Warning AI Discussion OK

1111214161748

Comments

  • DiomedeDiomede Posts: 15,073

    Thanks, Phil and Stezza.  Until now, I had been loading the figures directly in Carrara, editing the mesh in Carrara, and saving the changed figure.  But that caused problems with autofit (but not with VWD - I love VWD) and the save process took a lot of time and space.  This mehtod is much more efficient for conforming clothes.

  • DartanbeckDartanbeck Posts: 21,187

    Awesome! Here's a link to the start of this wonderful tutorial:

    ► Full Body Morphs for Genesis and Genesis 2 - Carrara to Studio and Back to Carrara

     

  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Carrara's Plant Editor

    I have been playing with the plant editor's expert tab recently.  Thought I would share some of my experience with two very different trees.  I will start with an example of the majestic trees of eastern North America, the red maple.  Later, I will give an example of a broad tree of a savannah, the acacia.  These two are chosen to show how the tree editor can be shown to customize a very tall tree of a dense forest and a shorter broader tree on the plains.  The native content comes with a maple in the objects tab so in some ways this example is superfluous.  However, it is just an exercise for me to learn.  The expert tab allows for customization. 

     

    First, I did some basic background research.  There is plenty of information about tree characteristics available for free on the web.  A free guide from the Pennsylvania state department of agriculture and forestry was extremely helpful.  For this project, I chose the red maple.

    .

    Red maples are abundant in natural woodlands in eastern North America.  They are the most common big tree in many parts of Pennsylvania, typically reaching 80-100 feet tall.  The spread is often about 20% less than the height, or even narrower where trees compete.  When grown as an ornamental tree, the sread may be wider and height less, commonly 40-60 feet tall with a spread of 40 feet.  The overall shape of the tree without competition is a dome shape.   

    .

     

    I also included examples of pictures of its leaves and its bark.  Here are two of the reference images from the web.  I will be going to our arboretum next week to get my own reference pics for textures, but these will do for now.

    .

    aa01 pennsylvania red maple.JPG
    1036 x 636 - 64K
    bb01 reference guide commn trees of PA.JPG
    662 x 840 - 84K
    bb04 paragraph on red maple.JPG
    690 x 997 - 81K
    aa05 red maple leaf.JPG
    1031 x 820 - 88K
    aa06 red maple bark.JPG
    1011 x 828 - 173K
    aa04 red maple reference.JPG
    610 x 818 - 92K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Comparing red maple to acacia.

    In contrast, an acacia tree on a savannah will tend to be shorter and broader than a red maple in a dense woodland.  The acacia tree often has thorns (and vicious ants) to protect itself from herbivores, and its leaves are more needle-like.  Here are some examples to contrast with the red maple above.

     

    aa03 acacia tree reference photo.JPG
    852 x 737 - 94K
    aa07 acacia tree leaves.JPG
    984 x 798 - 110K
    aa08 acacia tree bark.JPG
    999 x 804 - 170K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Reverse engineering the maple leaf that comes with Carrara's native content objects file.

    Ultimately, the workflow requires making a custom plant shape and a custom leaf shape, and perhaps seeds and twigs.  To understand custom leaves, I started a new small sized empty Carrara scene.  I dragged the maple leaf from the objects tab to the scene. I repeated for the maple leaf and bunch object.

     

    First, I noticed that the leaves loaded on the floor, but that their length extended along the X-axis, not the Y.  Also, the hot points are in a strange place.

     

    I selected the maple leaf and entered the modeling room.  The leaf is flat two dimensional with only 1 shading domain.  It has been bent so that it is not perfectly flat.

    I repeated for the leaf and bunch.  It has many shading domains.  It also has the 3D round berries.

     

    aa12 leaves new small scene.JPG
    686 x 317 - 39K
    aa13 load maple and maple bunch notice length is X axis and hot point in odd spot.JPG
    1585 x 918 - 171K
    aa14 maple mesh flat not shading domains.JPG
    1696 x 976 - 141K
    aa15 maple bunch leaves flat but branch berry 3d multiple shading domains.JPG
    1727 x 923 - 152K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Modeling a custom mape leaf

    I deleted the leaves from the objects browser. 

    I inserted a new vertex object.  I loaded one of the reference images using the global tab.  I loaded the reference in the top/bottom camera.  I then used the camera men to view from the top. 

    I used the polyline tool to trace the general shape of the stem and leaf.  I kept it low poly.  I then selected all and used FILL POLYGON.  I then connected vertexes to converted to quads.

    Back in the assemble room, I used modeling in the assemble room to select the entire mesh and rotate so that it lay flat on the floor and extended along the X axis.  Don't know if necessary, but I moved the mesh so that the base of the stem was near 0 0 0. Similarly, the hot point is at 0 0 0.

    I then selected parts of the leaf and pushed in and out so that it was not perfectly flat (so that it would appear in all camera angles).

    Note - we will see later that this leaf has too many polygons.  Just learning for now.

     

    aa16 load maple leaf reerence in global reference.JPG
    1733 x 1021 - 228K
    aa17 polyline tool.JPG
    1006 x 1012 - 128K
    aa20 leaf quads and move to 0 0 0.JPG
    1286 x 806 - 105K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Texturing the leaf

    Ultimately, this will be done with my own pics.  For demonstraiton purposes, I will use a pic from the web.  First, under the operations tab, I entered the uvmapping area and created a simple planar uvmap.  Note - this will not be my final uvmap.  It is just the start until I get the reference image the way I want it.

    Next, under the display tab, I exported the uv template at a desired resolution, higher for foreground (hero) trees, lower for filler trees.

    I loaded the template in my image editor and did an approximat fit of a reference pic.  I didn't worry too much about the details because I will be adjusting the uvmap again in Carrara.  I exported the result from my image editor.

    Back in Carrara, I loaded the new texture template as the leaf's shader.  I then retuned to the modeling room and entered the uvmap area.  I then adjusted the uvs so that the veins of the leaf ended at the long pointy parts of the model.

    Here is a test render.  I saved this leaf as a test leaf as I develop the tree.

     

    aa21 planar mapping.JPG
    1609 x 1001 - 150K
    LeafMapleDiomede1Template.jpg
    1024 x 1024 - 55K
    LeafMapleDiomede1 Map 1 green.jpg
    1024 x 1024 - 306K
    aa26 return exture room and move vertexes.JPG
    1555 x 956 - 183K
    aa28 see veins in middle and stem looks better.JPG
    759 x 592 - 28K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    The leaf is not quite finished.  Ideally, the shader would be adjusted for the bump map, translucency, etc.  I am going to postpone that discussion for now.  This leaf is good enough to finish the plant modeler demonstration. 

     

    NOTE - leaves can also be obtained by using a square with a transparency map applied in the alpha channel of the shader.

    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Back to the pant editor - loading the leaf

    I started a new medium scene.  I inserted two default plants and set them side by side for comparison.  I selected one and entered the modeling room.  The plant editor appeared.  I used the leaf tab to remove the default leaves.  I used the LOAD tab to navigate to my saved custom leaf and load t on the tree.

    Back in the assemble room, I did a test render to compare the default leaves with my custom leaves. 

    I did a second test render with closer focus on the leaves.

     

    Note that you can make 3 or 4 versions of the custom leaf and load them all for some variety.

     

    aa30 plant modeler lea tab remove default leaf use load to navigate to modeled leaf.JPG
    1721 x 889 - 128K
    aa31 compare default tree leaves and new leaf.jpg
    640 x 480 - 43K
    aa32 closer up of leaf on tree.jpg
    640 x 480 - 43K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Default shader for C8.5 Plants - Layers List

     

    To see what is going on with the leaf shader, I selected the plant and entered the shader room.  If you look on the right, there are shader domains for the global (of course), and then broken down to trunk, branch 1, branch 2, and leaf.

    If you look at the shader tree, you can see that the default global shader is a layer list.  The layers correspond to the shading domains.  So, in the absence of applying a custom shader to a domain, the layer list applies.  The layer list applies parametric mapping to the trunk and branches.

     

    For this demonstration, I applied a reference pic of tree bark to the trunk, but not the branches.  I did another test render to compare the custom tree to the default tree.

    And here is a test render closer to the trunk.  I think the trunk looks a lot better than the branches.

    I plan to take my own pics at the arboretum this week.

    aa33 enter shading room for plant see layers list leaf texture already loaded.JPG
    1640 x 1028 - 185K
    aa34 se trunk in layer list is parametric mapping.JPG
    1750 x 1010 - 180K
    aa35 compare to add map for trunk in list.jpg
    640 x 480 - 22K
    aa36 closer on trunk.jpg
    640 x 480 - 39K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    The Tree Editor - Tree Generator Menu (Experts tab) and Shape Menu (Tree Shape Menu)

    The plant editor allows for quite a bit of customization.  It is important to start with the menu for Tree Generator under the experts tab before doing other edits to the tree size and shape.  The reason is that changes to the generator menu will reset other options, which you probably don't want to lose.  The tree generator tab is found in the lower left of the experts tab.  The choices are Centered (default), Hybid, and Ramified. 

    Centered is default.  It creates a tree in which the main trunk is a single pole from which the sub-branches emerge as spokes.  It is most useful for a tree that is tall and narrow.  I will be using this centered option for the red maple.  (note that the defult maple that comes with C8.5 native content is not centered, I think).

     

    A ramified tree allows for a trunk that splits into multiple trunks leaning out to the sides as they ascend.  This is most useful for trees that spread outwards.  I plan to use the ramified option when I do the acacia tree.

    If you use the default Centered generator, then another place to choose the general appearance of the tree is the tree shape tab.  If you choose ramified, then the tree shape menu will be grayed out and cannot be used.  If you choose centered, the tree shape tab has several presets, including spherical, cylindrical, etc. 

    However, you can customize the shape even more by using the custom option.  The custom choice presents a line graph to adjust the spread of the tree in relaiton to the coresponding elevation of the tree.

     

    cc01 centered.JPG
    1639 x 965 - 146K
    cc02 ramified.JPG
    1644 x 940 - 119K
    aa39 tree shape tab drop down menu also has custom with line editor.JPG
    1744 x 994 - 150K
    aa40 line editor wide or narrow.JPG
    1260 x 893 - 112K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Trunk Tab

     

    Tree Size and generation count

    If you look under the viewport of the trunk tab, you will see options for generation and tree size.  I set generation to 3 and tree size to 90 feet.  Red Maples in Pennsylvania are tall.  If you look closely, you can see the little default tree next to the resized custom tree.

     

     

    Width - controls the average width of the trunk - larger is wider

    Decay - controls the rate at which the trunk narrows as it rises.  A number close to 1 will have a constant trunk.  A number close to 0 will have the trunk taper to almost nothing.

    Length - the length of the trunk controls how far up from the ground the trunk is bare before the first branches appear.  Set this low if you want the banches tostart almost immediately.  Set this high if yo want a long stem, if you are making a flower for example.

     

    You can also create curvature for the trunk.  There are two angle controls to affect the direction that the trunk rises.  There is also a curve option.  Here, I created a more interesting trunk by using the angle function to redirect it, but then the curve function to return the direction upwards.  

     

    aa41 trunk editor width decay trunk length length does ground to first branch.JPG
    1711 x 977 - 127K
    aa42 trunk angle fromground then base curve and curve for upper tip is as it says.JPG
    1365 x 850 - 95K
    aa38 compare resized to default now it is giant.jpg
    640 x 480 - 19K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Experts Tab - Branch Array from Trunk

    Under the experts tab, there are side tabs for each generation of branches.  The first generation emanates from the trunk.  The 2nd from the 1st.  The 3rd from the 2nd, and so on. 

    You can use the symmetry options to create a more dense distribution of branches.

    You can use the intermodal length to create larger gaps between branches.

    aa43 distrbution ofbranches phylotaxy brnches around symmetry will give you more 1.JPG
    1324 x 845 - 93K
    aa44 symmetry will give denser branches.JPG
    1400 x 916 - 109K
    aa45 intermodal length empty between branches high number reduce number of branches.JPG
    1373 x 967 - 97K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Experts Tab - branch generation angles

    Use branch angles to control if your tree looks like an evergreen pine with raised branches or a willow with drooping branches.

    The experts tab allows you to adjust each generation of branches similar to the way that the trunk can be altered.  For example, you can control thestart and end angles of a generation of branches.  A start angle of 0 degrees has the branches coming out perpendiular.  A start angle lower than 90 has branches going out in the same direction as the branch or trunk it issues from.  A start angle greater than 90 has the branch bend back toward the source or its parent. 

    Here, a 1st generation start angle of 45 has the branches angling up.

    Here, a start angle of 135 has the branches angling down.

    The end angle can also be controlled.  The combination of start angle and end angle will curve the branch even if no other curve option is applied.  Here, an end angle of 45 is up. 

    Here, an end angle of 145 is down.

    aa48 start angle 45 is up.JPG
    1408 x 906 - 122K
    aa47 expert tab brench gen 1 start angle 135 is down.JPG
    1409 x 975 - 131K
    aa48 start angle 45 is up.JPG
    1408 x 906 - 122K
    aa49 end angle 145 is down.JPG
    1425 x 919 - 128K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    With the experts tab, you can control EACH generation of branches like the trunk.

    Width, decay, intermodal length, and curves all work like the trunk.  In addition, you can control the ratio of the branch length to the length of its parent (trunk or branch).

    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Roots - Trunk Menu - Hmmmmm, maybe tree base.

    The trunk menu has the options for the roots.  However, it does not give much control to create a system of roots.  Might be more accurate to call this the tree base.  Use the controls to wden or narrow the base.  You can also create a number of simple nodes, called lobes.  The key to getting some definition is to use lobe depth.

     

    NOTE - in the first or second Carrara challenge, a clever artist used a second upside down plant to create a system of roots.  If roots are to be exposed, probbaly a muc better option.

    aa46 roots lobes and lobe depth give amount while flare give length.JPG
    1292 x 870 - 90K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Test render of a custom red maple.

    Curved trunk.  Custom tree shape using the graph editor.  1st generation of branches 57 percent of trunk length.

    OK, needs some more work.  But hopefully this is a good start on creating my own custom trees. 

    As always, suggestions welcome.

    test ender red maple.jpg
    800 x 1000 - 102K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073

    And here is a comparison of using the settings for ramified to get a broader tree more suitale for a savannah. 

    comparison tall maple and broad acacia.jpg
    800 x 600 - 72K
  • DesertDudeDesertDude Posts: 1,234

    Thanks for taking the time to post such detailed explanations. Looking great!

  • TangoAlphaTangoAlpha Posts: 4,584

    Echo the use of multiple leaf models: maybe have one that's a cluster of leaves, and don't forget you can add berries, blossom/flowers etc. Also try to have more than one leaf texture - the variation in colour helps make it look more natural. And play around with some of the other leaf settings (distribution, size, quantity, orientation etc), they can really make a big difference to the look of your tree.

    Also, when doing test renders, I find it helps sometimes to add in a figure of some sort (V/M4 etc) just as a sanity check that your tree isn't accidentally 10 inches high instead of 100ft (or vice versa!)

  • DiomedeDiomede Posts: 15,073

    Thanks, guys.

    Tim, even this plane-Jane tree had 99,000 polygons when exported to Daz Studio.  To reduce polygon count, I know I can reduce the polygons in each leaf.  Any other suggestions?

  • TangoAlphaTangoAlpha Posts: 4,584
    edited May 2017

    - Convert to vertex model, then in the vertex editor: Select all, untriangulate. That'll reduce the poly count by around 30%

    - Fewer leaves & bigger (especially for distant trees); concentrate them  towards the ends of the branches (most trees have very few leaves inside the outer canopy)

    - Reduce Mesh Smoothness in the plant editor. Unfortunately it's a global setting, so while you might want the definition on the trunk and branch1, you'll also get it on the tiny branches, which won't notice and is very wasteful. Consider smoothing the big branches later in the vertex editor.

    BTW, mesh leaves render much better & faster than transmapped squares by orders of magnitude. I wouldn't consider using transmapped squares unless I really had to.

    100K is not too outrageous for a bigish tree. It's when you get to 1/2 a million+ you really need to start worrying!

    Oddball suggestion: Export a bare branches only tree, and untrascatter the leaves & clusters in DS (the hedges in Country Ford are basically 12000 18-inch high beech trees scattered onto formers...)

    Post edited by TangoAlpha on
  • DiomedeDiomede Posts: 15,073

    Thanks, Tim.  All good suggestions.  I was thinking the same thing about using ultrascatter to fill in the tree subbranches and leaves.  I had actually done something similar with replicators to make my own vertex tree in the very first Carrara challenge.  Unfortunately, I am just dipping my toes in Studio and Ultrascatter.

  • wgdjohnwgdjohn Posts: 2,634

    Very nice into+ to the tree editor.  yes

    Kewl advice from Tim.  yes

  • PhilWPhilW Posts: 5,139

    Some good info on this thread!

  • DiomedeDiomede Posts: 15,073

    Great tips, Tim.  Noted.  Thanks for the encouragement, John and Phil.

     

  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Still playing with the plant modeler.  This experiment was only moderately successful, but posting anyway.  I succeeded in learning useful stuff, but not in what I was going for.  I think that for what I was going for it would make more sense to use the vertex modeler and the polyline tools and a replicator.  However, some of the lessons from the plant modeler were still useful for other projects, but not this one.  I will post my plant modeler experiment first, and the vertex modeler later as time permits.

     

    What is the project?  I want a vine ripening plant.  In this case, it is a pumpkin.  I succeeded in some aspects of the plant modeler (matching the pumpkin stem to the branch shader, for example), but not in others (having the vines grow along the ground, for example).

     

    Plant modeler method could work if it grows on vertical vines, if that should come up.  smiley

     

    Here is the yucky test render for a pumpkin patch for vines along the ground.  Booooo.  Booooo. no

     

    yucky test render.jpg
    800 x 600 - 21K
    Post edited by Diomede on
  • PhilWPhilW Posts: 5,139

    Could you not just "grow" it vertically and then rotate it 90 degrees? You would probably need to adjust the root, but it might offer a way forward.

  • DiomedeDiomede Posts: 15,073
    edited May 2017

    Yucky Pumpkin Patch but Lessons for Other Vine Ripening Plants

     

    The basic workflow that I chose was to

    - model a pumpkin with a stem so that the stem would attach to a branch.

    - texture the pumpkin with a layer list to simplify the shader when used in the plant modeler (single global, not use individual shader domains)

    - use the plant modeler to angle the trunk and reduce the number of branches and "leaves"

    - in plant modeler, delete default leaf and load pumpkin as a "leaf"

    - copy subshader of pumpkin stem and paste to plant branches and trunk

    - insert terrain and rotate plant to fit

     

    OK, as mentioned above, would have been better to insert a terrain and use the vertex modeler polyline tool to model vines to fit te terrain, and then repliate the pumpkins on the vines.  But maybe te essos from this workflow are still useful for other vine plants.

    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,073

    PhilW, you posted while I was typing.  Yes, your suggestion would also work but I was trying to preserve roots, so wanted the initial bend.

Sign In or Register to comment.