Shadeles, Double Sided and Tranparancy

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Shadeles, Double Sided and Tranparancy

Postby Frits » Tue Jul 08, 2008 5:17 am

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
Frits
 
Posts: 132
Joined: Sun Feb 10, 2008 7:00 am

Re: Shadeles, Double Sided and Tranparancy

Postby Jojon » Tue Jul 08, 2008 10:22 am

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...
Jojon
 
Posts: 1116
Joined: Sun Sep 30, 2007 5:49 am

Re: Shadeles, Double Sided and Tranparancy

Postby Jonnee » Tue Jul 08, 2008 3:33 pm

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.
User avatar
Jonnee
 
Posts: 266
Joined: Fri Nov 16, 2007 9:45 pm

Re: Shadeles, Double Sided and Tranparancy

Postby D'Lanor » Tue Jul 08, 2008 3:55 pm

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 3663 times
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Shadeles, Double Sided and Tranparancy

Postby Jonnee » Tue Jul 08, 2008 4:16 pm

It doesn't appear for me there. I always get this:
Image
User avatar
Jonnee
 
Posts: 266
Joined: Fri Nov 16, 2007 9:45 pm

Re: Shadeles, Double Sided and Tranparancy

Postby D'Lanor » Tue Jul 08, 2008 4:35 pm

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.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Shadeles, Double Sided and Tranparancy

Postby Nadnerb » Wed Jul 09, 2008 12:00 am

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.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: Shadeles, Double Sided and Tranparancy

Postby Frits » Wed Jul 09, 2008 4:07 am

Thank you all for your answeres, I wil study them and maybe learn something new.

Regards,
Frits
Frits
 
Posts: 132
Joined: Sun Feb 10, 2008 7:00 am


Return to Building

Who is online

Users browsing this forum: No registered users and 5 guests