机械英文翻译搅拌机.docx

上传人:b****6 文档编号:3322095 上传时间:2022-11-21 格式:DOCX 页数:10 大小:29.41KB
下载 相关 举报
机械英文翻译搅拌机.docx_第1页
第1页 / 共10页
机械英文翻译搅拌机.docx_第2页
第2页 / 共10页
机械英文翻译搅拌机.docx_第3页
第3页 / 共10页
机械英文翻译搅拌机.docx_第4页
第4页 / 共10页
机械英文翻译搅拌机.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

机械英文翻译搅拌机.docx

《机械英文翻译搅拌机.docx》由会员分享,可在线阅读,更多相关《机械英文翻译搅拌机.docx(10页珍藏版)》请在冰豆网上搜索。

机械英文翻译搅拌机.docx

机械英文翻译搅拌机

机械英文文献翻译-延长搅拌机

机械英文文献翻译-延长搅拌机

HAVE'2007-IEEEInternationalWorkshopon

HapticAudioVisualEnvironmentsandtheirApplications

Ottawa,Canada12-14October2007

ExtendingBlender:

DevelopmentofaHapticAuthoringTool

SheldonAndrews',MohamadEid2,AtifAlamri2,andAbdulmotalebElSaddik2

MultimediaCommunicationsResearchLaboratory-MCRLab

SchoolofInformationTechnologyandEngineering-UniversityofOttawa

Ottawa,Ontario,KIN6N5,Canada

'sandrO71]@site.uottawa.ca,2teid,atifWabed]@mcrlab.uottawa.Ca

Abstract-Inthispaper,wepresentourworktoextendawellknown3Dgraphicmodeler-Blender-tosupporthapticmodelingandrendering.TheextensiontoolisnamedHAMLAT(HapticApplicationMarkupLanguageAuthoringTool).WedescribethemodificationsandadditionstotheBlendersourcecodewhichhavebeenusedtocreateHAMLATFurthermore,wepresentanddiscussthedesigndecisionsusedwhendevelopingHAMLAT,andalsoanimplementation"roadmap"whichdescribesthechangestotheBlendersourcecode.Finally,weconclude

withdiscussionofourfuturedevelopmentandresearchavenues.

Keywords-Haptics,HAML,GraphicModelers,Blender,VirtualEnvironments.

I.INTRODUCTION

A.Motivation

Theincreasingadoptionofhapticmodalityinhuman-computerinteractionparadigmshasledtoahugedemandfornewtoolsthathelpnoviceuserstoauthorandedithapticapplications.Currently,thehapticapplicationdevelopmentprocessisatimeconsumingexperiencethatrequiresprogrammingexpertise.Thecomplexityofhapticapplicationsdevelopmentrisesfromthefactthatthehapticapplicationcomponents(suchasthehapticAPI,thedevice,thehapticrenderingalgorithms,etc.)needtointeractwiththegraphiccomponentsinordertoachievesynchronicity.

Additionally,thereisalackofapplicationportabilityastheapplicationistightlycoupledtoaspecificdevicethatnecessitatestheuseofitscorrespondingAPI.Therefore,deviceandAPIheterogeneityleadtothefragmentationanddisorientationofbothresearchersanddevelopers.Inviewofalltheseconsiderations,thereisaclearneedforanauthoringtoolthatcanbuildhapticapplicationswhilehidingprogrammingdetailsfromtheapplicationmodeler(suchasAPI,device,orvirtualmodel).

ThispaperdescribesthetechnicaldevelopmentoftheHapticApplicationMarkupLanguageAuthoringTool(HAMLAT).ItisintendedtoexplainthedesigndecisionsusedfordevelopingHAMLATandalsoprovidesanimplementation"roadmap",describingthesourcecodeoftheproject.

B.Blender

HAMLATisbasedontheBlender[1]softwaresuite,whichisanopen-source3Dmodelingpackagewitharichfeatureset.Ithasasophisticateduserinterfacewhichis

notedforitsefficiencyandflexibility,aswellasitssupportsformultiplefileformats,physicsengine,modemcomputergraphicrenderingandmanyotherfeatures.

BecauseofBlender'sopenarchitectureandsupportivecommunitybase,itwasselectedastheplatformofchoicefordevelopmentofHAMLAT.Theopen-sourcenatureofBlendermeansHAMLATcaneasilyleverageitsexistingfunctionalityandfocusonintegratinghapticfeatureswhichmakeitacompletehapto-visualmodelingtool,sincedevelopinga3DmodelingplatformfromscratchrequiresconsiderabledevelopmenttimeandexpertiseinordertoreachthelevelofcodeintotheHAMLATsourcetree.

HAMLATbuildsonexistingBlendercomponents,suchastheuser-interfaceandeditingtools,byaddingnewcomponentswhichfocusontherepresentation,modification,andrenderingofhapticpropertiesofobjectsina3Dscene.ByusingBlenderasthebasisforHAMLAT,wehopetodevelopa3Dhapticmodelingtool

whichhasthematurityandfeaturesofBlendercombined

withthenoveltyofhapticrendering.

Atthetimeofwriting,HAMLATisbasedonBlenderversion2.43sourcecode.

C.ProjectGoals

Aspreviouslystated,theoverallgoalfortheHAMLATprojectistoproduceapolishedsoftwareapplicationwhichcombinesthefeaturesofamodemgraphicmodelingtoolwithhapticrenderingtechniques.HAMLAThasthe"lookandfeel"ofa3Dgraphicalmodelingpackage,butwiththeadditionoffeaturessuchashapticrenderingandhapticpropertydescriptors.Thisallowsartists,modelers,anddeveloperstogeneraterealistic3Dhapto-visualvirtualenvironments.

