Discussion:
[brlcad-devel] Fwd: request for some help
Vasco Alexandre da Silva Costa
2017-04-20 18:25:38 UTC
Permalink
Hello Shailesh,
Your patch needed to be manually merged, because it had merge conflicts
with the latest version at SVN HEAD.

Other than that you can't use just any value for ID_HRT. You need to use
the value declared in "include/rt/defines.h". That produces visible output.

But there are still problems with the intersections. Depending on the view
direction the output can be completely out of whack. It is probably some
issue either with the orientation matrix/computations or with the equation
solver.

Regards,

---------- Forwarded message ----------
From: Shailesh Tripathi <***@itbhu.ac.in>
Date: Thu, Apr 13, 2017 at 12:12 AM
Subject: Re: request for some help
To: Vasco Alexandre da Silva Costa <***@gmail.com>


...
I am attaching my patch containing the latest changes.
in hrt.s hrt 0 0 0 1 0 0 0 1 0 0 0 1 14
rt -z1
Also, please tell me is there a log file generated with the rt log, as I am
not being able to copy my log to ask it on the mailing list.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Vasco Alexandre da Silva Costa
2017-04-20 18:58:27 UTC
Permalink
On Thu, Apr 20, 2017 at 7:25 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
Hello Shailesh,
Your patch needed to be manually merged, because it had merge conflicts
with the latest version at SVN HEAD.
Other than that you can't use just any value for ID_HRT. You need to use
the value declared in "include/rt/defines.h". That produces visible output.
But there are still problems with the intersections. Depending on the view
direction the output can be completely out of whack. It is probably some
issue either with the orientation matrix/computations or with the equation
solver.
PS: The OpenCL equation solver hasn't been tested with polynomials over 4th
degree. So I wouldn't be surprised if there is a bug there.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Shailesh Tripathi
2017-04-21 00:41:27 UTC
Permalink
Hello Sir,
I changed the ID_HRT value to the one defined in "include/rt/defines.h" but
I am still not able to get any output.
For the other errors, I am still figuring out how to use GDB.

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Fri, Apr 21, 2017 at 12:28 AM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
On Thu, Apr 20, 2017 at 7:25 PM, Vasco Alexandre da Silva Costa <
Post by Vasco Alexandre da Silva Costa
Hello Shailesh,
Your patch needed to be manually merged, because it had merge conflicts
with the latest version at SVN HEAD.
Other than that you can't use just any value for ID_HRT. You need to use
the value declared in "include/rt/defines.h". That produces visible output.
But there are still problems with the intersections. Depending on the
view direction the output can be completely out of whack. It is probably
some issue either with the orientation matrix/computations or with the
equation solver.
PS: The OpenCL equation solver hasn't been tested with polynomials over
4th degree. So I wouldn't be surprised if there is a bug there.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Continue reading on narkive:
Loading...