vrmlpad21.docx

上传人:b****8 文档编号:9675320 上传时间:2023-05-20 格式:DOCX 页数:72 大小:164.54KB
下载 相关 举报
vrmlpad21.docx_第1页
第1页 / 共72页
vrmlpad21.docx_第2页
第2页 / 共72页
vrmlpad21.docx_第3页
第3页 / 共72页
vrmlpad21.docx_第4页
第4页 / 共72页
vrmlpad21.docx_第5页
第5页 / 共72页
vrmlpad21.docx_第6页
第6页 / 共72页
vrmlpad21.docx_第7页
第7页 / 共72页
vrmlpad21.docx_第8页
第8页 / 共72页
vrmlpad21.docx_第9页
第9页 / 共72页
vrmlpad21.docx_第10页
第10页 / 共72页
vrmlpad21.docx_第11页
第11页 / 共72页
vrmlpad21.docx_第12页
第12页 / 共72页
vrmlpad21.docx_第13页
第13页 / 共72页
vrmlpad21.docx_第14页
第14页 / 共72页
vrmlpad21.docx_第15页
第15页 / 共72页
vrmlpad21.docx_第16页
第16页 / 共72页
vrmlpad21.docx_第17页
第17页 / 共72页
vrmlpad21.docx_第18页
第18页 / 共72页
vrmlpad21.docx_第19页
第19页 / 共72页
vrmlpad21.docx_第20页
第20页 / 共72页
亲,该文档总共72页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

vrmlpad21.docx

《vrmlpad21.docx》由会员分享,可在线阅读,更多相关《vrmlpad21.docx(72页珍藏版)》请在冰点文库上搜索。

vrmlpad21.docx

vrmlpad21

 

VrmlPadv.2.1

User’sGuide

 

Copyright©1999-2004ParallelGraphics

Contents

Overview1

AboutVrmlPad1

ProductFeatures1

NewFeaturesinVrmlPad2.12

NewFeaturesinVrmlPad2.03

AvailableAdd-ins4

MaterialEditor4

FindinFiles4

Fieldsvalidationmacro4

Samplemacros5

ExtrusionEditor5

AboutVRML6

DesignCriteria6

CharacteristicsofVRML6

Scope6

IntroductiontotheVrmlPadAutomation7

TextEditor9

Overview:

TextEditor9

SyntaxColoring9

AutoComplete10

ErrorProcessing11

NodeFolding12

Nodethumbnails13

FindingText14

RegularExpressions15

FileNavigation16

WorkingwithWorkspace17

UsingDrag-and-DropEditing18

EditorCommandsandKeystrokes18

SceneTree21

Overview:

SceneTree21

SceneTreeNavigation22

Moving,Copying,andCloningNodeswithintheSceneTree22

NamingNodesintheSceneTree23

RoutingMap25

Overview:

RoutingMap25

ManagingRoutes25

ResourceView27

Overview:

ResourceView27

ManagingResources27

UsingDrag-and-DropintheResourceView28

FileList30

Overview:

FileList30

UsingDrag-and-DropintheFileList30

ScriptDebugger32

Overview:

ScriptDebugger32

EditTime,RunTime,andBreakMode32

Debuggercommands34

Debuggerwindows36

SpreadsheetFields37

ViewingtheValueofaVariable37

ModifyingtheValueofaVariable38

PublishingWizard40

TheBasicsofPublishing40

SettingUptheDestination40

ChoosingAdditionalResourceDirectories40

ExcludingFilesfromPublishing41

VRMLOptimizationOptions41

SpecifyingDirectoryOrganization42

ReviewingtheDirectoryStructure42

PreviewingPublishedDocuments42

HintsandTips43

HowtocompressaVRMLfile43

HowtodownloadaVRMLfilefromtheNet.43

HowtouploadaVRMLfiletoaremoteserver.44

Howtoquicklyfindthedefinition(reference)ofanidentifier.44

HowtoinsertapairofnodeorPROTObraces.45

Howtoinsertdefaultfieldvalue.45

Howtoindentablockoflines.45

Howtocommentablockoflinesoranentirenode.45

Howtolocateasyntaxorsemanticerror.46

HowtomakeaVRMLfilesmaller.46

HowtoexposeafieldtoaPROTOinterface.46

