This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > VRML > January 2004 > draw a plan
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hello, is it possible to draw a plan of which i got the parametric equation,
for instance : 2x+y-5z+2 = 0?
Thanks
M.
| |
| Herbert Stocker 2004-01-01, 10:28 pm |
|
Riri wrote:quote:
> Hello, is it possible to draw a plan of which i got the parametric equation,
> for instance : 2x+y-5z+2 = 0?
Have a look at http://hersto.de/VRML_Apps/GraphPlo...raphPlotter.wrl
It's a graph plotter where you can enter an equation of the
form
z = f(x, y)
and it draws the equation afterwards. Then you can use the
EXAMINE mode for rotating the graph, or the WALK mode for
walking on it.
It allows you to type the equation directly into the VRML
File, there is no HTML form or Java applet.
Since it uses some extensions over VRML (Text input) it
requires Contact (www.bitmanagement.de) to be your default
VRML player.
And since there is a silly spec rule i didn't provide a
workaround for yet*) it works only if all files are already
in the cache. Therefore open the URL again, once loaded.
Herbert
*) how to (easily) initialize an ExternProto if a browser
may dispose events when it is not yet loaded??
quote:
> Thanks
> M.
>
>
--
Herbert Stocker (aka hersto)
http://www.hersto.de
www.bitmanagement.de
| |
| Joerg Scheurich aka MUFTI 2004-01-02, 9:28 am |
| > Since it uses some extensions over VRML (Text input) itquote:
> requires Contact (www.bitmanagement.de) to be your default
> VRML player.
quote:
> Have a look at http://hersto.de/VRML_Apps/GraphPlo...raphPlotter.wrl
> It's a graph plotter where you can enter an equation of the
> form
> z = f(x, y)
> and it draws the equation afterwards.
quote:
> It allows you to type the equation directly into the VRML
> File, there is no HTML form or Java applet.
Is there a URL of a EXTERNPROTO like
PROTO graphplotter
[
field SFSTring zEquation ""
]
"????"
for usage like
graphplotter { zEquation "z = sin(x, y)" }
for the people without the blaxxun browser ?
quote:
> *) how to (easily) initialize an ExternProto if a browser
> may dispose events when it is not yet loaded??
Anything other than using initialize() in a Script ?
DEF Script1 Script
{
url "java script:
function initialize()
{
}"
}
so long
MUFTI
--
Wenn Sie das Bearbeiten des Bildes beenden, koennen Sie die
Ballabwehrfuehrung benutzen.
(aus einem Softwarehandbuch, Sinn "Ballabwehrfuehrung" unklar (Trackball ?))
| |
|
| Thanks for those details, i'm a newbie in vrml, and i don't quite understand
what to do with the GrapPlotter.vrml below??
Thanks
S
#VRML V2.0 utf8
EXTERNPROTO DlgTerm
[
eventIn SFBool show
eventOut SFBool isShown
eventOut SFNode DataEntered
]
"protos/DlgTerm.wrl#DlgTerm"
EXTERNPROTO Plotter
[
eventIn SFNode SetGraph
]
"Plotter.wrl#Plotter"
Background
{
skyColor .192 .341 .56
}
NavigationInfo
{
type [ "EXAMINE" "ANY" ]
avatarSize [0.75, 4.8, 100]
}
Viewpoint
{
position 172.7 55.5 236.1
orientation -0.233 0.969 0.080 0.635
fieldOfView 0.785
description "b"
}
Viewpoint
{
position -68 -19.2 278.2
orientation 0.253 -0.956 0.150 0.283
fieldOfView 0.785
description "view 2"
}
DEF Plotter Plotter
{
}
DEF Dlg DlgTerm
{
}
ROUTE Dlg.DataEntered TO Plotter.SetGraph
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|