Mon, Nov 25, 10:35 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 25 12:38 pm)



Subject: Where are my shadows?


UVDan ( ) posted Mon, 19 January 2009 at 12:29 PM · edited Thu, 21 November 2024 at 9:16 AM
Forum Moderator

**I have modeled a cave and have placed two point lights in it.   I have enabled shadows in the properties for both lights.  I have also enabled shadow casting in the render properties.  Should I not be seeing some kind of shadow being cast by James as he runs through my cave?  I am using Poser 6.**

Free men do not ask permission to bear arms!!


JenX ( ) posted Mon, 19 January 2009 at 12:45 PM

Do you have a screenshot, so we can see where the lights are pointing?

Sitemail | Freestuff | Craftythings | Youtube|

Knowledge is knowing a tomato is a fruit. Wisdom is not putting it into a fruit salad.


markschum ( ) posted Mon, 19 January 2009 at 12:51 PM

If you deleted lights check that there are shadowcams for the point lights. There was a bug in Poser that lost the shadowcams when deleteing all lights.

You can also check by using ray traced shadows instead of shadowmaps.
 


ockham ( ) posted Mon, 19 January 2009 at 12:57 PM

file_422116.jpg

I've tried to simulate the situation with a very simple "cave" and one point light in front of the head.   My "cave" is a tube with its normals pointing inward.

Everything is set for raytracing, everything is set to cast shadows, and
in fact I get a shadow.

If you've got everything set for shadows, I can think of two possibilities:
either your point lights are not really inside the cave, or perhaps the
cave has its normals pointing outward, or is two-sided?

My python page
My ShareCG freebies


bagginsbill ( ) posted Mon, 19 January 2009 at 3:06 PM

Point lights only do ray-traced shadows.

You did not mention - did you enable ray-tracing? That is necessary.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Plutom ( ) posted Mon, 19 January 2009 at 3:46 PM

