FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Shadow & Shading Issues

2 posters

Go down

Shadow & Shading Issues Empty Shadow & Shading Issues

Post  sgreenwalt Wed Jun 17, 2009 8:27 pm

I have a lamp that is set to cast shadows.

I have a material that is set to receive shadows.

In Blender . . . I have shadows.

On the iPod (device and simulator) . . . no shadows.

Do I need to do something in templateLoading to tell the iPod to render shadows?

Clearly, I am missing something. Any help would be appreciated.

In this case, the object is the face of a character. The face appears washed out because . . . no shadows.

sgreenwalt

Posts : 18
Join date : 2009-04-24
Location : Layton, Utah

Back to top Go down

Shadow & Shading Issues Empty Re: Shadow & Shading Issues

Post  sio2interactive Wed Jun 17, 2009 8:35 pm

Blender shadows won't work in SIO2... It's totally different for rendering and in the viewport is driven by GLSL.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Shadow & Shading Issues Empty Re: Shadow & Shading Issues

Post  sgreenwalt Wed Jun 17, 2009 10:37 pm

Well then . . . should I be headed in the direction of the planar shadows like from one of the tutorials?

Or, something like that?

Again . . . the goal is for an object (like a character's face) to cause a diffuse shadow on itself which will in turn cause definition of the true shape of the object.

Or, do I just have to use texture (or vertex) paint to create contrasts across the face so that things will stand out?

sgreenwalt

Posts : 18
Join date : 2009-04-24
Location : Layton, Utah

Back to top Go down

Shadow & Shading Issues Empty Re: Shadow & Shading Issues

Post  sio2interactive Wed Jun 17, 2009 11:39 pm

Well, like a character face in example... you should use DOT3 instead... and for the rest of the model projected shadow, or planar shadow, or projected geometry using alpha test.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Shadow & Shading Issues Empty Shape Keys . . . only through MD2?

Post  sgreenwalt Thu Jun 18, 2009 1:07 am

Thanks . . . now I have a starting point to learn how to render shadows.

Is this correct:

If an Action involves a Shape Key, then (right now) the only way to get that data to the iPod is through MD2 (i.e. Tutorial 14). Also, sio2ObjectBuildAction is for IPO data only and does not include Shape Key data.

Please correct me if I am wrong.

Also, will the hybrid animation in the next version (action strips (scripts?)) improve this, or will MD2 still be needed?

Again . . . thanks.

sgreenwalt

Posts : 18
Join date : 2009-04-24
Location : Layton, Utah

Back to top Go down

Shadow & Shading Issues Empty Re: Shadow & Shading Issues

Post  sio2interactive Thu Jun 18, 2009 3:33 am

You are wrong, at the moment there's 3 ways for animation:

MD2: Full character animation based on keyframe.

SIO2action: Full character animation based on armature and then bake into keyframe with linear interpolation, variable speed and force.

IPO: Simply animation that affect the matrix of an: SIO2object, SIO2lamp, SIO2emitter, SIO2camera and others such SIO2widget (using the userdata handle).
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Shadow & Shading Issues Empty DOT3 --- sio2ObjectSetTBN --- Question

Post  sgreenwalt Thu Jun 18, 2009 9:41 pm

You said: "Well, like a character face in example... you should use DOT3 instead..."

From another post "Dot3 Normal Bump Mapping + Per Pixel Lighting" I see that you have added sio2ObjectDot3Lighting for 1.3.6.

Can you give me the source for sio2ObjectDot3Lighting and sio2ObjectSetTBN so that I don't have to wait for 1.3.6 to be released?

Thanks.

sgreenwalt

Posts : 18
Join date : 2009-04-24
Location : Layton, Utah

Back to top Go down

Shadow & Shading Issues Empty Re: Shadow & Shading Issues

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum