Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds


Browsing this Thread:   1 Anonymous Users






vhtk volume deformation
#1
Not too shy to talk
Not too shy to talk


See User information
Sorry for posting this again, but I am really in trouble.

I want to do some simple volume deformation, not that accurate.

I want to use the ChainMail algorithm to implement it, but I don't know where to add the code. I've been reading the vhtk source code for many days but still confused about the related class such as VolumeHpatics and VolumeProbe and so on.

Can anybody give me some suggestion or clue? I am very new in research and really need help.

Many thanks.


Posted on: 2009/12/16 3:58
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: vhtk volume deformation
#2
Guru
Guru


See User information
VHTK divides haptics and graphics into separate nodes. What you want is a node that deforms data and then provides both graphics and haptics from that. I suggest that you extend X3DChildNode and create a custom ForceEffect. Then in your node overload the functions render() to do the visual rendering, and traverseSG() where you activate your force effect. Your force effect will both provide input to the chainmail deformation and generate haptic feedback.

You don't need VHTK for this, however there might be convenient functions there that you may use. For example, your node may use a VHTKScalarImageNode to hold its data.

Make sure that you are confident with threading and synchronization because your force effect and main node will be called from different threads.

Posted on: 2009/12/16 7:59
KJ Lundin Palmerius
C Research
Linköping University, Sweden
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: vhtk volume deformation
#3
Not too shy to talk
Not too shy to talk


See User information
Hi Karlu

Thank you so much for your reply.

I will have a try after Christmas.

Best regards.

Posted on: 2009/12/17 3:03
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