LouiZeForum

3D vrml
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  3Dchats / forums3Dchats / forums  

Share | 
 

 All what know about ...

View previous topic View next topic Go down 
Go to page : Previous  1, 2, 3, 4 ... 11, 12, 13  Next
AuthorMessage
isa
+2000
+2000


Number of posts : 7075
Localisation : INDRE ET LOIRE
Registration date : 2005-04-19

PostSubject: Re: All what know about ...   Thu 17 Apr - 22:13

lol tutan nice to see you Smile

_________________
http://mixed3d.free.fr/spip/?feed=rss2
Back to top Go down
View user profile http://isaworld.free.fr/site/
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: micro CHAT   Fri 18 Apr - 13:16

P H P micro server:

= micro CHAT =


This splendide application is from this excelent forum : http://www.phptoys.com/

ThankYou phptoys !

Quote :
Micro Chat is a simple PHP based chat script with very easy installation. The script is designed for smaller traffic and so no database is required. You only need to upload the files and the script works fine. The look and feel is easy editable via CSS.
---------------------
folder:microChat
index.php
message.php
msg.html
folder:microChat/style
style.css
icon.gif
---------------------
I am novice in programming, and i sugest this renamings :
message.php => memory_writer.php
msg.html => memory.html
style.css => main-file_seting.css
---------------------
index.php is the main-file ...

Again, ThankYou phptoys !

And now, Mister PETER, please give us Your P H P files from Your server !

Camon BOSS, please ! Sad Sad Sad Sad Sad

Thankx

tutancamon
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sat 3 May - 15:31

Now, I test
JRE/1.5.0_15-b04
Apache Tomcat/6.0.16
Then will test 'VR SPACES', yes this vrml server request there twoo application ...

'VR SPACES' is an free ware ...

farao
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
Omind
+100
+100


Number of posts : 111
Registration date : 2005-11-07

PostSubject: :-)   Sun 4 May - 9:23

You will need the MS JAva runtime for VR Spaces, I think
Back to top Go down
View user profile http://www.spafon.com/Welcome
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 15:17

Don't forget to tell us when your server is online, Tutancamon ...

For beta-testing ..... rambo banzai !!!!!!!!!!!!!

Peter pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22815
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: All what know about ...   Sun 4 May - 15:23

oupsssssss !!!

yes ! soryy , very sorry , I forgot saturday Sad
I was busy Sad plus alzeithmer Sad

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 15:52

Confused No worries, Alain.

I have been trying the url yesterday, with no success (the times I did try).

Tutan must be struggeling with Java ...

I'm not a fan of Java. Hopefully Tutan is.

Have a nice SUnday evening, LouiZers.

pig
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sun 4 May - 16:46

peter le cochon wrote:
[...]
Tutan must be struggeling with Java ...

I'm not a fan of Java. Hopefully Tutan is.
[...]
At me, that server not work. I'll try in another day, month or Year Laughing Laughing Laughing
Please, read my topic from there : http://www.vrspace.org:8080/forum/viewtopic.jbb?t=10#118

Anyway, now I have 'Tomcat', the ultimate JRE for my XP, and also MSJVM is instalated on my computer ... Laughing Laughing Laughing

Me too I dislike JAVA, because he slowdown my computer. I'll refresh my system ...

Boss, that server has many enteresting files.

And, now, see at this old set of files:

Class: VRML

http://phpclasses.2by2host.com/browse/file/2507.html

classes.php
Code:
<?php

// +----------------------------------------------------------------------+
// | Author: Charly Pache <3d@pache.ch>                                  |
// +----------------------------------------------------------------------+

$NL = "\n";
class Vrml
{
   var $world_info;
   var $nodes;
   var $file_name;
      
   function Vrml($p_title="Title",$p_info=array("Info"),$p_file_name="test.wrl")
   {
      $this->world_info = new WorldInfo($p_title,$p_info);
      $this->nodes = array();
      $this->addNode($this->world_info);
      $this->file_name = $p_file_name;
   }
   /**
    * On peut envoyer un noeud ou un tableau de noeuds
    * en paramètre    
    *
    **/
   