UV Dan, I think you have them.  They are very faint (look just behind the left foot, I see a shadow going towards the other foot.  Additionally, I see a faint shadow behind that foot too.  Jan


aeilkema ( ) posted Mon, 19 January 2009 at 5:23 PM

Attached Link: http://www.renderosity.com/mod/gallery/index.php?image_id=1703403

file_422126.jpg

As far as I can see, the shadows are at the place marked red. James seems to be floating in the air and isn't standing on the floor of the cave.

I've done an image a while back using those caves also and I had problems with the shadows also. Getting the model on the actual cave floor and placing a light closer to the figure and pointing at it solved my problems and gave me the result wanted.

Artwork and 3DToons items, create the perfect place for you toon and other figures!

http://www.renderosity.com/mod/bcs/index.php?vendor=23722

Due to the childish TOS changes, I'm not allowed to link to my other products outside of Rendo anymore :(

Food for thought.....
https://www.youtube.com/watch?v=pYZw0dfLmLk


Miss Nancy ( ) posted Mon, 19 January 2009 at 7:50 PM

IMVHO FFRender is not the ideal module for doing this kind of indirect lighting.



UVDan ( ) posted Mon, 19 January 2009 at 8:23 PM
Forum Moderator

Thanks for the help everyone.  My normals on the cave are pointing in.  I will have to check out everything posted here and see what it does for me and my shadows.

Free men do not ask permission to bear arms!!


UVDan ( ) posted Mon, 19 January 2009 at 8:26 PM
Forum Moderator

Does a shadow cam need a corresponding light?  Can a shadow cam follow James around and put a shadow wherever he is standing?

Free men do not ask permission to bear arms!!


bagginsbill ( ) posted Mon, 19 January 2009 at 9:49 PM

Dan,

You said "point lights". There are no shadow cams for point lights. They only do ray-traced shadows. You didn't answer my question. I asked you if you enabled ray tracing. You won't get any ray-traced shadows without ray-tracing and you won't get any shadows on point lights without ray-traced shadows.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Mon, 19 January 2009 at 9:50 PM

And also you do not need to "point" a point light at anybody. A point light will shine in all directions. It always makes a shadow in every direction.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


UVDan ( ) posted Mon, 19 January 2009 at 11:42 PM
Forum Moderator

**
Thanks, I will check on that ray tracing.
**

Free men do not ask permission to bear arms!!


UVDan ( ) posted Mon, 19 January 2009 at 11:49 PM
Forum Moderator

**OK, I have now enabled ray tracing with default settings and my wall textures have gone to hell.  But I now have shadows.**

Free men do not ask permission to bear arms!!


UVDan ( ) posted Mon, 19 January 2009 at 11:57 PM
Forum Moderator

**Here I have increased the intensity of the lights to fifty percent to get a look at the splotches on the cave walls.**

Free men do not ask permission to bear arms!!


UVDan ( ) posted Tue, 20 January 2009 at 12:06 AM
Forum Moderator

Free men do not ask permission to bear arms!!


UVDan ( ) posted Tue, 20 January 2009 at 12:18 AM
Forum Moderator

**Ok here I have increased the bounces to 7.  The pixel samples to 6 and the min texture size to 2155.  I have also enabled texture filtering.  This looks better.  I cannot understand why the dark spots predominate so.  There does not seem to be that many of them on the texture map to me.**

Free men do not ask permission to bear arms!!


RubiconDigital ( ) posted Tue, 20 January 2009 at 12:32 AM · edited Tue, 20 January 2009 at 12:38 AM

Try lowering the value of Shadow Min Bias of your light to about 0.2 and see how you go.
And 7 ray trace bounces is way too many. For a scene like this, 2 is plenty.
Actually, for a scene where you're not tracing reflection or refraction, it won't make any difference.


UVDan ( ) posted Tue, 20 January 2009 at 1:27 AM
Forum Moderator

**Here with a completely different texture the splotches are still showing up.**

Free men do not ask permission to bear arms!!


UVDan ( ) posted Tue, 20 January 2009 at 1:32 AM
Forum Moderator

Thanks RubiconDigital.  I will do that.

Free men do not ask permission to bear arms!!


UVDan ( ) posted Tue, 20 January 2009 at 1:41 AM · edited Tue, 20 January 2009 at 1:41 AM
Forum Moderator

**RubiconDigital here is how your suggestion came out.  I love the overall look of the scene, but the splotches are more pronounced than ever now.**

Free men do not ask permission to bear arms!!


UVDan ( ) posted Tue, 20 January 2009 at 2:02 AM · edited Tue, 20 January 2009 at 2:04 AM
Forum Moderator

**Here I have increased the Shadow Min Bias to 4.0 for both of my point lights.   I have also deleted the default lights that Poser puts into each scene.  The splotches seem to be gone now.  Thanks everyone for the help.  Now I need to learn how to clone that seam out of the floor in Deep Paint 3D.**

Free men do not ask permission to bear arms!!


RubiconDigital ( ) posted Tue, 20 January 2009 at 2:04 AM · edited Tue, 20 January 2009 at 2:06 AM

Bugger. That is all a bit strange. I can only suggest going the other way with Shadow Min Bias and seeing what happens. Very odd.

Edit: There you go, my suggestion worked even before I posted it :)


aeilkema ( ) posted Tue, 20 January 2009 at 4:19 AM

You got shadows now, but you figure is still floating in the air :-) 

Artwork and 3DToons items, create the perfect place for you toon and other figures!

http://www.renderosity.com/mod/bcs/index.php?vendor=23722

Due to the childish TOS changes, I'm not allowed to link to my other products outside of Rendo anymore :(

Food for thought.....
https://www.youtube.com/watch?v=pYZw0dfLmLk


bagginsbill ( ) posted Tue, 20 January 2009 at 9:14 AM · edited Tue, 20 January 2009 at 9:14 AM

The black splotches are a common artifact of Poser ray-tracing. They show up with reflections, refractions, ambient occlusion, and ray-traced shadows. In every case, increasing ray bias (not decreasing as first suggested) makes them go away.

The trade-off is that if you increase the ray bias a lot, ray-tracing will ignore certain things that you don't want it to ignore.

I don't know the actual mathematical reason this happens. There's nothing in the manual about the details of Poser's ray-tracing algorithms.  I just know that there is a fundamental flaw in Poser's ray-tracing that requires a ray bias to avoid it. A ray bias tells the renderer to ignore certain geometry for purposes of seeing what the ray is intersecting. It has something to do with concave surfaces creating spurious self-shadowing. It is particularly visible when you have surfaces that are concave (pardon the pun) due to displacement. It happens somewhat less when the actual geometry is concave, but it still happens.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


UVDan ( ) posted Tue, 20 January 2009 at 3:43 PM
Forum Moderator

**Thanks all.  I really appreciate the help.
aeilkema my figure is running.  You are seeing him in mid stride.  He is just there to establish the scale of the cave and textures anyway.
**

Free men do not ask permission to bear arms!!


RubiconDigital ( ) posted Tue, 20 January 2009 at 3:52 PM

