Shadow & Shading Issues
2 posters
Shadow & Shading Issues
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.
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
Re: Shadow & Shading Issues
Blender shadows won't work in SIO2... It's totally different for rendering and in the viewport is driven by GLSL.
Re: Shadow & Shading Issues
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?
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
Re: Shadow & Shading Issues
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.
Shape Keys . . . only through MD2?
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.
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
Re: Shadow & Shading Issues
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).
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).
DOT3 --- sio2ObjectSetTBN --- Question
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.
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
Similar topics
» Cel Shading..?
» Cell-shading
» Toon (cel-) shading, ideas?
» iP OS 3 issues...
» having issues when I include sio.h
» Cell-shading
» Toon (cel-) shading, ideas?
» iP OS 3 issues...
» having issues when I include sio.h
Permissions in this forum:
You cannot reply to topics in this forum