Ahigh-levelblockdiagramofHAMLATisshowninFigure1.Itillustratestheflowofdatainthehapticmodeling.HAMLATassiststhemodeler,orapplicationdeveloper,inbuildinghapto-visualapplicationswhichmaybestoredinadatabaseforlaterretrievalbyanotherhapticapplication.Byhapto-visualapplicationwerefertoanysoftwarewhichdisplaysa3Dscenebothvisuallyandhapticallytoauserinavirtualsetting.AnXMLfileformat,calledHAML[2],isusedtodescribethe3Dscenesandstorethehapto-visualenvironmentsbuiltbyamodelerforlaterplaybacktoanenduser.

Traditionally,buildinghapto-visualenvironmentshasrequiredastrongtechnicalandprogrammingbackground.Thetaskofhapticallyrenderinga3Dsceneistedious1108

sincehapticpropertiesmustbeassignedtoindividualobjectsinthesceneandcurrentlytherearefewhigh-leveltoolsforaccomplishingthistask.HAMLATbridgesthisgapbyintegratingintotheHAMLframeworkanddeliveringacompletesolutionfordevelopmentofhapto-visualapplicationsrequiringnoprogrammingknowledge.

Theremainderofthepaperisorganizedasfollows:

inSection2,wepresenttheproposedarchitectureextensionsanddiscussdesignconstraints.Section3describestheimplementationdetailsandhowhapticpropertiesareaddedandrenderedwithintheBlenderframework.InSection4wediscussrelatedissuesandfutureworkavenues.

II.SYSTEMOVERVIEWANDARCHITECTURE

TheBlenderdesignphilosophyisbasedonthreemaintasks:

datastorage,editing,andvisualization.Accordingtothelegacydocumentation[3],itfollowsadata-visualize-editdevelopmentcycleforthe3Dmodelingpipeline.A3DsceneisrepresentedusingdatastructureswithintheBlenderarchitecture.Themodelerviewsthescene,makeschangesusingtheeditinginterfacewhichdirectlymodifiestheunderlyingdatastructures,andthenthecyclerepeats.

Tobetterunderstandthisdevelopmentcycle,considertherepresentationofa3DobjectinBlender.A3Dobjectmayberepresentedbyanarrayofverticeswhichhave

beenorganizedasapolygonalmesh.Usersmaychoosetooperateonanysubsetofthisdataset.Editingtasksmayincludeoperationstorotate,scale,andtranslatethe

vertices,orperhapsare-meshingalgorithmto"cleanup"redundantverticesandtransformfromaquadtoatriangletopology.Thedataisvisualizedusingagraphical3Drendererwhichiscapableofdisplayingtheobjectasawireframeorasashaded,solidsurface.Thevisualizationisnecessaryinordertoseetheeffectsofeditingonthedata.Inanutshell,thisexampledefinesthedesignphilosophybehindBlender'sarchitecture.

InBlender,dataisorganizedasaseriesoflistsandbasedatatypesarecombinedwithlinksbetweenitemsineachlist,creatingcomplexscenesfromsimplestructures.

Thisallowsdataelementsineachlisttobereused,thusreducingtheoverallstoragerequirements.Forexample,ameshmaybelinkedbymultiplesceneobjects,butthepositionandorientationmaychangeforeachobjectandthetopologyofthemeshremainsthesame.AdiagramillustratingtheorganizationofdatastructuresandreuseofsceneelementsisshowninFigure2.Asceneobjectlinkstothreeobjects,eachofwhichlinktotwopolygonalmeshes.Themeshesalsoshareacommonmaterialproperty.Theentiresceneisrenderedononeofseveralscreens,whichvisualizesthescene.

WeadopttheBlenderdesignapproachforourauthoringtool.Thedatastructureswhichareusedtorepresentobjectsina3Dscenehavebeenaugmentedtoincludefieldsforhapticproperties(e.g.,stiffness,damping);userinterfacecomponents(e.g.,buttonpanels)whichallowthemodelertochangeobjectpropertieshavealsobeenupdatedtoincludesupportformodifyingthehapticpropertiesofanobject.Additionally,aninteractivehapto-visualrendererhasbeenimplementedtodisplaythe

3Dscenegraphicallyandhaptically,providingthemodelerorartistwithimmediatefeedbackaboutthechangestheymaketothescene.inthecurrentversionoftheHAMLAT.themodificationstotheBlenderframeworkinclude:

datastructuresforrepresentinghapticproperties,

aneditinginterfaceformodifyinghapticproperties,anexternalrendererfordisplayingandpreviewinghapticallyenabledscenes,scriptswhichallowscenestobeimported/exportedintheHAMLfileformat.

AclassdiagramoutliningthechangestotheBlenderrameworkisshowninFigure3.ComponentswhichareertinenttoHAMLATareshadedingray.HAMLATbuildsonexistingBlendersub-systemsbyextendingthemorhapticmodelingpurposes.Datastructuresforrepresentingobjectgeometryandgraphicalrenderingareaugmentedtoincludefieldwhichencompassthetactilepropertiesnecessaryforhapticrendering.

ToallowtheusertomodifyhapticpropertiesGUIComponentsareintegratedaspartoftheBlendereditingpanels.Theoperationstriggeredbythesecomponents

operatedirectlyonthedatastructuresusedforrepresentinghaticcuesandmaybeconsideredpartoftheeditingstepoftheBlenderdesigncycle.

Similarlytothebuilt-ingraphicalrenderer,HAMLATusesacustomrendlererfordisplaying3Dsscenesgrphcalandhaptcall,anisineednoftheBlenderrenderer.Thiscomponentisdevelopedindependentlysincehapticalandgraphicalrenderingmustbeperformedsimultaneouslyandsynchronously.Asimulationloopisusedtoupdatehapticrend

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1