I've never had to set the bias anywhere near 4, but there you go, at least it's sorted.
You would think, wouldn't you, that after all these years the software would be sorted and bugs like this would have been squashed.


ockham ( ) posted Tue, 20 January 2009 at 3:58 PM

I really like the last picture.  Even if the splotches are artifacts, they look
realistic on cave walls.  Often real caves are covered with white bat guano,
"mummified" bat carcasses, and limestone deposits.

My python page
My ShareCG freebies


kobaltkween ( ) posted Tue, 20 January 2009 at 4:07 PM · edited Tue, 20 January 2009 at 4:09 PM

an easy solution for the artifact issue is to not have the cave cast shadows.  and i've had items i had to turn off shadows for because i won't go above a certain shadow bias.  but it looks like you don't really need light from outside the cave, right?  i mean,  if you were doing a silhouette at the entrance of a cave image, then you'd need it to cast shadows so the cave could be darker. but i can't see an opening here.

oh, and you'll lose shadows from cave features.  forgot about that.  you might not want that.



UVDan ( ) posted Tue, 20 January 2009 at 4:23 PM
Forum Moderator

Thanks RubiconDigital and ockham.

Free men do not ask permission to bear arms!!


UVDan ( ) posted Tue, 20 January 2009 at 4:27 PM
Forum Moderator

Thanks cobaltdream.  Yes all the outside lights are off now.  So I have to choose between my figure casting shadows on the cave, or the cave casting shadows on itself?   We will see what happens as I develop the texture.

Free men do not ask permission to bear arms!!


UVDan ( ) posted Mon, 26 January 2009 at 4:43 AM · edited Mon, 26 January 2009 at 4:47 AM
Forum Moderator

**Ok I have taken the cave into Deep Paint 3D and painted out the floor seam.  Then I dipped it into UV Mapper Pro and welded the crack in the ceiling.  Now I am back on the lighting.  Here the min shadow bias is cranked to ten on each of two lights inside the main cavern area.

I am trying to figure out how to make this a prop so my camera access panels will show up and  then I can try and figure out how to open them up to make the inside visible from the outside.  Having to keep the camera in the cave limits the shots available somewhat.
**

Free men do not ask permission to bear arms!!


santicor ( ) posted Mon, 26 January 2009 at 9:40 AM

*Often real caves are covered with white bat guano,
"mummified" bat carcasses, and limestone deposits.

*OCKHAM - R you  a SPELUNKER???

;-)




______________________

"When you have to shoot ...

SHOOT.

Don't talk "

 

   - Tuco

 

Santicor's Gallery:

 http://www.renderosity.com/homepage.php?page=3&userid=580115

 


TrekkieGrrrl ( ) posted Thu, 29 January 2009 at 10:58 AM

Quote - **Ok I have taken the cave into Deep Paint 3D and painted out the floor seam.  Then I dipped it into UV Mapper Pro and welded the crack in the ceiling.  Now I am back on the lighting.  Here the min shadow bias is cranked to ten on each of two lights inside the main cavern area.

I am trying to figure out how to make this a prop so my camera access panels will show up and  then I can try and figure out how to open them up to make the inside visible from the outside.  Having to keep the camera in the cave limits the shots available somewhat.
**

I THINK you can make this see-through by making sure you're not using double walls. If you've got a single.sided model with the normals facing inwards, you ought to be able to look into it from the outside And therefore place a camera on the outside and still have it render what's in the cave.

I like that cave a lot btw. Wonderfully creepy!

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



UVDan ( ) posted Wed, 11 February 2009 at 4:07 AM
Forum Moderator

Thanks TrekkieGrrrl.   The facets face inwards.  I am assuming that the normals also do.  I will have to run it into UVMP and check now.

Free men do not ask permission to bear arms!!


bagginsbill ( ) posted Wed, 11 February 2009 at 7:05 AM

When you look at the back of a polygon in preview it is invisible, but I don't think it is invisible in render. Many times I've accidentally put my camera outside a room, thought I was in it, and when I rendered all I get is the wall and can't see inside.

If you are not doing ray-tracing reflections from inside the cave, there is a workaround. Use the render option to remove backfacing polygons. This is not the same as seeing through a polygon. For the purpose of that render it is completely removed. Very handy.

But if you happen to be using a shiny reflective surface in the cave, the polygons facing away from the camera (and towards the interior objecs) will be missing.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


UVDan ( ) posted Wed, 11 February 2009 at 1:16 PM
Forum Moderator

Thanks that is good to know.

Free men do not ask permission to bear arms!!


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.