   function addNode($p_node)
   {
      if(is_array($p_node))
      {
         foreach($p_node as $node)
            array_push($this->nodes,$node);
      }
      else
      {
         array_push($this->nodes,$p_node);
      }
   }
   function generate()
   {
      $page = "#VRML V2.0 utf8";
      foreach($this->nodes as $node)
      {
         $page .= $node->getNode();
      }
      $fp = fopen ("./".$this->file_name, "w");
      fwrite($fp,$page);
      fclose($fp);
   }
   
}
class Node
{
   var $attributes = array();
   var $node_name = "";
   var $sub_nodes = array();
   
   function Node()
   {
      $this->sub_nodes = array();
   }
   function addNode($p_node)
   {
      array_push($this->sub_nodes,$p_node);
   }
   function getNode()
   {
      GLOBAL $NL;
      $page = $NL.$this->node_name."{";
      foreach ($this->attributes as $name => $value)
      {
         if(is_array($value))
         {
            $page .= $NL.$name." [";
            foreach ($value as $single_value)
            {
               if(is_object($single_value))
               {
                  $page.= $NL." ".$single_value->getNode();
               }
               else
               {
                  $page .= $NL."".$single_value;
               }
               
            }
            $page .= $NL."]";         
         }
         else if(is_object($value))
         {
            $page.= $NL.$name." ".$value->getNode();
         }
         else
         {
            $page .= $NL.$name." ".$value;
         }      
      }
      $page .= $NL."}";
      return $page;
   }
}
class WorldInfo extends Node
{
   function WorldInfo($p_title="",$p_info=array())
   {
      $this->attributes = array("title"=>$p_title,"info"=>$p_info);
      $this->node_name = "WorldInfo";
   }   
}
class Shape extends Node
{
   function Shape($p_appearance="NULL",$p_geometry="NULL")
   {
      $this->attributes = array("appearance"=>$p_appearance,"geometry"=>$p_geometry);
      $this->node_name = "Shape";
   }

}
class Box extends Node
{
   function Box($p_size="")
   {
      $this->attributes = array("size"=>$p_size);
      $this->node_name = "Box";
   }
}
class Sphere extends Node
{
   function Sphere($p_radius="1")
   {
      $this->attributes = array("radius"=>$p_radius);
      $this->node_name = "Sphere";
   }
}
class Cylinder extends Node
{
   function Cylinder($p_radius="1.0",$p_height="2.0",$p_side="TRUE",$p_bottom="TRUE",$p_top="TRUE")
   {
      $this->attributes = array("radius"=>$p_radius,"height"=>$p_height,"side"=>$p_side,"bottom"=>$p_bottom,"top"=>$p_top);
      $this->node_name = "Cylinder";
   }

}
class Script extends Node
{
   /*
      Script {
      url          []
      directOutput  FALSE
      mustEvaluate  FALSE
      # And any number of:
      eventIn      eventType eventName
      field        fieldType fieldName initialValue
      eventOut    eventType eventName
      }
   */
}
class Appearance extends Node
{
   function Appearance($p_material="NULL",$p_texture="NULL",$p_textureTransform="NULL")
   {
      $this->attributes = array("material"=>$p_material,"texture"=>$p_texture,"textureTransform"=>$p_textureTransform);
      $this->node_name = "Appearance";
   }


class Material extends Node
{
   
