View Full Version : need some help in VRML
29-03-2003, 09:41 PM
Who know vrml from max?
I have some problem with anchor object
I don't use the native Max VRML objects. I normally build the geomities I want in max then export them (useing Blaxxon or Mark Callow's exporter, both fix many of the error that Max's native exporter doesn't.) I then add the anchors amd sensors by hand in a text editor (I like VRML Pad by ParillelGraphics, but any text editor will work.) If you need some help though the anchor objects syntax is as follows:
children  #Group, Transfrom, or Shape
description "" #Text disciption, shows in the title bay on a mouse over
url  #url link or list of links
I hope that helps you out. A good book for learning VRML is the VRML Core Sourcebook Vol. 2.
Okay I've looked at the native max VRML Anchor objects. It's fairly straight forward, you create the object the same way you create anything else in Max, by selecting a point in the veiwport, left clicking the mouse and dragging it. Then there is a button "Pick Trigger Object" select this button then select the geomitry or helper you what the anchor applied to. Next choose if you what a URL(Hyperlink jump) or a viewport(camera) to be the link. Under parameters in the Hyperlink Jump area you would put browser specific comands, these are text string followed by an = and a target value. An examplewould be the keyword target is used for setting frames in an HTML page. So if you put "target=myframe" (Myframr being the name of the frame you want the page to load to,) in the parameter field, then in the VRML world when you click the mouse on the anchor object you would get what every URL you linked the the anchor to opening in the frame "myframe" on your page. This is a handy trick if you want to give details about something in a side frame on an object when you click on it.
I'm using Max 4.26 at the moment, it is nearly the same in max 5.1 though. The only differance is that in 5 one anchor can be used on a list of objects and is not just limited to one and the rllout looks alittle different.
31-03-2003, 08:57 PM
I want to link the ping comand from Windows on a object from VRML world...
That sounds more like you'll need a Java Scripting, and instead of an anchor I'd use a touch sensor. When the torch sensor is activated (clicked on) it can send the isActive peramiter to the Script node and start the script, I'm not sure exactly what you want but that should be the basic set up.
01-04-2003, 04:32 PM
i try to create the network from my work place and when i clik on one computer to initiate the ping comand to that computer to see if its on line...
Please post to the appropriate forum in the future. If your query is software related it belongs in Software Help not General Discussion
01-04-2003, 06:17 PM
whel then how can I move this post over there?
vBulletin® v3.7.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.