HowtoregisteraVRMLextension.47

Howtochangeasetofthestandardnodes.47

HowtochangeasourceoftheNodeHelp.48

WhatarethewaysIcanaccesstheVrmlPadobjectmodel?

48

HowtoautomateVrmlPadfromanotherapplication.49

Overview

AboutVrmlPad

VrmlPadisapowerfulandflexibleauthoringtoolfromParallelGraphicsthatallowsyoutodesignanddevelopprofessionalVRMLcontent.

UseVrmlPadtocreateVRMLworldsforpublishingontheWorldWideWeb.VrmlPadfullysupportstheVRML97specification.

ProductFeatures

Editing–Accesstolocalandremotefiles,multipleundo/redo,setbookmarks,advancedfindandreplace,syntaxtips,smartAutoComplete,autoindent,dynamicnodefolding,customizablekeyboardshortcuts.

Enhancedcolor-coding–CustomizablebyVRMLkeywords,fieldandnodecategories.

Dynamicerrorsdetecting–Viewandenumeratesyntaxandwiderangeofsemanticerrorsandwarnings–undefinedidentifiers,nonmatchedfields,duplicatednodedefinitionsandmore.

DocumentTabs–Openandeditmultipledocuments.Findandreplaceinallopeneddocuments.Documentlistincludesalsofiledependenciesoftheactivedocument.

SceneTree–View,editandnavigatehierarchicalscenestructure.Synchronizeselectioninbothdirections.Delete,commentandrenamenodes,PROTOsandfielddeclarations.

RoutingMap–Viewandeditsceneroutes.Synchronizeselectioninbothdirections.Delete,commentandaddnewroutesusingStart RouteandAdd Routecommands.

ResourceView–View,editandnavigatedocumentdependencies.Renameandbrowseallreferencestoaresource.Convert,whenpossible,absolutereferencestorelativeandviceversa.

Preview–PreviewscenesininstalledbrowsersandVRMLviewers.PreviewindividualnodesusingtheNodePreviewcommand.

PublishingWizard–(notshownonthefigure)OrganizeandoptimizeyourscenewithdependenciesforpublishingontheNetandputthefilesonyourWebserverorsenditbye-mail.

AutomationandScripting–(notshownonthefigure)ManipulatetheprogramfromexternalapplicationsusingtheC,C++,VisualBasic®,BorlandDelphi®.Createadd-ins,VBScriptandJavaScriptmacrosandexecutethemfromwithintheVrmlPadenvironment,automatingcustomtasks.

VrmlScriptDebugger–LocatebugsinyourvrmlscriptdriveninteractiveVRMLscenesusingtheintegratedscriptdebugger.

ThedebuggerinterfaceprovideswrapperfortheCortonaVRMLclient,specialmenus,windows,dialogboxes,andspreadsheetfields.Drag-and-dropfunctionalityisavailableformovingdebuginformationbetweencomponents.Occasionallythedebuggerispausedinbreakmode,meaningthedebuggeriswaitingforuserinputaftercompletingadebuggingcommand(likebreakatbreakpoint,stepinto/over/out/tocursor,breakafterBreakcommandorRestart).

NodeThumbnails-PreviewindividualnodesinthesceneattherightofTexteditorassoonyoutype.PreviewselectednodesinadefaultVRML-viewer.

NewFeaturesinVrmlPad2.1

Previewindividualnodes

Inadditiontopreviewingawholescene,nowyoucanpreviewanyindividualnodeinit.Thisnode(aswellasitsdescendantnodes,ifany)willbeopenedinadefaultVRML-viewer.Topreviewanode,positionthecaretinsidethetextofthenodeandchooseNodePreviewcommandfromToolsmenu.

Nodethumbnails

Nodethumbnailsaresmallrenderedpicturesofindividualnodesinthescene.ThesepicturesappeartotherightoftheTexteditorassoonyoutypeinthetextofthecorrespondingnodes.

Toenablenodethumbnails,chooseOptionsfromToolsmenu,clickEditortabtoopenthecorrespondingpage,andselectRendernodethumbnails.

Workingwithworkspace

