Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds


Browsing this Thread:   1 Anonymous Users






Volume Probe
#1
Quite a regular
Quite a regular


See User information
Hi Karlu,

I'm having trouble with VolumeProbe not returning the correct values. It seems, it works fine as long as I don't rotate the volume around.

The volume being rendered is different from the volume being probed though they shares the same transform.

I tried to fix this bug but I'm not very sure what went wrong.

Can you please give me some guidance ?

thank you for your time,

Posted on: 2010/9/13 4:18
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Volume Probe
#2
Guru
Guru


See User information
Do you use code similar to this
<IMPORT inlineDEF="H3D_EXPORTS" exportedDEF="HDEV" AS="HDEV"/>
  <
ROUTE fromNode="HDEV" fromField="trackerPosition"
         
toNode="PROBE" toField="probe"/>

where PROBE is the VolumeProbe node? That's cut-n-paste from an application in use.

Posted on: 2010/9/14 10:32
KJ Lundin Palmerius
C Research
Linköping University, Sweden
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Volume Probe
#3
Quite a regular
Quite a regular


See User information
Thanks Karlu,

It works like a charm. Before I had:

<IMPORT inlineDEF="H3D_EXPORTS" exportedDEF="HDEV" AS="HDEV"/>
<
ROUTE       
      fromNode
="HDEV" fromField="trackerOrientation"       
      
toNode="INFO" toField="orientation" />  
<
ROUTE       
      fromNode
="INFO" fromField="position"           
      
toNode="probePRE" toField="probe" />


And It didn't work. Do you have any idea why?

Thanks again,

Posted on: 2010/9/15 3:01
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: Volume Probe
#4
Guru
Guru


See User information
First of all, I think that the volume probe converts to the correct local coordinates system by itself so no INFO node should be required. I should know these things of course but I don't. Secondly, you route the tracker orientation to the orientation field of the INFO node, but not the tracker position. The INFO node has no data about the tracker position.

Posted on: 2010/9/23 11:03
KJ Lundin Palmerius
C Research
Linköping University, Sweden
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]





(C) 2012 SenseGraphics AB    ---    Powered by XOOPS