Jump to content

How to texture seperately ( L -system )


Jouk

Recommended Posts

hi

as mentioned in the modelling forum, i am working on a L-system project ( vines ). i have built up my L-system vines but at the texturing stage i encountered a problem.

Please take a look at my screenshot

leaves are being generated at using a J value ( A leaf geo input into the L-system )

but i cant texture them seperately. If i add a material in after my L-system , my leaf color will be overwritten.

is there a way to seperate them and texture them seperately?

but still keeping the Leafs position generated by the L-system.

post-4868-1246355441_thumb.jpg

Vine_v014.hipnc

Link to comment
Share on other sites

how do i group them? sorry i am not really good at houdini

since i am animating the generations , i went to the last frame and off my leaves , select my vines and group them ( by points ) as my vines are skeletons , it works but if i move the timeline back , the vines dont get textured correctly.

Please take a look at the .hip file.

Vine_v018.hipnc

notice the highlighted vines ( those are the grouped )

so those that are not highlighted are using my leaf texture.

post-4868-1246413277_thumb.jpg

post-4868-1246413326_thumb.jpg

- Jouk

Link to comment
Share on other sites

the groups for leaves are automatically created for you

you can then create group for everything else in compine tab of group node

ant then use this groups to filter the operators downstream so there is no need for splitting and merging your network

see the file

ps: this is 2d tree but if it were 3d it is better to create uvs for leaf before it is connected to lsystem

it is a good idea to do it here as well unless you want the texture to float

also keep in mind that true displacement can cause you some problems and slowdown, not much but if you do not need them you may consider to use bump only

and do you really need 88x88 pixel samples for micropoly render? (i have turned them down to 3x3 for the file to get faster feedback for test renders)

Vine_v018_fix.hipnc

Edited by anim
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...