3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: A full dynamic shadow for Andro! (3DRAD v6.41 and above)  (Read 4179 times)

« on: December 05, 2009, 03:18:28 AM »
I discovered recently that a Skinmesh, completely coated with a transparent alphamap, and with its Property settings :Depth sorting=ON,No Z-buffer=ON, N0 shadows=ON not only makes it completely invisible (DUH!) but also it still casts a shadow.

This gave me an idea for replacing Andro's funny elongated blob of a default shadow with a full articulated realistic shadow.

I pulled out the shadow meshes for each of Andro's body parts from the "Official Andro" file (which Fernando passed on to me a few months ago) and textured each of them with a fully transparent alphamap. I then positioned these Skinmeshes (using the 3DRad Virtual Editor) at the relevent positions on Andro's "walking" pose. You might ask: "How can you position them if you can't see them?" Answer: Just replace the transparent alpha texture with an opaque texture of the same name.(You can then copy the transparent texture back again when you have completed the setting up process) These meshes are then linked to the corresponding parent bones of each limb in Andro's skinmesh.

Enough talk....here is the addon and an example project.Feel free to use it as a template in giving your own boned characters a proper shadow. NOTE: THIS IS FOR 3DRAD v6.41 ONLY.IT WILL NOT LOAD INTO v6.40

Unzip the downloaded file to the drive containing your 3D RAD folder.All files and folders will then be placed in their correct positions. The new folders will be added to your Skinmesh/data folder. These will be eleven AndroShadow_* folders for each bodypart, and one Andro_no_shadow folder (this is the normal Andro, but with no default "000_shadow.x" present)
AKA: The 3D Raddict http://www.3draddict.com/
« Reply #1 on: December 05, 2009, 05:24:56 AM »
Yes, that really gives a nice effect. :)
Good job.
« Reply #2 on: December 05, 2009, 07:12:25 AM »
that looks amazing for creepy games  8)
Crashing Boxes - winner of the 3d games category at the 5th Uruguayan video game contest
get a copy for your iPad/iPhone!
« Reply #3 on: December 26, 2009, 07:09:44 AM »
thanks
ALGERIA is my Heart and GAZZA his Pulse
Dz Forever ( www.3drad.com )
« Reply #4 on: August 28, 2010, 04:43:04 PM »
cool shadow
See my web:

jestermon

« Reply #5 on: August 28, 2010, 05:44:05 PM »
uhmm.... this is a very old thread
« Reply #6 on: September 04, 2010, 12:29:13 AM »
Sorry to bring up an old thread but how many people have been using this technique?

I'm having a problem in that when I run a project in the editor for the second time (it's always fine the first), one of the positioned limbs is out of place. A possible bug. Any takers?

Since it's usually fine the first time, it may not surface in a compiled project.
« Reply #7 on: December 04, 2010, 01:46:56 AM »
Thank you AllanF, work fine.
« Reply #8 on: October 20, 2011, 06:57:23 AM »
Bringing this one to life since I get pm's about dynamic shadowing for animated skinmehes.
Allans method is by fra the simplest way to achieve this.
Pages: [1]