00:38.03 |
*** join/#brlcad juan_man
(~quassel@unaffiliated/juanman) |
01:48.10 |
*** join/#brlcad juanman
(~quassel@unaffiliated/juanman) |
02:02.49 |
*** join/#brlcad LainIwakuraX
(~yuki@d24-57-80-191.home.cgocable.net) |
02:23.20 |
CIA-62 |
BRL-CAD: 03kunigami * r45740
10/brlcad/trunk/src/rt/do.c: added a experimental mode to call
do_run several times. by now each run is independent, but my next
step is to sum the colors in scanline array instead of just setting
them. |
07:12.08 |
*** join/#brlcad merzo
(~merzo@193.254.217.44) |
09:42.34 |
*** join/#brlcad abhi2011
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
10:06.41 |
*** join/#brlcad kunigami
(~kunigami@201.53.206.27) |
10:29.27 |
*** join/#brlcad Stattrav
(~Stattrav@117.192.147.9) |
10:29.27 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
10:49.30 |
*** join/#brlcad merzo
(~merzo@193.254.217.44) |
11:41.36 |
*** join/#brlcad Stattrav
(~Stattrav@117.202.26.38) |
11:41.36 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
11:50.04 |
*** join/#brlcad Elrohir
(~kvirc@p5B14B46A.dip.t-dialin.net) |
11:58.20 |
*** join/#brlcad juanman
(~quassel@unaffiliated/juanman) |
12:35.09 |
*** join/#brlcad Stattrav_
(~Stattrav@117.192.159.229) |
12:52.02 |
*** join/#brlcad juanman
(~quassel@unaffiliated/juanman) |
12:53.42 |
*** join/#brlcad Stattrav
(~Stattrav@117.202.31.56) |
12:53.42 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
13:03.53 |
*** join/#brlcad Stattrav_
(~Stattrav@117.192.145.237) |
13:19.26 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
14:25.52 |
CIA-62 |
BRL-CAD: 03r_weiss * r45741
10/brlcad/trunk/src/libged/edit.c: Updated file 'edit.c' within the
libged library. Fixed some compile warnings/errors. |
14:26.30 |
*** join/#brlcad dtidrow
(~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net) |
14:27.26 |
*** join/#brlcad d_rossberg
(~rossberg@BZ.BZFLAG.BZ) |
14:48.30 |
*** join/#brlcad dtidrow
(~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net) |
14:49.30 |
brlcad |
yawns |
15:11.00 |
d_rossberg |
last change in libged/edit.c (r45741):
shouldn't there be a bu_free()? or #define the array
sizes? |
16:49.33 |
brlcad |
bhinesley: d_rossberg's question is directed
towards you ;) |
16:51.46 |
bhinesley |
brlcad: oh okay. I was just looking at it and
trying to figure out why those changes were made |
16:52.15 |
*** join/#brlcad kunigami
(~kunigami@201.53.206.27) |
16:52.25 |
bhinesley |
but yes, d_rossberg, it needs to be freed at
the least |
16:55.37 |
bhinesley |
I don't understand why "struct edit_arg
*arg_heads[len];" was changed to "struct edit_arg
**arg_heads;" |
16:56.06 |
bhinesley |
I mean, why coudn't it be automatic |
17:05.23 |
brlcad |
he's not here right now |
17:06.01 |
bhinesley |
ah |
17:06.06 |
brlcad |
bhinesley: c90 prohibits dynamic array sizes
based on runtime variable values |
17:06.22 |
brlcad |
c++ allows it |
17:07.07 |
brlcad |
c99 might even allow it, but it's more
portable to allocate your size as needed if the size can't be known
at compile-time |
17:07.37 |
bhinesley |
oh okay, so I can probably just use a #define,
since I do know the size at compile-time |
17:08.16 |
brlcad |
nods |
17:08.30 |
*** join/#brlcad juanman
(~quassel@unaffiliated/juanman) |
17:19.23 |
*** join/#brlcad juanman
(~quassel@unaffiliated/juanman) |
17:37.39 |
CIA-62 |
BRL-CAD: 03bhinesley * r45742
10/brlcad/trunk/src/libged/edit.c: |
17:37.39 |
CIA-62 |
BRL-CAD: Compiler warnings because of
dynamically sized arrays based on runtime variable |
17:37.39 |
CIA-62 |
BRL-CAD: were resolved by allocating memory in
r45741 (which was not subsequently being |
17:37.39 |
CIA-62 |
BRL-CAD: freed). Since these sizes are known
at compile time, we can instead size the |
17:37.39 |
CIA-62 |
BRL-CAD: arrays using preprocessor macros.
Also resolved, were 3 warnings about printf |
17:37.40 |
CIA-62 |
BRL-CAD: format specifiers; the pointers
needed to be dereferenced. |
17:40.10 |
*** join/#brlcad Stattrav
(~Stattrav@117.192.134.200) |
17:40.10 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
17:51.05 |
*** join/#brlcad Stattrav
(~Stattrav@117.192.134.200) |
17:51.05 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
17:55.49 |
*** join/#brlcad kunigami
(~kunigami@201.53.206.27) |
18:00.32 |
*** join/#brlcad abhi2011
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
18:10.14 |
brlcad |
congratulations abhi2011 |
18:10.31 |
abhi2011 |
Thanks brlcad |
18:10.46 |
abhi2011 |
didnt expect it :P |
18:11.00 |
brlcad |
so this will be pretty exciting, can't wait to
see some objects responding to gravity :) |
18:11.29 |
abhi2011 |
hehe yes :) |
18:11.38 |
brlcad |
it's going to be a lot of work, but I think
you'll manage if you work hard at it and put a lot of time into
figuring things out |
18:11.41 |
abhi2011 |
by the way about yesterday's code |
18:12.00 |
abhi2011 |
so the gedp structure was something I could
not get rid of |
18:12.06 |
brlcad |
so that's pretty exemplary, yesterday's code
exercise |
18:12.25 |
abhi2011 |
ok |
18:12.27 |
brlcad |
shouldn't really take more than an hour, and
you got stuck :) |
18:12.40 |
abhi2011 |
ya i wasted 45 mins on the linking issue
:P |
18:12.47 |
abhi2011 |
coding took much less time |
18:12.56 |
brlcad |
yet coding is incomplete too :) |
18:13.03 |
abhi2011 |
hehe :P |
18:13.19 |
brlcad |
so you really do need to figure out how to get
that to work |
18:13.21 |
abhi2011 |
yah the gedp structure was something i COULD
NOT GET RID OF |
18:13.25 |
abhi2011 |
oops no caps |
18:13.27 |
brlcad |
it's actually directly related to your
task |
18:13.29 |
abhi2011 |
sorry |
18:13.43 |
abhi2011 |
yes |
18:14.10 |
abhi2011 |
so a question |
18:14.17 |
brlcad |
you'll need to read that code over and over
until you understand what it's doing and figure out how the
bounding box is actually calculated |
18:14.25 |
brlcad |
without libged, naturally :) |
18:14.49 |
abhi2011 |
ah ok, I was thinking there is a function in
libged that directly takes an object extracted from the .g
file |
18:14.50 |
brlcad |
or with it -- frankly doesn't matter, it's
just not necessary |
18:15.04 |
abhi2011 |
yes exactly, no point rebuilding the
wheel |
18:15.27 |
brlcad |
there is a function in libged that directly
takes an object extracted from the .g file |
18:15.32 |
abhi2011 |
right |
18:15.37 |
abhi2011 |
was looking for that :) |
18:15.50 |
brlcad |
you need to read the code |
18:16.02 |
brlcad |
because you already sort of found it, or at
least found the direct pointers to it |
18:16.27 |
brlcad |
if it's not obvious, you should review that
code line by line until you understand it ;) |
18:16.33 |
abhi2011 |
yes i will look through the functions defined
in libged and make that program work |
18:17.27 |
abhi2011 |
ok be right back in few mins |
18:46.12 |
CIA-62 |
BRL-CAD: 03bhinesley * r45743
10/brlcad/trunk/src/libged/edit.c: fixed off by one error in a
function that frees linked list of args; was causing crashes in
some cases |
18:58.56 |
*** join/#brlcad Stattrav
(~Stattrav@117.192.134.200) |
18:58.56 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
19:10.37 |
abhi2011 |
back |
20:02.53 |
*** join/#brlcad Stattrav
(~Stattrav@117.192.134.200) |
20:02.53 |
*** join/#brlcad Stattrav
(~Stattrav@unaffiliated/stattrav) |
20:09.34 |
CIA-62 |
BRL-CAD: 03bhinesley * r45744
10/brlcad/trunk/src/libged/edit.c: (log message trimmed) |
20:09.34 |
CIA-62 |
BRL-CAD: One of the translate cmd's functions
was not detecting missing "TO" args, which |
20:09.34 |
CIA-62 |
BRL-CAD: ged_edit() intentionally doesn't
detect if the -k option isn't given. A function |
20:09.34 |
CIA-62 |
BRL-CAD: to free edit_cmd obj's was only
partially working since args were changed from |
20:09.34 |
CIA-62 |
BRL-CAD: being automatic to malloc'd. Fixed
several related/unrelated problems with |
20:09.35 |
CIA-62 |
BRL-CAD: regard to freeing and allocating
memory. Added a helper function to only free |
20:09.36 |
CIA-62 |
BRL-CAD: args if they are unused, which saved
some checks/vars later on. There were some |
20:19.24 |
*** join/#brlcad kunigami
(~kunigami@201.53.206.27) |
20:22.35 |
CIA-62 |
BRL-CAD: 03r_weiss * r45745
10/brlcad/trunk/src/librt/primitives/nmg/nmg_tri.c: |
20:22.35 |
CIA-62 |
BRL-CAD: Updated the prototype version of
function 'cut_unimonotone' within file |
20:22.35 |
CIA-62 |
BRL-CAD: 'nmg_tri.c'. This change adds a check
for null edgeuse. This prototype function |
20:22.35 |
CIA-62 |
BRL-CAD: supports the prototype version of
'nmg_triangulate_fu'. These changes are |
20:22.35 |
CIA-62 |
BRL-CAD: disabled by default. These changes
are a work in progress. |
20:29.18 |
CIA-62 |
BRL-CAD: 03r_weiss * r45746
10/brlcad/trunk/src/librt/primitives/nmg/nmg_class.c: |
20:29.18 |
CIA-62 |
BRL-CAD: Updated functions 'nmg_class_pt_e',
'nmg_class_pt_l', 'class_vu_vs_s', |
20:29.18 |
CIA-62 |
BRL-CAD: 'nmg_class_pt_s', 'class_eu_vs_s' and
'class_lu_vs_s' within file 'nmg_class.c'. |
20:29.18 |
CIA-62 |
BRL-CAD: Most of the updates were changes to
support the prototype version of function |
20:29.18 |
CIA-62 |
BRL-CAD: 'nmg_triangulate_fu'. The remainer of
the changes were code cleanup. The logic |
20:29.18 |
CIA-62 |
BRL-CAD: changes are disabled by default and
are a work in progress. These changes are |
20:29.19 |
CIA-62 |
BRL-CAD: related to classification of nmg
objects during boolean operations. |
20:29.28 |
CIA-62 |
BRL-CAD: 03starseeker * r45747
10/brlcad/branches/STABLE/src/ (libged/erase.c libged/mater.c
librt/primitives/ars/ars.c): Add a few bugfix patches to
STABLE. |
20:38.03 |
CIA-62 |
BRL-CAD: 03r_weiss * r45748
10/brlcad/trunk/src/librt/primitives/nmg/nmg_rt_isect.c: (log
message trimmed) |
20:38.04 |
CIA-62 |
BRL-CAD: Updated functions
'vertex_neighborhood', 'ray_hit_vertex',
'isect_ray_faceuse', |
20:38.04 |
CIA-62 |
BRL-CAD: 'guess_class_from_hitlist_max',
'guess_class_from_hitlist_min' and |
20:38.04 |
CIA-62 |
BRL-CAD: 'nmg_class_ray_vs_shell' within file
'nmg_rt_isect.c'. Most of the changes |
20:38.04 |
CIA-62 |
BRL-CAD: support the prototype version of the
function 'nmg_triangulate_fu'. The |
20:38.04 |
CIA-62 |
BRL-CAD: remaining changes are code cleanup.
The logic changes are disabled by default |
20:38.05 |
CIA-62 |
BRL-CAD: and are a work in progress. These
changes are related to classification of nmg |
20:45.26 |
CIA-62 |
BRL-CAD: 03r_weiss * r45749
10/brlcad/trunk/src/librt/primitives/nmg/nmg_pt_fu.c: Updated
function 'nmg_class_pt_eu' within file 'nmg_pt_fu.c'. Changed a
floating point compare to 0.0 to using SMALL_FASTF. |
22:13.06 |
CIA-62 |
BRL-CAD: 03Kunigami 07http://brlcad.org * r3039
10/wiki/User:Kunigami/GSoc2011/Reports: added log for past
week |
22:13.50 |
CIA-62 |
BRL-CAD: 03Kunigami 07http://brlcad.org * r3040
10/wiki/User:Kunigami/GSoc2011/Reports: /* Reports */ corrected
formatting error |
22:14.09 |
CIA-62 |
BRL-CAD: 03bhinesley * r45750
10/brlcad/trunk/src/libged/edit.c: Improved detection/alerts of
translate command syntax-error. |
22:15.19 |
bhinesley |
kunigami: bah, you just reminded me that I've
been forgetting that again :-/ |
22:15.31 |
kunigami |
bhinesley: :) |
22:24.50 |
abhi2011 |
brlcad I found the reason for the linking
errors yesterday |
22:25.38 |
abhi2011 |
I was using fedora from virtual box and I had
placed the main.c file in a mounted partition |
22:25.48 |
abhi2011 |
the partition is a windows partition |
22:26.32 |
abhi2011 |
once I copied the file into the /home its
having no problem finding librt |
22:32.11 |
abhi2011 |
hmm no thats not the reason |
22:32.34 |
abhi2011 |
well anyway am using a native installation now
so it should be fine |
22:45.54 |
brlcad |
bhinesley: kunigami: you guys have been
fantastic at updating your reports (completely unprompted) ..
seriously I think you're both a couple of the best I've seen at
announcing your activities |
22:45.58 |
brlcad |
kudos |
22:46.49 |
kunigami |
brlcad: thanks! |
22:47.07 |
bhinesley |
cool... I worry about these things
;-) |
23:15.25 |
``Erik |
(btw, great job on passing the midpoint,
too) |
23:15.52 |
bhinesley |
thank you |
23:17.58 |
*** join/#brlcad abhi2011_
(~chatzilla@ip170-79-211-87.adsl2.static.versatel.nl) |
23:18.03 |
CIA-62 |
BRL-CAD: 03Abhi2011 07http://brlcad.org * r3041
10/wiki/User:Abhijit: /* Development timeline */ |
23:52.30 |
*** join/#brlcad LainIwakuraX
(~yuki@d24-57-80-191.home.cgocable.net) |