Stream: brlcad

Topic: skelly VOL


view this post on Zulip Sumagna Das (Aug 02 2020 at 12:28):

hey @Sean , the vol of the skeleton worked

view this post on Zulip Sumagna Das (Aug 02 2020 at 12:28):

image.png

view this post on Zulip Sumagna Das (Aug 02 2020 at 12:30):

the hand which is far/behind( according to dab position), the body and the hand in front are perfectly in position

view this post on Zulip Sumagna Das (Aug 02 2020 at 12:30):

i wanted to give depth of field and it worked

view this post on Zulip Sumagna Das (Aug 02 2020 at 12:31):

these are the layers
image.png

view this post on Zulip Sumagna Das (Aug 02 2020 at 12:45):

now i want it to look like it really has depth of field (add lighting which makes it seem like so)

view this post on Zulip Sumagna Das (Aug 02 2020 at 12:46):

so any help with that?

view this post on Zulip Sean (Aug 03 2020 at 06:37):

you need to render instead of looking at the wireframe. Ambient occlusion would probably make that look pretty nice too. try this: rt -A1.3 -c"set ambSamples=32 ambSlow=1"

view this post on Zulip Sean (Aug 03 2020 at 06:38):

Can play with the A (higher will make brigher) and ambSamples numbers (higher takes longer to render)

view this post on Zulip Sumagna Das (Aug 03 2020 at 07:08):

Will do that

view this post on Zulip Sumagna Das (Aug 03 2020 at 15:14):

image.png

view this post on Zulip Sumagna Das (Aug 03 2020 at 15:14):

it gave a cascade of failures sometimes but in this photo it worked perfectly

view this post on Zulip Sean (Aug 04 2020 at 18:45):

Haha, that's fun. Well done @Sumagna Das ! dabs

view this post on Zulip Sean (Aug 04 2020 at 18:46):

what kind of failures?

view this post on Zulip Sumagna Das (Aug 04 2020 at 20:04):

dont remember and dont know how to reproduce them. all i know is they were like
ERROR: vol <some number> > <some number>

view this post on Zulip Sumagna Das (Aug 04 2020 at 20:05):

oh it happened only when the skeleton was zoomed out

view this post on Zulip Sumagna Das (Aug 04 2020 at 20:05):

while rting

view this post on Zulip Sean (Aug 05 2020 at 02:40):

was it "ERROR vol t1=%g < t0=%g" ?

view this post on Zulip Sumagna Das (Aug 05 2020 at 02:59):

yea

view this post on Zulip Sean (Aug 05 2020 at 03:13):

that's either a bogus message or it indicates ray traversal is not doing what it's supposed to be doing. that'd be tricky to debug, but it's probably due to the ambient occlusion render mode starting rays from inside the vol.

view this post on Zulip Sumagna Das (Aug 05 2020 at 03:22):

as i stated earlier, it only happened when the skeleton was zoomed out

view this post on Zulip Sean (Aug 05 2020 at 05:31):

sure, but did it happen with a simple rt or with rt -c "set ambSamples..."

view this post on Zulip Sumagna Das (Aug 05 2020 at 05:31):

rt -c "set ambSamples..."

view this post on Zulip Sean (Aug 05 2020 at 05:31):

the latter I could see causing trouble. the prior ... hm, could be some inconsistency with grazing rays

view this post on Zulip Sean (Aug 05 2020 at 05:33):

yeah, so it's almost certainly caused by rays originating from within the VOL ... the code probably is making assumptions otherwise.

view this post on Zulip Sumagna Das (Aug 05 2020 at 05:34):

oh ok

view this post on Zulip Sean (Aug 05 2020 at 05:34):

if you want to try and fix it, the problem is in src/librt/primitives/vol/vol.c in the rt_vol_shot() function

view this post on Zulip Sumagna Das (Aug 05 2020 at 05:35):

will try to do that after august...

view this post on Zulip Sumagna Das (Aug 05 2020 at 05:35):

this month i have school exams so wont have time other than for studying

view this post on Zulip Sean (Aug 05 2020 at 05:36):

understandable

view this post on Zulip Sumagna Das (Aug 05 2020 at 05:36):

enjoyed the quarantine till july....now i have to study


Last updated: Oct 09 2024 at 00:44 UTC