00:01.07 |
brlcad |
anrgmrty: so what is your immediate near-term
goal? |
00:03.05 |
anrgmrty |
after getting the multiple ray locations
right, i think i will have to go through the GQA code and
understand it. and then change g-voxel according to that? |
00:04.16 |
anrgmrty |
though you had mentioned about bsp trees so i
was planning to read up on that as well |
00:29.30 |
*** join/#brlcad xth1
(~thiago@201.82.128.23) |
00:30.15 |
CIA-55 |
BRL-CAD: 03Anuragmurty 07http://brlcad.org * r3826
10/wiki/User:Anuragmurty: /* Development Log */ |
00:30.50 |
*** join/#brlcad jbschw_
(4355ee10@gateway/web/freenode/ip.67.85.238.16) |
00:36.45 |
brlcad |
anrgmrty: I don't mean research or coding
tasks, I mean feature-wise |
00:37.03 |
brlcad |
you should have a very specific goal, and it
should be written down to remind you |
00:38.20 |
brlcad |
say you fully understand the gqa code, you
"change g-voxel according to that" whatever that means (not a great
plan, btw), you research and fully understand bsp trees (not likely
in gsoc timeframe) |
00:38.27 |
brlcad |
what then? what are you doing? |
00:38.42 |
brlcad |
what are you doing that will matter to a
user |
00:39.25 |
brlcad |
your goal should impact a user in a real way,
implementing some real specific thing |
00:47.35 |
anrgmrty |
brlcad: shouldnt i have a decently working
program that gives me all the voxels first? i did not know that i
was not on the right track till now.. |
00:50.12 |
brlcad |
anrgmrty: absolutely, but there's should be a
lot of little stepping stones to get you there |
00:51.19 |
*** join/#brlcad cristina
(~quassel@188.24.71.82) |
00:52.23 |
brlcad |
more importantly, that still doesn't even
answer the question |
00:53.10 |
brlcad |
"a decently working program that gives [you]
all the voxels" means absolutely nothing in terms of user-visible
features |
00:53.16 |
brlcad |
how is it going to be used? |
00:53.30 |
anrgmrty |
ok.. by this you mean various additions i make
to the voxel program- options to the user to specify the
paarameters etc? |
00:53.52 |
anrgmrty |
and i read on the wiki that the interface has
to be like the facetize command.. |
00:54.34 |
anrgmrty |
so i used that to get BOT.. |
00:55.15 |
brlcad |
that's not what I mean |
00:55.42 |
brlcad |
you're talking about the program from a
developer perspective, I'm talking about it from a user
perspective |
00:56.06 |
brlcad |
when I asked what's your next goal, I was
referring to a goal that can be tested by a user, however
minimal |
00:56.31 |
brlcad |
developer goal might be shoot three rays,
that's fine but that means nothing to a user |
00:57.19 |
brlcad |
user goal might be to print out the volume
represented by those three rays |
00:57.47 |
brlcad |
user goal might be to create a piece of
geometry representing those three rays |
00:58.24 |
anrgmrty |
ok.. some kind of an analysis based on the
rays shot.. |
00:58.58 |
brlcad |
user goal might be to create a single cell box
where those rays hit something |
00:59.12 |
brlcad |
etc |
00:59.43 |
brlcad |
it's a product: an analysis, a value, a
printout, a piece of geometry, ... |
01:01.41 |
brlcad |
I suggest discussing and deciding on a
specific goal for this week, then something else for next
week |
01:02.06 |
anrgmrty |
ok. so a file in,say, binvox format.. as an
output of the analysis qualify? i think that i will be able to do
as a first step.? |
01:03.40 |
brlcad |
all part of "coding complete" |
01:04.05 |
brlcad |
possibly, but it seems like you could define
some goal before going that far |
01:04.36 |
brlcad |
no sense bothering with binvox if you can't
even print the voxels |
01:07.23 |
anrgmrty |
printing voxels means zeroes and ones in space
indicating whether voxel is present or not , right? |
01:08.11 |
brlcad |
you could do that |
01:08.49 |
brlcad |
more useful might be to write them out to a
file |
01:09.35 |
brlcad |
either as 0's and 1's or in binary as 0 and
255 byte values |
01:09.58 |
brlcad |
maybe start by printing them in
ascii |
01:11.01 |
brlcad |
whatever the goal, write it down on your log
and that can help give you some focus on what to work on
next |
01:11.36 |
brlcad |
with that, you'll be able to ask if the thing
you're doing now helps you get closer to that user goal |
01:13.42 |
anrgmrty |
ok. i will be able to do this.. the file of
0's and 1's. and ascii values also.. i will put this on my
log.. |
01:15.13 |
brlcad |
the point isn't to make a big deal of the
goal, it should be a tiny stepping stone, but one that is visible
to a user |
01:15.29 |
brlcad |
if file is a problem, for example, just print
it to stdout |
01:15.47 |
brlcad |
if ascii formatting takes too much time, just
print the binary value |
01:15.52 |
brlcad |
etc |
01:16.30 |
brlcad |
right now, your 3 rays amounts to a single 0
or 1 being printed |
01:17.30 |
CIA-55 |
BRL-CAD: 03phoenixyjll * r50968
10/brlcad/trunk/src/librt/primitives/pipe/pipe_brep.cpp: Duplicate
the curves to avoid destruction failure. |
01:17.53 |
brlcad |
increase that to four rays per axis and you
have 8 values being printed |
01:18.01 |
anrgmrty |
actually i implemented the grid of rays now..
so i should be able to do it for the xyz.g file too.. |
01:18.41 |
CIA-55 |
BRL-CAD: 03Phoenix 07http://brlcad.org * r3827
10/wiki/User:Phoenix/GSoc2012/Reports: /* Week 3 */ |
01:20.49 |
brlcad |
xyz.g file? |
01:21.58 |
anrgmrty |
as in i take any .g file as input and shoot a
rays along the -x direction over that particular face of the
bounding box |
01:22.39 |
anrgmrty |
and i print out 0's and 1's indicating
presence of voxel.. for a single ray |
01:22.59 |
anrgmrty |
over all rays |
01:27.46 |
brlcad |
okay, that's a good start |
01:33.29 |
anrgmrty |
but how do i combine the results of two
rays(multiple rays) shot on the same voxel? one ray i just give a
threshold value.. but two? do i add up the distances i get from
both? |
01:35.51 |
brlcad |
dude |
01:35.58 |
brlcad |
keep it simple |
01:36.04 |
brlcad |
until it needs to be more
complicated |
01:36.31 |
brlcad |
shouldn't bother with shooting multiple rays
per voxel until you're done shooting one |
01:37.22 |
brlcad |
are you only shooting down one axis or all
three? |
01:37.26 |
anrgmrty |
got it.. |
01:38.49 |
anrgmrty |
one axis.. over entire face of bounding box..
one ray per voxel.. |
01:44.06 |
brlcad |
okay, that's good, so printing that face grid
out would be good first step |
01:44.21 |
brlcad |
then perhaps computing the depth
voxels |
01:44.25 |
brlcad |
and printing those next |
01:44.35 |
brlcad |
or do you already calculate them? |
01:47.06 |
anrgmrty |
i do that already.. for each ray.. i evaluate
where its partitions begin and end and assign 0's and 1's depending
on wheteher the distance traveled inside the material is greater or
less than threshold |
01:47.33 |
brlcad |
what's the theshold? |
01:47.40 |
anrgmrty |
threshold i kept at 0.5 for now.. but that
should be changeable |
01:48.41 |
brlcad |
.5 is fine |
01:48.59 |
anrgmrty |
ok.. |
01:49.13 |
brlcad |
so then you can first print the front-most
voxels, then each layer sequentially |
01:50.38 |
anrgmrty |
ok.. i will do that next.. |
01:55.43 |
anrgmrty |
brlcad- thanks! i will proceed with this
then. |
02:34.33 |
CIA-55 |
BRL-CAD: 03brlcad * r50969
10/brlcad/trunk/src/conv/asc/pix2asc.c: don't need stdio.h with
bio.h |
02:35.06 |
CIA-55 |
BRL-CAD: 03brlcad * r50970
10/brlcad/trunk/src/libbn/noise.c: start with a bigger table size,
use powers of two for better memory alignment |
02:52.52 |
CIA-55 |
BRL-CAD: 03brlcad * r50971
10/brlcad/trunk/src/libbn/noise.c: convert from ZERO() to
EQUAL() |
03:13.00 |
*** join/#brlcad cristina
(~quassel@188.24.81.31) |
03:13.44 |
*** join/#brlcad thiago
(~thiago@201.82.128.23) |
03:26.03 |
CIA-55 |
BRL-CAD: 03brlcad * r50972
10/brlcad/trunk/BUGS: |
03:26.04 |
CIA-55 |
BRL-CAD: several hours debugging rt, but still
can't find the cause of the crash. |
03:26.04 |
CIA-55 |
BRL-CAD: document what I've been able to
figure out so far (i.e., not much). summary |
03:26.04 |
CIA-55 |
BRL-CAD: seems to be a crash using the noise
shader (turb) due to corruption in libbn |
03:26.04 |
CIA-55 |
BRL-CAD: noise bookkeeping or parallel memory
management while rendering our sample |
03:26.04 |
CIA-55 |
BRL-CAD: terra.g model. |
04:09.31 |
*** join/#brlcad andrei_
(~andrei@5-12-76-248.residential.rdsnet.ro) |
05:21.58 |
CIA-55 |
BRL-CAD: 03brlcad * r50973
10/brlcad/trunk/src/conv/iges/g-iges.c: reduce lines, convert to
bu_file_directory() instead of directly calling stat() |
05:22.03 |
*** join/#brlcad louipc
(~louipc@archlinux/fellow/louipc) |
05:30.20 |
CIA-55 |
BRL-CAD: 03brlcad * r50974
10/brlcad/trunk/src/librt/primitives/nmg/nmg_mk.c: pointer address
is defined to fit in a uintptr_t, use it instead of
size_t |
05:33.00 |
CIA-55 |
BRL-CAD: 03brlcad * r50975
10/brlcad/trunk/src/librt/primitives/nmg/nmg_extrude.c: convert to
EQUAL() where we were faking it with a subtraction in
ZERO() |
05:33.12 |
*** join/#brlcad cristina
(~quassel@188.24.75.184) |
05:37.38 |
CIA-55 |
BRL-CAD: 03brlcad * r50976
10/brlcad/trunk/src/conv/obj-g.c: constness doesn't affect
sizeof(), so reduce |
05:50.33 |
*** join/#brlcad cristina
(~quassel@188.24.70.163) |
06:11.27 |
*** join/#brlcad cristina
(~quassel@82.137.8.191) |
06:21.27 |
*** join/#brlcad cristina
(~quassel@82.137.13.156) |
06:53.44 |
*** join/#brlcad cristina
(~quassel@188.24.80.230) |
07:08.38 |
*** join/#brlcad n_reed
(~molto_cre@BZ.BZFLAG.BZ) |
07:22.20 |
*** join/#brlcad ksuzee
(~ksuzee91@193.151.107.42) |
08:51.01 |
*** join/#brlcad stas
(~stas@82.208.133.12) |
09:05.56 |
*** join/#brlcad ksuzee
(~ksuzee91@193.151.107.42) |
11:09.35 |
``Erik |
*readread* I vagually recall coverity being
whiney about stuff like "unsigned struct { unsigned char red; }
pix[BUFSIZ]; char *ptr = blurgh; pix[x].red = *ptr;" not having
bounds check, hackish fix may've been something stupid like
if((int)*ptr > 255 || (int)*ptr < 0) { fprintf(stderr,
"universe has ended\n"); } |
11:34.39 |
CIA-55 |
BRL-CAD: 03tbrowder2 * r50977
10/brlcad/trunk/src/conv/asc/pix2asc.1: add another
reference |
11:35.49 |
CIA-55 |
BRL-CAD:
03NevanhfuluvmuatdkbbjlhaqegnsxgeqkofdudvBatty 07http://brlcad.org * r3828
10/wiki/Techniques_to_Apply_Liberty_Reserve_for_boostingYour_business_interest:
New page: Your company requires a method of making or accepting
payment so that it is in a position to succeed. You have to award
contracts; you have to purchase goods/services from others people.
H... |
11:38.25 |
CIA-55 |
BRL-CAD: 03tbrowder2 * r50978
10/brlcad/trunk/src/conv/ (CMakeLists.txt Makefile.am
asc/asc2pix.1): add asc2pix man page for completeness |
11:59.49 |
``Erik |
ah, email discussion on that, as well,
heh |
12:31.28 |
CIA-55 |
BRL-CAD: 03Sean 07http://brlcad.org * r0
10/wiki/Special:Log/delete: deleted "[[Techniques to Apply Liberty
Reserve for boostingYour business interest]]": content was:
spam |
12:31.35 |
CIA-55 |
BRL-CAD: 03Sean 07http://brlcad.org * r0
10/wiki/Special:Log/block: blocked
[[User:NevanhfuluvmuatdkbbjlhaqegnsxgeqkofdudvBatty]] with an
expiry time of infinite (account creation disabled, e-mail
blocked): Spamming links to external sites |
12:34.18 |
CIA-55 |
BRL-CAD: 03brlcad * r50979
10/brlcad/trunk/NEWS: tom added a manpage for asc2pix
converter |
13:49.00 |
CIA-55 |
BRL-CAD: 03starseeker * r50980
10/brlcad/trunk/src/ (brlman/brlman.tcl
tclscripts/man_browser.tcl): With a little help from Bob, the
brlman graphical viewer now shows just the man page in question.
Also report the section number in the Window title. |
13:52.35 |
CIA-55 |
BRL-CAD: 03starseeker * r50981
10/brlcad/trunk/src/tclscripts/man_browser.tcl: fix
indentation |
14:18.11 |
CIA-55 |
BRL-CAD: 03tbrowder2 * r50982
10/brlcad/trunk/src/conv/asc/pix2asc.c: expand comments a
tad |
14:19.16 |
CIA-55 |
BRL-CAD: 03tbrowder2 * r50983
10/brlcad/trunk/src/conv/asc/pix2asc.c: use printf for
consistency |
14:21.55 |
CIA-55 |
BRL-CAD: 03bob1961 * r50984 10/brlcad/trunk/
(include/raytrace.h src/librt/mkbundle.c src/rt/rtshot.c): Move
export statements for rt_shootray_bundle() and rt_raybundle_maker()
to raytrace.h. This fixes a breakage on Windows. |
14:51.49 |
CIA-55 |
BRL-CAD: 03Tbrowder 07http://brlcad.org * r3829 10/wiki/DSP: /*
Creating a DSP object from manual or programmatic generation of
data */ |
15:05.32 |
*** join/#brlcad jbschw_
(4355ee10@gateway/web/freenode/ip.67.85.238.16) |
15:37.35 |
*** part/#brlcad ksuzee
(~ksuzee91@193.151.107.42) |
15:40.46 |
CIA-55 |
BRL-CAD: 03n_reed * r50985
10/brlcad/trunk/src/other/step/ (5 files in 4 dirs): Add public
domain getopt implementation. SCL git c3f9ff5, dc302ea, and
2d26da7. |
15:42.22 |
brlcad |
n_reed: mising xgetopt.h |
15:42.43 |
n_reed |
sorry |
15:42.58 |
brlcad |
doesn't affect me, just noticed the
#incldue |
15:45.48 |
CIA-55 |
BRL-CAD: 03n_reed * r50986
10/brlcad/trunk/src/other/step/ (include/xgetopt.h
src/fedex_plus/xgetopt.cc): actually add getopt sources |
16:13.47 |
CIA-55 |
BRL-CAD: 03n_reed * r50987
10/brlcad/trunk/src/other/step/src/clutils/ (8 files): add dll
export symbols to clutils; SCL git 457d51e |
16:17.13 |
*** join/#brlcad stas_
(~stas@188.24.51.145) |
16:22.52 |
CIA-55 |
BRL-CAD: 03starseeker * r50988
10/brlcad/trunk/CMakeLists.txt: Try suppressing regeneration with
Visual Studio. Thanks to the 2010 IDE prompting manually to reload
every target after a CMake run, it's just not viable to re-run
CMake from within Visual Studio. |
16:38.27 |
*** join/#brlcad yukonbob
(~bch@methodlogic.net) |
17:01.14 |
CIA-55 |
BRL-CAD: 03n_reed * r50989
10/brlcad/trunk/src/other/step/src/cldai/ (11 files): add dll
export symbols to cldai; SCL git c409145 |
17:16.11 |
CIA-55 |
BRL-CAD: 03r_weiss * r50990
10/brlcad/trunk/src/librt/primitives/nmg/nmg_fuse.c: Update to file
'nmg_fuse.c' function 'v_ptr_comp' which is used by qsort within
function 'nmg_model_edge_fuse'. This change was to correct a
potential bug. |
17:30.09 |
*** join/#brlcad ksuzee
(~ksu@193.151.107.42) |
17:34.25 |
*** join/#brlcad KimK
(~Kim__@209.248.147.2.nw.nuvox.net) |
17:54.45 |
CIA-55 |
BRL-CAD: 03n_reed * r50991
10/brlcad/trunk/src/other/step/src/clstepcore/ (14 files): add dll
export symbols to clstepcore; SCL git 0705c50 |
18:29.02 |
CIA-55 |
BRL-CAD: 03n_reed * r50992
10/brlcad/trunk/src/other/step/ (16 files in 3 dirs): add dll
export symbols to cleditor; SCL git 2e01a01, c771b27, and
0869e41. |
18:59.51 |
CIA-55 |
BRL-CAD: 03Plussai 07http://brlcad.org * r3830
10/wiki/User:Plussai/GSoC_2012_log: /* 4 June 2012 */ |
19:09.31 |
CIA-55 |
BRL-CAD: 03Plussai 07http://brlcad.org * r3831
10/wiki/User:Plussai/GSoC_2012_log: /* 6 June 2012 */ |
19:12.05 |
CIA-55 |
BRL-CAD: 03Plussai 07http://brlcad.org * r3832
10/wiki/User:Plussai/GSoC_2012_log: /* 13 May 2012 */ |
19:17.39 |
CIA-55 |
BRL-CAD: 03n_reed * r50993
10/brlcad/trunk/src/other/step/src/fedex_plus/classes_misc.c: fix
buffer overrun based on SCL git 5e9dfd7 |
19:33.24 |
CIA-55 |
BRL-CAD: 03Crdueck 07http://brlcad.org * r3833
10/wiki/User:Crdueck/log: |
19:38.42 |
CIA-55 |
BRL-CAD: 03starseeker * r50994
10/brlcad/trunk/CMakeLists.txt: Make CMAKE_BUILD_TYPE case
insensitive for Release and Debug |
19:53.16 |
CIA-55 |
BRL-CAD: 03n_reed * r50995
10/brlcad/trunk/src/other/step/src/ (4 files in 2 dirs): support
comments in entities; SCL git 4ddce86 |
21:22.33 |
CIA-55 |
BRL-CAD: 03n_reed * r50996
10/brlcad/trunk/src/other/step/ (data/CMakeLists.txt
src/fedex_plus/classes_wrapper.cc): Have fedex_plus generate dll
import/export symbols. SCL git 80208dc. |
21:25.05 |
CIA-55 |
BRL-CAD: 03n_reed * r50997
10/brlcad/trunk/src/other/step/src/ (4 files in 3 dirs): Prefix
scl_hash routines with SCL_. SCL git 4740f4d and 737c53e. |
21:32.45 |
*** join/#brlcad cristina
(~quassel@188.24.68.192) |
21:33.07 |
CIA-55 |
BRL-CAD: 03crdueck * r50998
10/brlcad/trunk/src/librt/primitives/tgc/tgc.c: added general
centroid function for tgc. missing case for tec, need to confirm
formula |
21:36.19 |
CIA-55 |
BRL-CAD: 03crdueck * r50999
10/brlcad/trunk/src/librt/primitives/table.c: updated
RT_DECLARE_INTERFACE() to include new primitive callback functions
for vol, surface area and centroid |
21:43.12 |
CIA-55 |
BRL-CAD: 03crdueck * r51000
10/brlcad/trunk/src/librt/primitives/ell/ell.c: made changes to
rt_ell_sfa to comply with the new rt_functab interface, some
unrelated ws changes |
21:47.54 |
CIA-55 |
BRL-CAD: 03n_reed * r51001
10/brlcad/trunk/src/other/step/ (5 files in 4 dirs): warning fixes
from SCL git 2179c8a and ca4940e |
21:51.20 |
CIA-55 |
BRL-CAD: 03crdueck * r51002
10/brlcad/trunk/src/librt/primitives/table.c: updated rt_functab
entries for tor, tgc, ell, and sph to include new
functions |
21:52.25 |
CIA-55 |
BRL-CAD: 03starseeker * r51003
10/brlcad/trunk/CMakeLists.txt: Remove debugging message |
22:02.55 |
CIA-55 |
BRL-CAD: 03n_reed * r51004
10/brlcad/trunk/src/other/step/src/ (4 files in 3 dirs): warning
fixes from SCL git 166425a and dcdd77a |
22:09.44 |
CIA-55 |
BRL-CAD: 03Ksuzee 07http://brlcad.org * r3834
10/wiki/User:Ksuzee/Reports: |
22:11.54 |
crdueck |
brlcad: i've been working on integrating the
new primitive callback functions into the analyze command. I've
updated the rt_functab in raytrace.h, and the tables and macros in
primitives/table.c, so everything should be ready to start using
the new functions. my question is how do i call them in libged? i
thought they'd be provided by raytrace.h but calling them directly
isnt working. |
22:12.08 |
starseeker |
crdueck: librt.so.20.0.1: undefined reference
to `rt_tor_surf_area' |
22:12.14 |
starseeker |
is that one of your functions? |
22:13.09 |
starseeker |
might want to check the build |
22:13.20 |
crdueck |
starseeker: yes, looks like i didnt name the
function correctly. one sec |
22:14.12 |
CIA-55 |
BRL-CAD: 03crdueck * r51005
10/brlcad/trunk/src/librt/primitives/tor/tor.c: fix rt_surf_area
name |
22:30.33 |
CIA-55 |
BRL-CAD: 03Cprecup 07http://brlcad.org * r3835
10/wiki/User:Cprecup/GSoC2012_progress: 05/06/2012, 07/06/2012 -
write helper script for checking if libavoid exists + Adaptagrams
example ran |
22:32.54 |
*** join/#brlcad ksuzee
(~ksuzee91@193.151.107.42) |
22:36.31 |
*** part/#brlcad ksuzee
(~ksuzee91@193.151.107.42) |
22:59.56 |
CIA-55 |
BRL-CAD: 03starseeker * r51006
10/brlcad/trunk/src/brlman/brlman.bat: Fix brlman script on Windows
- works now. |
23:47.00 |
CIA-55 |
BRL-CAD: 03starseeker * r51007
10/brlcad/trunk/ (8 files in 8 dirs): Improve handling of file
output locations in multi-configuration situations. |
23:53.42 |
CIA-55 |
BRL-CAD: 03starseeker * r51008
10/brlcad/trunk/NEWS: Add support to brlman script for specifying
section numbers - e.g. brlman 1 rt will show the man page for the
command line rt tool and brlman n rt will show the man page for
MGED's rt command. |
23:55.07 |
CIA-55 |
BRL-CAD: 03starseeker * r51009
10/brlcad/trunk/NEWS: |
23:55.08 |
CIA-55 |
BRL-CAD: Added support to the brlman script
for viewing html versions of man pages, |
23:55.08 |
CIA-55 |
BRL-CAD: either when explicitly requested via
the -g (i.e. graphical) option or (on |
23:55.08 |
CIA-55 |
BRL-CAD: platforms such as Windows) no man
command is available to view the traditional |
23:55.08 |
CIA-55 |
BRL-CAD: man page. |