NowyoucansavethecurrentVrmlPadworkspace,includingtheplacementofallopenfiles,theircaretpositions,bookmarks,foldsettingsanddebugbreakpoints.ChooseFile>Workspace>Saveandspecifythenamefortheworkspacetobesaved.ThelatestsavedworkspacewillbeopenedautomaticallywhenyourestartVrmlPad.Touseadifferentworkspace,chooseitintheOpenWorkspacedialog(File>Workspace>Open),workspacefileshavethe.vwsextension.

NewFeaturesinVrmlPad2.0

IntegratedScriptDebugger

Nowyoucanusedebuggingfeaturesthatarecollectivelyreferredtoasintegratedscriptdebugger.ThesefeaturesletyoufindandfixerrorsintheinlinevrmlscriptcodeinyourVRMLscenesandonHTMLpageswithembeddedCortonacontrols.Theintegratedscriptdebuggerisafull-featureddebuggerthatenablesyouto:

∙Controltheexecutionofyourscript,includingpausingtheexecution;runningtoacursor,orabreakpointlocation;steppingthroughcode.

∙Monitorthestateofscriptdata,includingthecurrentcallstack;variables,arrays,andobjectsthatareavailableinthecurrentcontext;evaluateexpressions,containingthesedataitems.

∙Modifythevaluesofvariables,arrays,andobjectsinyourscriptduringadebuggingsession.

∙Addnewprocedurestoyourscriptduringadebuggingsessionasyouwouldincode.

∙ExamineandmodifyontheflydataitemsinthescriptusingtheQuickwatchwindow.

∙UseCodeTipsforquickviewingofvariablesvaluesinthescript.

∙ExaminefullVRMLtextofruntimenodescorrespondstovalueofanexpression.

Fieldsvalidationmacro

ThemacrovalidatesconformanceoffieldvaluestotheVRML97specification.Someofabout100checksperformedbythemacro:

verifiesnodefieldscontaincorrecttypeofnodeorPROTO;increasinginterpolatorskeyvalues,ratioofkeytokeyValueentries;correctrelationshipbetweencoord/coordIndex,texCoord/texCoordIndex,color/colorIndex,normal/normalIndex;Colorvaluesbeinginrange0to1andmore.

SearchInFilesadd-in

TheFindinFileswindowenablesyoutoperformadvancedtextsearchinmultipleVRMLfilesatime(includingcompressedfiles).Literaltextstringsorregularexpressionstofindwordsorcharacterscanbeusedinthiscommand.

AvailableAdd-ins

MaterialEditor

TheMaterialEditorletsyoucreateandeditAppearanceandMaterialnodes.Youalsocanchooseexistingmaterialsfromapre-builtlibraryandaddyourownmaterialstoit.

FindinFiles

TheFindinFilesaddinenablesyoutoperformadvancedtextsearchinmultipleVRMLfilesatime(includingcompressedfiles).Literaltextstringsorregularexpressionstofindwordsorcharacterscanbeusedinthiscommand.

 

Tofindatextstringinmultiplesourcefiles:

1.FromtheToolsmenu,chooseFindinFiles.

2.IntheFindwhatbox,typethesearchtextoraregularexpression.

3.IntheInfolderbox,selectthefolderthatyouwanttosearch.

4.Ifnecessary,selectoneormoreoftheFindoptions.

5.ClicktheFindbuttontobeginthesearch.

6.Toopenafilecontainingamatch,double-clicktheentryinthelistbelow.

Fieldsvalidationmacro

TheFieldsValidationmacrochecksscenesforconformanceofvariousfieldvaluestotheVRML97specification.Amongofabout100testsperformedbythemacroarechecksfor:

thefieldtypecompatibility(fieldsshouldcontainnodesorPROTOsofcorrecttype);increasinginterpolatorskeyvalues;ratioofkeytokeyValueentries;relationshipbetweencoord/coordIndex,texCoord/texCoordIndex,color/colorIndex,normal/normalIndexvalues;Colorvaluesbeinginrange0to1;etc.

Tovalidatefields:

∙FromtheToolsmenu,chooseValidateFields.

Samplemacros

SamplemacrosincludeusefulcommandsforenumeratingfacesinIndexedFaceSetnodes,completingselectednodeswithallfields,andconvertingtheBox,ConeandCylindernodestoanIndexedFaceSetetc.

MacroDe

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

当前位置:首页 > PPT模板 > 其它模板

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2