Daniel (or anyone else who can help me out),

I am trying to implement the voxelize function in libged. I have a function
ged_voxelize(struct ged* gedp, int argc ,char *argv[] ) which does the
following :

I do:
1. rtip = rt_new_rti(gedp->ged_wdbp->dbip);
2. then i use rt_gettree to get the command line arguments which user wants
ion raytrace
3. then i use rt_prep_parallel(rtip,1) to get the bounding box etc which is
required for the voxelize command

However after this when i try to output data related to the bounding box i
am getting incorrect results. This means that (rtip->mdl_min)[0] etc do not
give the correct output. Is there a problem in my implementation? If so,
can someone please point it out? Actually when i call voxelize from
ged_voxelize after this i get segmentation fault also.

Thanks and regards,
-- 
Anurag Murty
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to