PDA

View Full Version : Help with UvMap of a leaf


apa_kris
03-15-2005, 09:42 PM
Sorry all, I just saw what I posted yesterday . it is black and am sorry. This is my original post. I am looking forward any help that anyone can offer me to tell me / suggest me / advise me as to how I should UV map the leaf in Blender. There is no "Create a new UV Map " or so and I could not make head out of it. I tried to F9 method (UV and flat), but saving it - how? and getting that UV Map in another blend file - how? I am very confused.

Thanks a lot. I am really waiting for your help.
Aparna


Hi,
I downloaded your Lsystem python script and it is very good. I want to add other leaves to the trees beside those present in the third layer. I read thetutorial, but since I am not very well experienced with blender, I am facing quite a problem in this regard. I am confused as to how to make the UV Map of the leaf (ofcourse starting from creating a leaf). Should the leaf be a single mesh like plane? I have collected some leaf textures with a black background and the leaf in the middle. But I am stuck with this. How should I create the leaf object, UV Map it, save it and then set this on the third layer of the tree maker file. I browsed a lot of internet to find information on UV Mapping (very limited material on blender). But I understand the basics now, but am not sure of the procedure in Blender. I understand that everything around the leaf has to be made white (or transparent) so that only leaf shows through. How do we save the UVMaps of the file and put it in the third layer?
I tried, but am stuck and need your help. It will be very kind of you if you tell me how I can add my flowers/leaves/buds etc to the third layer of the L system file. (Will small GIF files work for this?)
Thanks a lot.
Aparna

KurtLawson
03-15-2005, 10:53 PM
hey, i dont use blender so i dont know if i can help, but if its just a flat leaf look for a planar projection type. Its got to have a texture projection settings somewhere in there. if its a complex leaf you should use what is commonly called flatten projection or angular distribution. then moved as many peices in the uv back togeher in the uv editor.

good luck, sorry if i was no help.

kurt

gabio
03-16-2005, 04:13 AM
Funny you'r askin', I have the answer for you as I was doing leafs.

I use Orco, a simple grid, and a simple png file of leaf I scanned and postprocessed in Gimp. This png is lowdetail for download purpose, should be a minimum of 1000px in loseless format.

1-Scan you leaf, flat on the glass.
2-Go in your favorite paint program, Photoshop of Gimp.
3-Add a alpha channel and put all but the leaf in clear alpha, save in a format supporting alpha, and supported by blender like png, tga, psd.
4-In Blender add a complex grid so you can give it some bump, using the subsurf with a lowpoly grid is also an option.
5- Add a material
6- Drop alpha to 0 in "Material" panel and drop spec to 0 in "shader" panel.
7- Go in "mirror transp" panel, enable Raytransp.
8- Go in texture and add a texture channel, Go to add an other one but instead of creating a new, use the same by selecting it using the pulldown menu.
9-In first channel, go in the "Map To" panel and select col and alpha.
10-Select the channel 2.
11-In "Map To" panel, select nor and spec.
12-In this same panel, drop the "var" to 0.5. And cranck the Nor slider to 5.0
13-Go in texture buttons(F6Key)
14-In one of the 2 channel (it's the same!) add an image, load you file with the alpha channel.
15-In the "Image" panel, press the "Usealpha" button.
16- Also, press the "clip" option. If it's not already done (maybe not necessairy).

That's it.
Download the blend here. (http://web.netrevolution.com/gbeloin/elysiun/blend/LeafShader.zip)

Some example, not all in the blend though:
http://web.netrevolution.com/gbeloin/elysiun/lotrbox/leafshader1.jpg

apa_kris
03-16-2005, 02:24 PM
Hi Gabriel and Kurt,

Thank you for taking your time to help me out. Gabriel, it was such a help for me. I am right now in other things at school. I will try all this towards the night today and let you know.

Thank you guys, More later

Wishes,
Aparna

CGTalk Moderation
03-16-2005, 02:24 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.