CurvesandSurfaces(I).ppt

上传人:max****ui 文档编号:6328690 上传时间:2020-02-22 格式:PPT 页数:15 大小:377.05KB
返回 下载 相关 举报
CurvesandSurfaces(I).ppt_第1页
第1页 / 共15页
CurvesandSurfaces(I).ppt_第2页
第2页 / 共15页
CurvesandSurfaces(I).ppt_第3页
第3页 / 共15页
点击查看更多>>
资源描述
CurvesandSurfaces I Basedon EA Chapter10 姜明北京大学数学科学学院 更新时间2020年2月22日星期六11时43分21秒 Introduction Incomputergraphics flatobjectsarepopularinthisvirtualworldGraphicsystemscanrenderthemathighrates Weneedmethodstomodelcurvedobjects Outline RepresentationofCurvesandSurfacesDesignCriteriaParametricCubicPolynomialCurvesCubicInterpolatingPolynomial RepresentationofCurvesandSurfaces ThreemajorwaysofobjectrepresentationExplicitRepresentationImplicitRepresentationsParametricFormPolynomialRepresentationsParametricPolynomialCurvesParametricPolynomialSurfaces ExplicitRepresentation Noguaranteethatthisrepresentationexistsforagivencurve surfacez f x y cannotrepresenta full sphere Somecurvesandsurfacesmaynothaveanexplicitrepresentation Coordinate system dependenteffect Easytoobtainpointsonthem ImplicitRepresentations f x y z 0in3Dorf x y 0in2D Lesscoordinate system dependent itdoesrepresentalllines circles Allowtodeterminewhetherpointslieonthecurve surface Difficulttofindpointsonthecurve surface Curvesin3Darenoteasilyrepresentedinimplicitformbecauseittakestwoequationstorepresentacurvein3Df x y z 0andg x y z 0 Ingeneral mostofthecurvesandsurfacesthatariseinrealapplicationshaveimplicitrepresentations Theiruseislimitedbythedifficultinobtainingpointsonthem EA p 600 Algebraicsurfaces f x y z isapolynomial Ofparticularimportancearethequadricsurfaces ParametricForm Sameformin2Dand3D Mostflexibleandrobustforcomputergraphicsthantheothers Stillcoordinate system dependent Coordinate system independentrepresentationsarepossibleUsingFrenetframeforcurves Difficulttodetermineifapointisonthecurve surface ParametricPolynomialCurves Surfaces Parametricrepresentationsarenotunique Parametricpolynomialformsareofmostuseincomputergraphics SurfacePatch CurveSegment DesignCriteria Localcontrolofshape Asingleglobaldescriptionisgenerallyoutofthequestionandtoocomplex Wewouldlike havetoworkinteractivelywiththeshape carefullymoldingitmeetspecificationsSmoothnessandcontinuityatjointpointsAcurvewithdiscontinuityisoflittleinteresttous Notonlywilleachsegmenthavetobesmooth butalsowewantadegreeofsmoothnesswherethesegmentsmeetatjointpoint Smoothnessismeasuredwithderivativesalongthecurves surfaces Abilitytoevaluatederivativesisneededtoevaluatesmoothnessandnormals StabilityItisnecessarytobendcurves surfacestothedesiredshapethroughlocalcontrolpoints Whenwemakeachange thischangewillonlyaffecttheshapeinonlytheareawhereweareworking Weareusuallysatisfiedifthecurve surfacepassesclosetothecontrolpoints EaseofRenderingGoodmathrepresentationsmaybeoflimitedvalueiftheycannotbeefficientlyrendered Splines Splinesaretypesofcurves originallydevelopedforship buildinginthedaysbeforecomputermodeling Navalarchitectsneededawaytodrawasmoothcurvethroughasetofpoints Thesolutionwastoplacemetalweights calledknots atthecontrolpoints andbendathinmetalorwoodenbeam calledaspline throughtheweights Thephysicsofthebendingsplinemeantthattheinfluenceofeachweightwasgreatestatthepointofcontact anddecreasedsmoothlyfurtheralongthespline Togetmorecontroloveracertainregionofthespline thedraftsmansimplyaddedmoreweights Thisschemehadobviousproblemswithdataexchange Peopleneededamathematicalwaytodescribetheshapeofthecurve CubicPolynomialsSplinesarethemathematicalequivalentofthedraftsman swoodenbeam PolynomialswereextendedtoB splines forBasissplines whicharesumsoflower levelpolynomialsplines ThenB splineswereextendedtocreateamathematicalrepresentationcalledNURBS ReadHistoryofSplines Editedfrom ParametricCubicPolynomialCurves Wemustchoosethedegreeofpolynomials IfwechoosehigherdegreeWewillhavemoreparametersthatwecansettofromthedesiredshapeCubicisenough Theevaluationofpointswillbecostly Thereismoredangerthatthecurvewillbecomerougheratsomepoints Ifwepicktoolowadegree wemaynothaveenoughparameterstoworkandtomakethemtojoinsmoothly Ifwedesigneachcurvesegmentoverashortinterval wecanachievemanyofourpurposeswithlow degreecurves Cubicpolynomialsarechosen atleastinitially cistobedeterminedfromthecontrol pointdata Typesofcubiccurvesdifferinhowtheyusethecontrol pointdata ThedatamaybeInterpolating thepolynomialmustpasssomepoints Higherorderinterpolatingatcertainparametervalues Smoothnessconditionsatjoinpoints Approximative thecurvepassclosetosomedatapoints CubicInterpolatingPolynomial Supposethatwehavefourcontrolpointsin3D Weseekthecoefficientscsuchthatthepolynomialp u uTcpassesthroughthefourpoints Weassumetheintervalis 0 1 thecurvepassesfourpointsatu 0 1 3 2 3 and1 Joiningofinterpolatingsegments Becauseofthelackofderivativecontinuityatjointpoints theinterpolatingpolynomialisoflimiteduseincomputergraphics BlendingFunctions CubicInterpolatingPatch AbicubicsurfacepatchcanbewrittenintheformSupposethatwehave163Dcontrolpointspij Wecanusethosepointstodefineaninterpolatingbicubicsurfacepatchatinterpolatingpoints0 1 3 2 3 1 Itiseasytofindtheinterpolatingpolynomialbytensorproduct
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!