Page 1 of 1

Shadeles, Double Sided and Tranparancy

PostPosted: Tue Jul 08, 2008 5:17 am
by Frits
1. When I press the shadeles button for a material, the shadow of the avatar is still visible. How else can I make the shadow disapear?

2. When I press the Double Sided button for a grid, it is not textured double sided, is this because the UV mapping and the way the normals are situated?

3. I have two rocks in the water (partly above the surface), the water is slightly transparent.
When I look at the rocks above the watersurface, I can see rock nr. 2 complete and only the part above the watersurface from rock nr.1
When I look at the rocks under the watersurface, I can see rock nr. 2 complete and only the part under the watersurface from rock nr. 1
Both rocks have the same material (2 textures, 1 with a little tranparency).
I tried to set the Zoffset (from water and rocks) to different values, did not help.

A little help is much apriciated.

Regards,
Frits

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Tue Jul 08, 2008 10:22 am
by Jojon
Frits wrote:1. When I press the shadeles button for a material, the shadow of the avatar is still visible. How else can I make the shadow disapear?


Hmm, no idea -- the shadeless button disables shading, not shadows, as you figured. There is a "shadow" button in the shaders tab, but I don't believe we are using that one for anything. The one way I know of, is to add a softvolume ( Add -> PyPRP Soft volumes, basically any convex polyhedron, with the "type: svconvex" property ) -- while you are inside the softvolume, you will only cast shadows from light sources that are also inside it, or so I recall the matter... That doesn't help, though, if you have two surfaces out in clear daylight, one of which should receive shadows and one that shouldn't.

2. When I press the Double Sided button for a grid, it is not textured double sided, is this because the UV mapping and the way the normals are situated?


Unless I'm completely mistaken, you set this on a per-face basis, in edit mode. Pick a face and look among the Edit buttons for the "Texture face" tab, which should contain a "twoside" button, as well as a "shared" one, which makes the same texture go on both sides. Only the one currently active face is set when you do this -- before UV-select mode got integrated into edit mode, there used to be a button for copying the flags for the active face to all other selected ones, but I can't see the button now and have found no other way to do it - if you notice one, please do tell. :)


I tried to set the Zoffset (from water and rocks) to different values, did not help.


Apparently the whole Zoffest thing changed in the latest pyPRP release, as explained here: viewtopic.php?f=59&t=1977&st=0&sk=t&sd=a&start=30#p21271

I can't say I understand much of what it says, but the passindex property applies to objects, as opposed to materials and you could try using it ( Object pane -> Object and links panel ) on your stones, in the same way you previously did ZOffs and see whether that does anything...

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Tue Jul 08, 2008 3:33 pm
by Jonnee
If you work with blender 2.46 the twoside option is hided. Go to the edit mode, select all faces of your object and press "Ctrl F" (or "Strg F"). A popup window appears and you choose "Face Mode Set" in it. If you did so a new popup window appears. There you can find the twoside option for your object.
I had the same problem and it to me a long time to google that. :D

Avatar shadows are cast by suns with the Ray Shad button pressed (in the Shadow and Spot tab). So just select your sun and press that button.

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Tue Jul 08, 2008 3:55 pm
by D'Lanor
It does not seem to be hidden in my Blender 2.46. In Edit Mode it shows up in the Buttons Window under Editing (F9).

Twoside.png
Twoside.png (4.2 KiB) Viewed 3659 times

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Tue Jul 08, 2008 4:16 pm
by Jonnee
It doesn't appear for me there. I always get this:
Image

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Tue Jul 08, 2008 4:35 pm
by D'Lanor
Hmm, with a new file I get that as well. The image was from a file originally created in Blender 2.45.

Edit: I found a way to make that menu appear in Blender 2.46: Go into face select mode and select one face. That will make it pop up. After that you can select or deselect faces normally and the menu will stay on.

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Wed Jul 09, 2008 12:00 am
by Nadnerb
Yes, there must be an active face because changing those buttons will only affect one face at a time. (then you have to Ctrl+C > Copy mode) to copy the changes to all the other selected faces.

Re: Shadeles, Double Sided and Tranparancy

PostPosted: Wed Jul 09, 2008 4:07 am
by Frits
Thank you all for your answeres, I wil study them and maybe learn something new.

Regards,
Frits