   function Material($p_diffuseColor="0.8 0.8 0.8",$p_ambientIntensity="0.2",$p_emissiveColor="0.0 0.0 0.0",$p_specularColor="0.0 0.0 0.0",$p_shininess="0.2",$p_transparency="0.0")
   {
      $this->attributes = array("diffuseColor"=>$p_diffuseColor,"ambientIntensity"=>$p_ambientIntensity,"emissiveColor"=>$p_emissiveColor,"specularColor"=>$p_specularColor,"shininess"=>$p_shininess,"transparency"=>$p_transparency);
      $this->node_name = "Material";
   }
   function setTransparency($p_transparency)
   {
      $this->attributes["transparency"] = $p_transparency;
      
   }
}

class Transform extends Node
{
   // transgression : on a mis l'attribut children au début :
   function Transform($p_children="NULL",$p_scale="1 1 1",$p_scaleOrientation="0 0 1 0",$p_center="0 0 0",$p_rotation="0 0 1 0",$p_translation="4 0 0",$p_bboxCenter="0 0 0",$p_bboxSize="-1 -1 -1")
   {
      $this->attributes = array("scale"=>$p_scale,"scaleOrientation"=>$p_scaleOrientation,"center"=>$p_center,"rotation"=>$p_rotation,"translation"=>$p_translation,"bboxCenter"=>$p_bboxCenter,"bboxSize"=>$p_bboxSize,"children"=>$p_children);
      $this->node_name= "Transform";
   }
   function setTranslation($p_translation)
   {
      $this->attributes["translation"] = $p_translation;
   }
   
}

?>
main.php
Code:
<?php

// +----------------------------------------------------------------------+
// | Author: Charly Pache <3d@pache.ch>                                  |
// +----------------------------------------------------------------------+

require_once("classes.php");
$v = new Vrml("\"Titre\"",array("\"Infos 1\"","\"Infos 2\""));

$b1 = new Box("3 5 2");
$v->addNode($b1);

$m1 = new Material("0.3 0.5 0.8","0.2","0.0 0.0 0.0 ","0.0 0.0 0.0 ","0.2","0");
$a1 = new Appearance($m1);
$s1 = new Shape($a1,$b1);
$v->addNode($s1);

// test avec un transform :

$m2 = new Material("0.7 0.2 0.2","0.2","0.0 0.0 0.0 ","0.0 0.0 0.0 ","0.2","0.4");
$a2 = new Appearance($m2);
$b2 = new Box("4 4 4");
$s2 = new Shape($a2,$b2);

$sph1 = new Sphere("3");
$s3 = new Shape($a2,$sph1);

$m2->setTransparency("0");
$a3 = new Appearance($m2);
$cyl1 = new Cylinder("0.1","7");
$s4 = new Shape($a3,$cyl1);

$t1 = new Transform(array($s2,$s3));
$t1->setTranslation("-6 0 0");

$t2 = new Transform(array($s1));
$t2->setTranslation("6 0 0");

$t3 = new Transform(array($s4));
$t3->setTranslation("6 -3 0");

$v->addNode(array($t1,$t2,$t3));

$v->generate();

// links :

$page .= "<a name=top>
 Test PHP VRML generator :
 <br> <br>
 <a href=view.php target=_blank>Look at the result</a>
 <br> <br>
 <a href=#sourcemain>Look at the source code of the implementation</a>
  <br> <br>
  <a href=#sourceclasses>Look at the source code of the classes</a>
  <br> <br>
  <a href=#vrmlcode>Look at the generated vrml source code</a>
  <br> <br>
 Useful links :
 <br>
 <a href=http://www.lighthouse3d.com/vrml/tutorial target=_blank>tutorial</a>
 <br>
 <a href=http://www.vrml.org/technicalinfo/specifications/vrml97/part1/nodesRef.html#Material target=_blank>vrml97 reference</a> 
 <br>
 <a href=vrml97.hlp>reference vrml97 [.hlp]</a>
  <br>
 <a href=http://web3d.vapourtech.com/ target=_blank>tutorial cool</a>
 <br> <br>
";
$page .= "<a name=sourcemain><br><a href=#top>top</a><br>Source code of the implementation :<br>";
// source main :
ob_start();
   show_source( "main.php" );
   $part = ob_get_contents();
   ob_end_clean();
   $page .= ereg_replace( "<br />" ,
"</li><li>" , $part );

$page .= "<a name=sourceclasses><br><a href=#top>top</a><br>Source code of the classes :<br>";
// source classes :
ob_start();
   show_source( "classes.php" );
   $part = ob_get_contents();
   ob_end_clean();
   $page .= ereg_replace( "<br />" ,
"</li><li>" , $part );

$page .= "<a name=vrmlcode><br><a href=#top>top</a><br>Generated vrml source code : <br>";
// source vrml :
ob_start();
   show_source( "test.wrl" );
   $part = ob_get_contents();
   ob_end_clean();
   $page .= ereg_replace( "<br />" ,
"</li><li>" , $part );

echo $page;
?>
view.php
Code:
<?php

// +----------------------------------------------------------------------+
// | Author: Charly Pache <3d@pache.ch>                                  |
// +----------------------------------------------------------------------+

$page .= "<EMBED SRC=test.wrl align=center height=100% width=100% hspace=0 vspace=0 border=1></EMBED>";
$page .= "If needed, download the necessary plug-in here : <a href=http://www.karmanaut.com/cosmo/player/ target=_blank>http://www.karmanaut.com/cosmo/player/</a>";
echo $page;
?>
test.wrl
Code:
#VRML V2.0 utf8
WorldInfo{
title "Titre"
info [
"Infos 1"
"Infos 2"
]
}
Box{
size 3 5 2
}
Shape{
appearance
Appearance{
material
Material{
diffuseColor 0.3 0.5 0.8
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0
specularColor 0.0 0.0 0.0
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry
Box{
size 3 5 2
}
}
Transform{
scale 1 1 1
scaleOrientation 0 0 1 0
center 0 0 0
rotation 0 0 1 0
translation -6 0 0
bboxCenter 0 0 0
bboxSize -1 -1 -1
children [
 
Shape{
appearance
Appearance{
material
Material{
diffuseColor 0.7 0.2 0.2
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0
specularColor 0.0 0.0 0.0
shininess 0.2
transparency 0.4
}
texture NULL
textureTransform NULL
}
geometry
Box{
size 4 4 4
}
}
 
Shape{
appearance
Appearance{
material
Material{
diffuseColor 0.7 0.2 0.2
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0
specularColor 0.0 0.0 0.0
shininess 0.2
transparency 0.4
}
texture NULL
textureTransform NULL
}
geometry
Sphere{
radius 3
}
}
]
}
Transform{
scale 1 1 1
scaleOrientation 0 0 1 0
center 0 0 0
rotation 0 0 1 0
translation 6 0 0
bboxCenter 0 0 0
bboxSize -1 -1 -1
children [
 
Shape{
appearance
Appearance{
material
Material{
diffuseColor 0.3 0.5 0.8
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0
specularColor 0.0 0.0 0.0
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry
Box{
size 3 5 2
}
}
]
}
Transform{
scale 1 1 1
scaleOrientation 0 0 1 0
center 0 0 0
rotation 0 0 1 0
translation 6 -3 0
bboxCenter 0 0 0
bboxSize -1 -1 -1
children [
 
Shape{
appearance
Appearance{
material
Material{
diffuseColor 0.7 0.2 0.2
ambientIntensity 0.2
emissiveColor 0.0 0.0 0.0
specularColor 0.0 0.0 0.0
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry
Cylinder{
radius 0.1
height 7
side TRUE
bottom TRUE
top TRUE
}
}
]
}
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 17:21

Very Happy Whoaw! Yes, Tutancamon!

Generating (returning) VRML from within PHP (or any other capable server-script) is one of the most powerfull things w3d (consortium) COULD have ever imagined...

In the WWW there are quite a few examples of "server-calculations" returned as VRML code, most often an attempt to display the output of complex functions in 3D...

It has proven to work, and it get's even more interesting when you use it for inlining vrml nodes into a world during runtime (via Inline or createVrmlFromURL(), etc ...).

As pointed out in another post, Fabricator, Hermetic-Cab (and others?) did figure out a 3D chat system based on the so called cgi2vrml script.

They explain it's basics for PHP and Perl at www.cyworx.com.

Fab has been running a 3D MU system based on this approach. His goal has been to keep the whole system as web-browser and vrml-viewer independent as possible, so the client is written in VRML Exclamation

IMHO if someone starts developing a new 'server script based' vrml multiuser, he should go the cgi2vrml way.

It's not a dead end, because - if needed - the server response to VRML can allways be sent outside the viewer by Browser.loadUrl() whenever the vrml-viewer is embedded into a html document.

Hey, you're the master-explorer. thumright

Peter pig
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sun 4 May - 19:23

peter le cochon wrote:
Don't forget to tell us when your server is online, Tutancamon ...

For beta-testing ..... rambo banzai !!!!!!!!!!!!!

Peter pig
I am on air !


Camon here :
http://tutancamon.myftp.org/Main-Jane.wrl

But not work thro internet ! Something is strange !!!
Sorry, I forget to make tests ... with internet connections. From my computer work very well !
BS_Collaborate.port = 12359
BS_Collaborate.dsn = tutancamon.myftp.org => but the server still use '0.0.0.0' Sad
-------
DEF Conn NetConnection
{
address "tutancamon.myftp.org"
port 12359
protocol 3 # 3 selects the BS Collaborate protocoll.
}
-------
BSColaborateServer.PROPERTIES
Code:
# This is a sample configuration file for BS CollaborateServer

# Your prefered or licensed port number.
# Default port number is 12345
BS_Collaborate.port = 12359

#Scris de mine
BS_Collaborate.dsn = tutancamon.myftp.org
#storage.params.dsn= "localhost"

# The storage system for event storing.
# For more information please see the documentation.
# http://www.bitmanagement.com/download/BS_Collaborate/BS_Collaborate_documentation.pdf
BS_Collaborate.storage.name= File

# Directory Path to the location where events will be stored as file
storage.params.path= C:/BS Collaborate/Store
Main-Jane.wrl
Code:
#VRML V2.0 utf8



DEF Conn NetConnection
{
    address  "tutancamon.myftp.org"
    port    12359
    protocol 3      # 3 selects the BS Collaborate protocoll.
}

.
.
.
.
.
.
.
.
.




Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
alain
fondateur
fondateur


Number of posts : 22815
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: All what know about ...   Sun 4 May - 19:48

where to enter ??

_________________
http://mixed3d.net/
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sun 4 May - 20:02

alain wrote:
where to enter ??

http://tutancamon.myftp.org/Main-Jane.wrl

Must to have BS Contact 7.1 .
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
alain
fondateur
fondateur


Number of posts : 22815
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: All what know about ...   Sun 4 May - 21:12

ok downloading now on my xp

_________________
http://mixed3d.net/
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22815
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: All what know about ...   Sun 4 May - 21:14

hum it seems to stop at 39 percent

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 21:41

Shocked No way, farao

Are you sure that you must link to an wrl file?

May be we must open fr5om within BS Contact ... and not using the web-browser?

I'll keep on trying.

pig
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sun 4 May - 22:03

peter le cochon wrote:
Shocked No way, farao

Are you sure that you must link to an wrl file?

May be we must open fr5om within BS Contact ... and not using the web-browser?

I'll keep on trying.

pig

Yes, use that Main-Jane.wrl file.

I wait ! ... I am onair all time ...

Apache RUN
BS Collaborate server RUN.

I have an user from internet : I have his IP ! The server work ! Very Happy Very Happy Very Happy

...
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 22:06

Shocked Embarassed ... I did try to load the wrl directly from within BS Contact and ended up with 23 Instances of MSIE (file downloads) and 69 Task-Managers ... (may be I was in panic affraid but I don't open 69 instances of it).

... playing with fire?

pig
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sun 4 May - 22:21

Open http://tutancamon.myftp.org
then go to Main-Jane.wrl

farao
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 22:26

rambo we are the beta-testers ... rambo

That's what I've got :



But no Tutancamon to chat with.

I'll continue trying ... arghhhhh .... rambo

pig
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 22:37

Sad 3 tryals now ... the wrl comes, your Apache works, but...

BS Collaborate does not collaborate.

Or may be some settings ... read all the readme.txt files study

Good luck, you're a hero.

pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 22815
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: All what know about ...   Sun 4 May - 22:52

wow lol I have the same on my XP !!!

ahahaha good luck tutanc !!! you will win the Olympics Games !

Very Happy

Very Happy

_________________
http://mixed3d.net/
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Sun 4 May - 23:02

Well, then I will stoped all servers, reenable the system firewall and restart ZoneAlarm ...
Also, tomorow I'll refresh my operating sistem.
I am sure, I have some 'guests' in my computer. And also, that damned MSJVM ...

Thankx, but is not a big deal !!! Laughing Laughing Laughing


alien
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: All what know about ...   Sun 4 May - 23:12

tutancamon wrote:
Well, then I will stoped all servers

Intermezzo Question



At least you did try... never stop searching.

You are the MASTER of VRML-CHAT-SERVER investigators.

cheers

Best wishes,

Peter pig
Back to top Go down
View user profile
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Mon 5 May - 12:27

System and method for providing dynamic three-dimensional multi-user virtual spaces in synchrony with hypertext browsing

Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
tutancamon
+200
+200


Number of posts : 685
Age : 54
Localisation : Europa / România / Bucuresti
Registration date : 2007-09-07

PostSubject: Re: All what know about ...   Mon 5 May - 18:52

peter le cochon wrote:
Very Happy Whoaw! Yes, Tutancamon!

Generating (returning) VRML from within PHP (or any other capable server-script) is one of the most powerfull things w3d (consortium) COULD have ever imagined...

In the WWW there are quite a few examples of "server-calculations" returned as VRML code, most often an attempt to display the output of complex functions in 3D...

It has proven to work, and it get's even more interesting when you use it for inlining vrml nodes into a world during runtime (via Inline or createVrmlFromURL(), etc ...).

As pointed out in another post, Fabricator, Hermetic-Cab (and others?) did figure out a 3D chat system based on the so called cgi2vrml script.

They explain it's basics for PHP and Perl at www.cyworx.com.

Fab has been running a 3D MU system based on this approach. His goal has been to keep the whole system as web-browser and vrml-viewer independent as possible, so the client is written in VRML Exclamation

IMHO if someone starts developing a new 'server script based' vrml multiuser, he should go the cgi2vrml way.

It's not a dead end, because - if needed - the server response to VRML can allways be sent outside the viewer by Browser.loadUrl() whenever the vrml-viewer is embedded into a html document.

Hey, you're the master-explorer. thumright

Peter pig
magnus wrote:
Chat html-vrml dans php

J'ai déjà vu un vrml similaire au trois fichiers, dont voici :

un fichier frame html :
Spoiler:
 
un fichier world.php :
Spoiler:
 
un fichier dialogue.html :
Spoiler:
 
Ceci n'est qu'un petit point de départ sans intêret.
Mais un trés bon début à faire évoluer.
Advanced javascript in VRML

VRML2CGI proto: directly call CGI-scripts from inside VRML!

slow load to vrml ?

The Slow Load Technique/Reverse AJAX - Simulating Server Push in a Standard Web Browser

Advanced Anchor
saved from url=(0135)http://209.85.135.104/search?q=cache:SJWHC1MNRAgJ:web3d.vapourtech.com/library/content.php%3Fid%3D28+php+vrml&hl=ro&ct=clnk&cd=30&gl=ro
Quote :


Advanced Anchor
Author: James Smith
Rating: (104 votes)
License: LGPL

How do you rate this entry? 012345

An Anchor that can react to mouse clicks, mouse over, or the user's position.


This PROTO shows how to take control of Anchors. I've created my own Anchor using a Script. The script loads the appropriate URL when it's activated. Depending on the setting of the type field, it is activated either by mouse click (like a normal Anchor), by the mouse moving over the children, or by the user entering the space defined by center and size, like a ProximitySensor.

PROTO

#VRML V2.0 utf8

PROTO AdvancedAnchor [
exposedField MFNode children []
exposedField SFVec3f center 0 0 0
exposedField SFVec3f size 0 0 0
field MFString url ""
field MFString param ""
field SFString type "" # Either "CLICK", "OVER", or "PROXIMITY"
]
{
Group {
children [
DEF TS TouchSensor {
enabled FALSE
}
DEF PS ProximitySensor {
enabled FALSE
center IS center
size IS size
}
DEF SCRIPT Script {
directOutput TRUE
mustEvaluate TRUE
eventIn SFTime click
eventIn SFBool over
eventIn SFTime enter
field MFString a_url IS url
field MFString a_param IS param
field SFString type IS type
field SFNode ps USE PS
field SFNode ts USE TS
url "javascript:
function initialize() {
if (type=='PROXIMITY') ps.enabled = true;
else ts.enabled = true;
}
function click(value,time) {
if (type=='CLICK') {
Browser.loadURL(a_url,a_param);
}
}
function over(value,time) {
if (type=='OVER' && value==true) {
Browser.loadURL(a_url,a_param);
}
}
function enter(value,time) {
if (type=='PROXIMITY') {
Browser.loadURL(a_url,a_param);
}
}
"
}
Group {
children IS children
}

]
}
ROUTE TS.isOver TO SCRIPT.over
ROUTE TS.touchTime TO SCRIPT.click
ROUTE PS.enterTime TO SCRIPT.enter
}

Example Code

If you want to use the PROTO above, copy and paste the EXTERNPROTO from the top of this example into your file.

#VRML V2.0 utf8

EXTERNPROTO AdvancedAnchor [
exposedField MFNode children
exposedField SFVec3f center
exposedField SFVec3f size
field MFString url
field MFString param
field SFString type # Either "CLICK", "OVER", or "PROXIMITY"
]

[
"AdvancedAnchor.wrl#AdvancedAnchor"
"http://web3d.vapourtech.com/library/vrml.php?mode=proto&id=28#AdvancedAnchor"
]

Viewpoint {
position 0 0 10
}

Transform {
translation -3 0 0
children [
AdvancedAnchor {
url "http://web3d.vapourtech.com/tutorials/vrml97/"
param "target=_blank"
type "CLICK"
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 1 0
}
}
geometry Box {}
}
]
}
]
}

AdvancedAnchor {
url "http://web3d.vapourtech.com/workshop"
param "target=_blank"
type "OVER"
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 0
}
}
geometry Box {}
}
]
}

