User Activity

  • Posted a comment on discussion Help on BRL-CAD

    I want to serialize BRL-CAD database into memory sequence instead of file and deserialize it so that I can embed the .g binary into a SQL database. I can do it with creating temporary .g file but I wonder if it is possible without temporary file. Thank you.

  • Posted a comment on discussion Help on BRL-CAD

    Thank you for your kind suggestions and detailed responses. Very helpful. Thanks alot!

  • Modified a comment on discussion Help on BRL-CAD

    Thank you for very detailed explanations! I have futher questions from your answers. 1 . Can you check if I understand what you explained? Suppose there are two regions, r1 and r2. r1 region contains two cubes, c1 and c2. r2 region contains one sphere, s1. Those geometries are located in order of c1, s1, and c2. No overlap exists. I shoot a ray with a_onehit == 0 from left of c1 to right of c2 and it penetrates center of all geometries. The order of penetration of the ray will be: (start of ray)...

  • Posted a comment on discussion Help on BRL-CAD

    Thank you for very detailed explanations! I have futher questions from your answers. Can you check if I understand what you explained? Suppose there are two regions, r1 and r2. r1 region contains two cubes, c1 and c2. r2 region contains one sphere, s1. Those geometries are located in order of c1, s1, and c2. No overlap exists. I shoot a ray with a_onehit == 0 from left of c1 to right of c2 and it penetrates center of all geometries. The order of penetration of the ray will be: (start of ray) -- c1...

  • Posted a comment on discussion Help on BRL-CAD

    I have some questions about rt_shootray(). When a_onehit is zero, how many times does BRL-CAD call a_hit() callback? Suppose that there are a sphere and a cube and the given ray intersects both geometries. In this case, is a_hit() invoked twice for each geometry, or once with one partition list? What is the order of a_hit() callback invocation? Is there any assurance for invocation order of a_hit()? What is the order of partitions in the linked list of partition parameter? For instance, is it gauranteed...

  • Posted a comment on discussion Help on BRL-CAD

    It seems that I misunderstood usage of rt_shootray(). At the very first time, rt_shootray() is supposed to be used in multiple threads..

  • Posted a comment on discussion Help on BRL-CAD

    As far as I know, BRL-CAD supports parallel raytracing inside one rt_shootray() call with rt_prep_parallel(). However, I'd like to launch multiple rt_shootray call concurrently since my scene is relatively simple so that parallelism in one rt_shootray() call does not give a big benefit, in my test. So, the question is, can I call rt_shootray() in multiple thread on same database thread-safely?

  • Posted a comment on discussion Help on BRL-CAD

    I'm working with an application using BRL-CAD. The application handles BRL-CAD database file(.g). Since the CAD files are copyrighted, I want to add some kind of protection to prevent unallowed access. My first idea is encrypt the .g file and decrypt it in memory. However, I cannot figure out how to open(read) .g format binary from memory not disk. To create temporary file with decrypted data is not an option because once I write it into disk, the protection is broken. Is it possible to open .g format...

View All

Personal Data

Username:
darklin20
Joined:
2009-07-05 12:19:57

Projects

This is a list of open source software projects that xylosper is associated with:

  • bomi   Last Updated:

Personal Tools