Transform {
translation 3 0 0
children [
AdvancedAnchor {
url "http://web3d.vapourtech.com/library/"
param "target=_blank"
type "PROXIMITY"
center 0 0 0
size 4 4 4
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 1 0 0
transparency 0.5
}
}
geometry Box {}
}
]
}
]
}

Comments

New Comment

Posted by zapher
by 'Anonymous' at 10:55am 24th August 2002
It would be nice to have only the one pop-up open per anchor with any later mouse overs directing content into only it. Open source that has to be paid for seems a little odd?!?!?....nice one.
Reply


Reusing the same window
by 'Floppy' at 10:14am 14th July 2003
Just use the same method as with HTML to do this - give all the anchors a param argument with the same value for "target=xxx". They should open up in the same window then. Not sure what you mean by the open source comment - nothing on this site has to be paid for (possibly excluding commercial use with the GPL code).
Reply


Thanks sooo much
by 'Anonymous' at 6:26am 28th September 2005
First: thanks soo much for this example, it really helps me Very Happy.

I have an especific quiestion about this example:
Im using dreamweaver to make a web page with two frames. Bout i cant call the second frame through the vrml file. This is my code:
-------------------------
I use the example code Head to declare the stufs.
In the anchor i have this:

AdvancedAnchor {
url "http://www.google.com"
param "target=_rightFrame"
type "CLICK" ...etc..etc..
------------------------------------------
It dont work, the vrml file do the function to open a new window (and it does) bout i want to open in the right frame of the web page, not in a "new window".

I really hope u tell me about this., if theres an aswer or maybe it has to be with dreamweaver or javascript..and not with the vrml example code.

OOONNNEEE MOORE AGAIN : THANKS SOOO MUCH! MASTER! Very Happy
William --- ps. sorry about my english. Razz
Reply
Back to top Go down
View user profile http://vrmlserver.xooit.com/index.php
Sponsored content




PostSubject: Re: All what know about ...   Today at 10:02

Back to top Go down
 
All what know about ...
View previous topic View next topic Back to top 
Page 3 of 13Go to page : Previous  1, 2, 3, 4 ... 11, 12, 13  Next

Permissions in this forum:You cannot reply to topics in this forum
LouiZeForum :: ARTS :: 3D art :: Worlds (vrml)-
Jump to: